question

DavidBeitler-2519 avatar image
0 Votes"
DavidBeitler-2519 asked SadiqhAhmed-MSFT edited

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

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-virtual-machinesazure-backup
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the input. Odd thing is that there were three hosts created from the same image, but only one has this particular issue. But I'll go ahead and take a look at the links mentioned and see if at least I can learn a little something along the way.

0 Votes 0 ·
FabioSipoliMuller avatar image
0 Votes"
FabioSipoliMuller answered

Ok if you could mark it as answered I would be very grateful. Good luck

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FabioSipoliMuller avatar image
0 Votes"
FabioSipoliMuller answered FabioSipoliMuller commented

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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

To add to this, it means that the image was not generalized and is probably still a specialized disk. deleting and recreating it with createoption = attach will resolve this issue.

Here are instructions for doing this with a Windows VM, just make sure you specify the OS type as Linux if it is not associated with the image already.


0 Votes 0 ·

That's right. Thanks for sharing. Don't forget to accept the answer to "close the cycle". Brgds..

0 Votes 0 ·