Linux vm Provisioning failed. But is working, but cannot create Azure Backup

David Beitler 31 Reputation points
2021-02-11T19:49:38.61+00:00

Have a CentOs vm that created from an image several months ago, along with two others. Only one of them has an issue.

in the Overview page:
--The last operation performed on this VM failed. The VM is still running. View error details

Error Details
--Provisioning state Provisioning failed.

--OS Provisioning for VM 'xxxxxc-xxv-xxg' did not finish in the allotted time. However, the VM guest agent was detected running. This suggests the guest OS has not been properly prepared to be used as a VM image (with CreateOption=FromImage). To resolve this issue, either use the VHD as is with CreateOption=Attach or prepare it properly for use as an image:

--
Everything appears to be working fine, except that we are unable to configure Azure backup for the VM.

---The resource operation completed with terminal provisioning state 'Failed'.

Since the VM is operational, we do not want to "redo" or redeploy it. Is there another way to clean this up without having to "redo" the VM.

Running Centos7, agent 2.2.53 which in the overview page states it is running. The only other difference is that the other two, correctly report the version of the OS. The problem on simply states "Linux"

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,125 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,124 questions
{count} votes

1 additional answer

Sort by: Most helpful
  1. Fábio Barcello S.R. Müller 131 Reputation points
    2021-02-12T12:13:25.52+00:00

    It's possible to have OS provisioning error but with successfully finish provisioning. This does not mean everything is right. I know you don't want to provision again but this should be the best to do, otherwise you'll always have some issues that you gonna find along the time and it'll just not get any better. Before make a CentOS image, there are some steps you should make prior to OS Image creation, pls check here how to do it.

    Hope it helps.