VM availability status "Unavailable: Customer Initiated".

PDA 50 Reputation points
2023-08-25T19:03:02.2766667+00:00

I have Linux VM running on Azure and is displaying the unavailability status 24 hours after restart. Kindly help.

User's image

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,110 questions
{count} votes

4 answers

Sort by: Most helpful
  1. kobulloc-MSFT 26,366 Reputation points Microsoft Employee
    2023-08-31T16:17:45.5+00:00

    Hello, @PDA !

    Edit: We have an update reported by @MBannon:

    I opened a case with Support and the response back was it is a bug in canonical 6.2 kernel which impacts the Platform ID field passed to Hyper-V during VM startup. This field is used by the host to determine VM health status. The Canonical team is working on a fix and is expected to be available in the coming weeks.

    Thank you for reporting this. We are currently collecting information and working with the Virtual Machine product group to determine the cause of this issue. I'm starting this answer to track information that is starting to get lost in the comments.

    Why is my VM status showing Unavailable (Customer Initiated)?

    There have been multiple reports of this behavior and we are gathering more information as we track and resolve the issue. Here is what has been reported:

    • 11/1 - As reported by @MBannon: "...it is a bug in canonical 6.2 kernel which impacts the Platform ID field passed to Hyper-V during VM startup. This field is used by the host to determine VM health status. The Canonical team is working on a fix and is expected to be available in the coming weeks."
    • 10/16 - We have had a few people reach out to us and an internal team is investigating the affected resources. Please continue to email us as described in the 9/14 update below if you run into this.
    • 9/14 - The most recent update from the virtual machine team is that this will require additional investigation based on your subscription and resources. Please email the following to AzCommunity@microsoft.com and we'll get back to you promptly:
      • Subject: "Attn: kobulloc - VM status Unavailable (Customer Initiated)"
        • Email body: Your Subscription ID
          • Email body: A link to this thread so we can validate and expedite the request
    • 9/6 - (Update: We are still receiving reports of this behavior. Thank you for your reports!)
      An initial investigation suggests that this was related to a small outage as there have not been additional reports. If you are still encountering this issue, please Start/Stop the VM and let us know in the comments if it persists.
    • 8/31 - The Virtual Machine is actively working on this issue.
    • A VM restart (of the OS) has been reported to resolve the issue (@Ketan Siddhapura) however Stop/Start has been reported as not resolving the issue (@PDA)
    • Ubuntu (22.04) and Windows Server (2019/2012) have been reported as affected
    • In many reports, the VM still functions as expected
    • This may be caused by an OS reboot or an automatic update (@Valerio Maglietta - Eusoft) or a stop command on the console (@celsmk).
    1 person found this answer helpful.

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. JR 0 Reputation points
    2023-10-17T06:52:20.2+00:00

    I have opened one-time "free" technical support ticket. But ticket offers only advisors. I am not able to escalate issue to MS at all! Ticket ends up with endless common and sometimes not relevant troubleshooting guides which doesn't help. I checked everything on VM's agent side and everything is OK, no errors in log, no connectivity issue, etc.

    The only thing from advisors is :Operation failure diagnostics which ends-up with confusing error:

    We have analyzed the provided details of your Virtual Machine's operational issue on Azure: caller does not have access to perform action(s): 'microsoft.compute/virtualmachines/read,microsoft.compute/virtualmachines/write,microsoft.compute/virtualmachines/redeploy/action,microsoft.compute/virtualmachines/restart/action,microsoft.compute/virtualmachines/deallocate/action' on virtual machine: '/subscriptions/xxxx--xxxx--xxxx/resourcegroups/xxx-xxx/providers/microsoft.compute/virtualmachines/xxx-xxxx'. please check the full set of required permissions at https://aka.ms/vminspectorerrorsandsolutions.

    User's image

    I don't understand. I'm owner of VM. I added Virtual Machine Contributor role bud it didn't help. Whos is real caller? My Account? Some MS account?

    Thank you for any idea.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.