Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instance view status on LinuxVirtualMachine #664

Closed
vfarcic opened this issue Mar 1, 2024 · 4 comments
Closed

Instance view status on LinuxVirtualMachine #664

vfarcic opened this issue Mar 1, 2024 · 4 comments
Labels

Comments

@vfarcic
Copy link

vfarcic commented Mar 1, 2024

What problem are you facing?

LinuxVirtualMachine does not use VM status to deduce whether the machine is running or not so it does not react in case of a VM being stopped (does not start it).

How could Official Azure Provider help solve your problem?

Integrate with https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/instance-view?view=rest-compute-2023-10-02&tabs=HTTP#instanceviewstatus to monitor VM status and react if it differs from the status defined in MRs.

@vfarcic vfarcic added enhancement New feature or request needs:triage labels Mar 1, 2024
@ManuInNZ
Copy link

ManuInNZ commented Mar 3, 2024

The response will include a statuses array that contains the current status of the VM. Look for a status with "code": "PowerState/running" to confirm that the VM is running
(c) Coplilot but obvious in the link above

@loomkoom
Copy link
Contributor

loomkoom commented Apr 8, 2024

I also ran into this while testing the provider capabilities before adoption.
It would be great to see this implemented.

@turkenf turkenf removed the community label May 7, 2024
Copy link

github-actions bot commented Aug 6, 2024

This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

@github-actions github-actions bot added the stale label Aug 6, 2024
Copy link

This issue is being closed since there has been no activity for 14 days since marking it as stale. If you still need help, feel free to comment or reopen the issue!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants