Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] WALinuxAgent is not able to copy ovf-env.xml #2864

Open
maxsolo96 opened this issue Jul 3, 2023 · 0 comments
Open

[BUG] WALinuxAgent is not able to copy ovf-env.xml #2864

maxsolo96 opened this issue Jul 3, 2023 · 0 comments
Assignees

Comments

@maxsolo96
Copy link

waagent reports the failed provision state on VM and therefore I can't backup the VM

2023-07-03T15:51:26.042378Z INFO Daemon Using waagent for provisioning
2023-07-03T15:51:26.043253Z INFO Daemon Activate resource disk
2023-07-03T15:51:26.043837Z INFO Daemon Searching gen1 prefix 00000000-0001 or gen2 f8b3781a-1e82-4818-a1c3-63d806ec15bb
2023-07-03T15:51:26.047781Z INFO Daemon Found device: sdb
2023-07-03T15:51:26.053352Z INFO Daemon Resource disk [/dev/sdb1] is already mounted [/mnt/resource]
2023-07-03T15:51:26.054244Z INFO Daemon Clean protocol and wireserver endpoint
2023-07-03T15:51:26.054958Z INFO Daemon Running default provisioning handler
2023-07-03T15:51:26.062176Z INFO Daemon Copying ovf-env.xml
2023-07-03T15:51:26.253925Z WARNING Daemon Mounting dvd failed [retry 1/5, sleeping 5 sec]
2023-07-03T15:51:31.459660Z WARNING Daemon Mounting dvd failed [retry 2/5, sleeping 5 sec]
2023-07-03T15:51:36.645169Z WARNING Daemon Mounting dvd failed [retry 3/5, sleeping 5 sec]
2023-07-03T15:51:41.827221Z WARNING Daemon Mounting dvd failed [retry 4/5, sleeping 5 sec]
2023-07-03T15:51:47.013833Z WARNING Daemon Mounting dvd failed [retry 5/5, sleeping 5 sec]
2023-07-03T15:51:52.020008Z ERROR Daemon Provisioning failed: [ProtocolError] [CopyOvfEnv] Error mounting dvd: [OSUtilError] Failed to mount dvd device
Inner error: [mount -o ro -t udf,iso9660 /dev/sr0 /mnt/cdrom] returned 32: mount: no medium found on /dev/sr0
 (1969.19s)

Distro and WALinuxAgent details (please complete the following information):

  • Distro and Version: CentOS Linux release 7.9.2009
  • Kernel Version: 6.0.8-1.el7
  • WALinuxAgent version: WALinuxAgent-2.2.46

Additional context
I am not using cloud-init, I tried to work this around by reading the following issue: #2058
But unfortunately in my case the device isn't mounted at all so the solutions didn't workout for me

@maxsolo96 maxsolo96 changed the title [BUG] Waagent is not able to copy ovf-env.xml [BUG] WALinuxAgent is not able to copy ovf-env.xml Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants