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,283 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,000 questions
{count} votes

2 additional answers

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.


  2. Deepanshukatara-6769 10,300 Reputation points
    2024-07-05T12:51:32.28+00:00

    Hi,

    To troubleshoot resource contention on your Rocky Linux VM, we recommend using Perfinsights to collect performance data and pinpoint resource contention. Here are the steps to follow:

    1. Download and install Perfinsights on your Rocky Linux VM by following the instructions provided in this article. article 2
    2. Run Perfinsights and wait for it to collect ad hoc data on the server.
    3. Once completed, review the performance report generated by Perfinsights to identify any resource contention issues.
    4. Based on the results of Perfinsights, make adjustments to your environment such as upgrading storage or virtual machine size as necessary.

    If you need further assistance, please let me know.

    Kindly accept answer if it helps

    Thanks

    Deepanshu


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.