You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the provisioning agent starts, its first action is to capture the ovf.xml file. The specific sequence of operations:
mount the dvd
read the ovf.xml file from the dvd
write the (redacted) ovf.xml file to disk
umount the dvd
eject the dvd
This is a non-idempotent sequence of operations. If the provisioning agent crashes before completing provisioning, it gets restarted, but the attempt to mount the dvd fails because it has been ejected.
The "eject the dvd" operation should be deferred until after provisioning is complete.
Distro and WALinuxAgent details (please complete the following information):
CemtOS 7.5 and earlier
WALinuxAgent version is unknown but older than 2.2.34
Additional context
Unfortunately, the "cannot mount dvd" handler cannot just use the copy of ovf.xml written to disk by the first (failed) instance of the provisioning agent because the agent password has been redacted from the copy written to disk.
The text was updated successfully, but these errors were encountered:
jasonzio
changed the title
[BUG] "Can't mount dvd" when provisioning agent crashes and is restarted
[BUG] "WARNING mounting DVD failed" when provisioning agent crashes and is restarted
Feb 5, 2019
Describe the bug
When the provisioning agent starts, its first action is to capture the ovf.xml file. The specific sequence of operations:
This is a non-idempotent sequence of operations. If the provisioning agent crashes before completing provisioning, it gets restarted, but the attempt to mount the dvd fails because it has been ejected.
The "eject the dvd" operation should be deferred until after provisioning is complete.
Distro and WALinuxAgent details (please complete the following information):
Additional context
Unfortunately, the "cannot mount dvd" handler cannot just use the copy of ovf.xml written to disk by the first (failed) instance of the provisioning agent because the agent password has been redacted from the copy written to disk.
The text was updated successfully, but these errors were encountered: