`compute_client.virtual_machines.list()` not returning newly created VM
See original GitHub issue- Package Name: azure-mgmt-compute
- Package Version: 25.0.0
- Operating System: Ubuntu 18.04
- Python Version: 3.7
Describe the bug A clear and concise description of what the bug is.
I am seeing the exact same issue as here. Non-deterministically after launching VMs via the resource_client.deployments.begin_create_or_update()
call and seeing the newly launched VMs in the Azure portal, the compute_client.virtual_machines.list()
function returns a list that does not contain the newly launched VMs.
To Reproduce Steps to reproduce the behavior:
- Create a VM using
resource_client.deployments.begin_create_or_update
- Confirm via Azure portal that a VM has been launched.
- Call
compute_client.virtual_machines.list()
to check for the VM. You may need to run it a couple times, as this issue is non-deterministic.
Expected behavior A clear and concise description of what you expected to happen.
The newly created VM should be returned by the function call.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created a year ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Virtual Machines - Create Or Update - REST API (Azure ...
The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
Read more >Is there a way to list all VM using typescript in azure?
You can do this way, msRestAzure.loginWithAppServiceMSI() .then(credentials => { computeClient = new computeManagementClient(credentials, ...
Read more >VirtualMachine (Attach API ) - Oracle Help Center
If there are no Java virtual machines known to any provider then an empty list is returned. Returns: The list of virtual machine...
Read more >ComputeClient — oci 2.78.0 documentation
Creates a new compute capacity reservation in the specified compartment and ... Returns the list of instances on the dedicated virtual machine hosts...
Read more >Method: instances.list | Compute Engine Documentation
This field is not used in ipv6AccessConfig . A default PTR record will be created if the VM has external IPv6 range associated....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @chester-leung, thank you for opening an issue! I’ll tag the appropriate folks so we can look into this as soon as possible. I see that @Drewm3 offered help on #8985, so I’ll include them here as well.
Hi, we’re sending this friendly reminder because we haven’t heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don’t hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!