-
Notifications
You must be signed in to change notification settings - Fork 191
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
[BUG] PowerState sometimes returns null
#1249
Comments
I think compute service stated in a previous issue that this is caused that service cannot determine the state at this particular time of the request. My suggestion is either check in some later time, or kind of assume that VM instance works (until next check). |
What about calling |
@shahzzzam |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @avirishuv. Issue DetailsDescribe the bug Sometimes, the What is the meaning of that? PowerState is an enum containing only following values:
Exception or Stack Trace To Reproduce Code Snippet Expected behavior Screenshots Setup (please complete the following information):
Additional context Information Checklist
|
@avirishuv Could you please look into the issue? |
hi @shahzzzam the power state of VMs can sometimes fail to be retrieved as mentioned in this issue Azure/azure-powershell#13178 |
@shahzzzam Are there any additional questions on this topic? If not, can we close the issue? |
Describe the bug
We use the
Microsoft.Azure.Management.Compute.Fluent
SDK 1.34.0. We use the library to check the PowerState of a VM inside VMSS.Sometimes, the
PowerState
property returned fromIVirtualMachineScaleSetVM
object returnsnull
.What is the meaning of that? PowerState is an enum containing only following values:
Exception or Stack Trace
Add the exception log and stack trace if available
To Reproduce
Steps to reproduce the behavior:
Code Snippet
Add the code snippet that causes the issue.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: