question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`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:

  1. Create a VM using resource_client.deployments.begin_create_or_update
  2. Confirm via Azure portal that a VM has been launched.
  3. 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:closed
  • Created a year ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mccoypcommented, Jul 6, 2022

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.

0reactions
msftbot[bot]commented, Jul 20, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found