Azure/WALinuxAgent

Provisioning failed: [ProtocolError] [CopyOvfEnv] Error mounting dvd: [OSUtilError] Failed to get dvd device from /dev

ankitbaluni123 opened this issue · 6 comments

ERROR Daemon Event: name=WALinuxAgent, op=Provision, message=Provisioning failed: [ProtocolError] [CopyOvfEnv] Error mounting dvd: [OSUtilError] Failed to get dvd device from /dev
Inner error: The following devices were found, but none matched the pattern [(sr[0-9]|hd[c-z]|cdrom[0-9]|cd[0-9])]: ['loop13', 'vcsa5', 'vcsu5', 'vcs5', 'vcsa4', 'vcsu4', 'vcs4', 'vcsa3', 'vcsu3', 'vcs3', 'vcsa2', 'vcsu2', 'vcs2', 'vcsa6', 'vcsu6', 'vcs6', 'sdc1', 'loop12', 'loop10', 'loop11', 'loop9', 'loop8', 'zfs', 'snd', 'vhost-vsock', 'vhost-net', 'nvram', 'btrfs-control', 'cuse', 'dm-0', 'disk', 'ptp_hyperv', 'block', 'rtc', 'char', 'mqueue', 'hugepages', 'log', 'initctl', 'stderr', 'stdout', 'stdin', 'fd', 'core', 'pts', 'shm', 'autofs', 'cpu_dma_latency', 'mcelog', 'sdb2', 'sdb1', 'sdc', 'ptp0', 'sg2', 'sdb', 'sg1', 'mapper', 'sda', 'rtc0', 'bsg', 'sg0', 'uinput', 'psaux', 'input', 'vfio', 'ppp', 'net', 'udmabuf', 'dma_heap', 'loop7', 'loop6', 'loop5', 'loop4', 'loop3', 'loop2', 'loop1', 'loop0', 'loop-control', 'tpmrm0', 'tpm0', 'hwrng', 'hpet', 'ttyprintk', 'ttyS31', 'ttyS30', 'ttyS29', 'ttyS28', 'ttyS27', 'ttyS26', 'ttyS25', 'ttyS24', 'ttyS23', 'ttyS22', 'ttyS21', 'ttyS20', 'ttyS19', 'ttyS18', 'ttyS17', 'ttyS16', 'ttyS15', 'ttyS14', 'ttyS13', 'ttyS12', 'ttyS11', 'ttyS10', 'ttyS9', 'ttyS8', 'ttyS7', 'ttyS6', 'ttyS5', 'ttyS4', 'ttyS3', 'ttyS2', 'ttyS1', 'ttyS0', 'ptmx', 'fuse', 'ecryptfs', 'snapshot', 'tty63', 'tty62', 'tty61', 'tty60', 'tty59', 'tty58', 'tty57', 'tty56', 'tty55', 'tty54', 'tty53', 'tty52', 'tty51', 'tty50', 'tty49', 'tty48', 'tty47', 'tty46', 'tty45', 'tty44', 'tty43', 'tty42', 'tty41', 'tty40', 'tty39', 'tty38', 'tty37', 'tty36', 'tty35', 'tty34', 'tty33', 'tty32', 'tty31', 'tty30', 'tty29', 'tty28', 'tty27', 'tty26', 'tty25', 'tty24', 'tty23', 'tty22', 'tty21', 'tty20', 'tty19', 'tty18', 'tty17', 'tty16', 'tty15', 'tty14', 'tty13', 'tty12', 'tty11', 'tty10', 'tty9', 'tty8', 'tty7', 'tty6', 'tty5', 'tty4', 'tty3', 'tty2', 'tty1', 'vcsa1', 'vcsu1', 'vcs1', 'vcsa', 'vcsu', 'vcs', 'tty0', 'console', 'tty', 'kmsg', 'urandom', 'random', 'full', 'zero', 'port', 'null', 'mem', 'rfkill', 'vga_arbiter']

Getting the following error.

Kernel Used: 5.15.0-1038-azure

@ankitbaluni123 can you provide agent details? what version and distro it's running on?

@nagworld9
Agent version: 2.9.1.1
Distro: Ubuntu 22.04

@anhvoms - could you take a look? thanks

@anhvoms Do we have any updates regarding this issue, any update regarding the cause will be apreciated.

Ubuntu 22.04 is expected to use cloud-init to provision, not walinuxagent. Please deploy a VM using Azure marketplace Ubuntu 22.04 image and reference the /etc/waagent.conf as well as /etc/cloud/*
You can also refer to this documentation for more details.
https://learn.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-ubuntu

Should we expect similar error in Ubuntu 20.04 ?