question

BlaineX1-0915 avatar image
0 Votes"
BlaineX1-0915 asked vipullag-MSFT commented

INFO Daemon Waiting for cloud-init to copy ovf-env.xml to /var/lib/waagent/ovf-env.xml [1800 retries remaining, sleeping 1s]

I uploaded VHD file to Azure and created a Linux Gen 2 Image from it. Then I created an Azure Virtual Machine from the Image and it started up just fine. I then created a new VHD file and uploaded it.

I created a new Linux Gen 2 Disk from the VHD blob. Stopped the Virtual Machine previously created and did a Swap OS disk to the new Disk and then started the Virtual Machine. The new Virtual Machine keeps trying to get access to a copy of ovf-env.xml:

Mar 22 18:02:03 localhost python3[2036]: 2021/03/22 18:02:03.965793 INFO Daemon Waiting for cloud-init to copy ovf-env.xml to /var/lib/waagent/ovf-env.xml [1800 retries remaining, sleeping 1s]
Mar 22 18:02:03 localhost python3[2036]: 2021/03/22 18:02:03.975006 WARNING Daemon cloud-init does not appear to be running

I have read in other postings about running 'waagent -deprovision' to deprovision the VHD, but that does not seem to match my issue. (Not sure how I would deprovision a VHD that has never been provisioned.)

I am missing something with the Swap OS Disk operation that causes cloud-init to wait for the ovf-env.xml, which apparently is never going to show up. Does anyone know what step(s) I failed to do?

azure-virtual-machinesazure-cloud-services
· 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.

@BlaineX1-0915

Can you please check below similar issues that can help you to troubleshoot your issue:

https://github.com/Azure/WALinuxAgent/issues/2025

https://github.com/Azure/WALinuxAgent/issues/1359

https://github.com/Azure/WALinuxAgent/issues/1933

https://social.msdn.microsoft.com/Forums/en-US/9dbc41ad-2c0f-4957-93a2-cbf4babb8731/info-waiting-for-cloudinit-to-copy-ovfenvxml-to-varlibwaagentovfenvxml

If you are not able to find any help from the above references, then you have to work with Azure support for troubleshooting the issue. If you do not have the ability to open a support case let me know so that I can help on this.

0 Votes 0 ·

0 Answers