← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1839218] [NEW] cloud-init failed to mount provisioning ISO

 

Public bug reported:

Customer's deployment failed due to the following error:
Note that while the deployment seemed to continue OK after that, that was due to the Azure datasource checking for an existing ovf-env.xml file in the event it failed to find the ISO to mount. In this image there was a stale ovf-env.xml file on the disk and hence Cloud-init continued on.

2019-07-31 17:09:14,009 - util.py[DEBUG]: Read 2198 bytes from /proc/mounts
2019-07-31 17:09:14,009 - util.py[DEBUG]: Fetched {'debugfs': {'mountpoint': '/sys/kernel/debug', 'opts': 'rw,relatime', 'fstype': 'debugfs'}, 'udev': {'mountpoint': '/dev', 'opts': 'rw,nosuid,relatime,size=231143084k,nr_inodes=57785771,mode=755', 'fstype': 'devtmpfs'}, 'devpts': {'mountpoint': '/dev/pts', 'opts': 'rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000', 'fstype': 'devpts'}, 'tmpfs': {'mountpoint': '/sys/fs/cgroup', 'opts': 'ro,nosuid,nodev,noexec,mode=755', 'fstype': 'tmpfs'}, 'systemd-1': {'mountpoint': '/proc/sys/fs/binfmt_misc', 'opts': 'rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=31776', 'fstype': 'autofs'}, 'pstore': {'mountpoint': '/sys/fs/pstore', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'pstore'}, 'hugetlbfs': {'mountpoint': '/dev/hugepages', 'opts': 'rw,relatime,pagesize=2M', 'fstype': 'hugetlbfs'}, 'mqueue': {'mountpoint': '/dev/mqueue', 'opts': 'rw,relatime', 'fstype': 'mqueue'}, 'proc': {'mountpoint': '/proc', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'proc'}, 'sysfs': {'mountpoint': '/sys', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'sysfs'}, '/dev/sda1': {'mountpoint': '/', 'opts': 'rw,relatime,discard,data=ordered', 'fstype': 'ext4'}, 'sunrpc': {'mountpoint': '/run/rpc_pipefs', 'opts': 'rw,relatime', 'fstype': 'rpc_pipefs'}, 'fusectl': {'mountpoint': '/sys/fs/fuse/connections', 'opts': 'rw,relatime', 'fstype': 'fusectl'}, 'configfs': {'mountpoint': '/sys/kernel/config', 'opts': 'rw,relatime', 'fstype': 'configfs'}, 'cgroup': {'mountpoint': '/sys/fs/cgroup/devices', 'opts': 'rw,nosuid,nodev,noexec,relatime,devices', 'fstype': 'cgroup'}, 'securityfs': {'mountpoint': '/sys/kernel/security', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'securityfs'}} mounts from proc
2019-07-31 17:09:14,010 - util.py[DEBUG]: Running command ['mount', '-o', 'ro', '-t', 'auto', '/dev/sr0', '/run/cloud-init/tmp/tmphmsab0y2'] with allowed return codes [0] (shell=False, capture=True)
2019-07-31 17:09:16,279 - util.py[DEBUG]: Failed mount of '/dev/sr0' as 'auto': Unexpected error while running command.
Command: ['mount', '-o', 'ro', '-t', 'auto', '/dev/sr0', '/run/cloud-init/tmp/tmphmsab0y2']
Exit code: 32
Reason: -
Stdout: 
Stderr: mount: /dev/sr0 is already mounted or /run/cloud-init/tmp/tmphmsab0y2 busy

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Attachment added: "cloud-init.log"
   https://bugs.launchpad.net/bugs/1839218/+attachment/5281309/+files/cloud-init.log

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1839218

Title:
  cloud-init failed to mount provisioning ISO

Status in cloud-init:
  New

Bug description:
  Customer's deployment failed due to the following error:
  Note that while the deployment seemed to continue OK after that, that was due to the Azure datasource checking for an existing ovf-env.xml file in the event it failed to find the ISO to mount. In this image there was a stale ovf-env.xml file on the disk and hence Cloud-init continued on.

  2019-07-31 17:09:14,009 - util.py[DEBUG]: Read 2198 bytes from /proc/mounts
  2019-07-31 17:09:14,009 - util.py[DEBUG]: Fetched {'debugfs': {'mountpoint': '/sys/kernel/debug', 'opts': 'rw,relatime', 'fstype': 'debugfs'}, 'udev': {'mountpoint': '/dev', 'opts': 'rw,nosuid,relatime,size=231143084k,nr_inodes=57785771,mode=755', 'fstype': 'devtmpfs'}, 'devpts': {'mountpoint': '/dev/pts', 'opts': 'rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000', 'fstype': 'devpts'}, 'tmpfs': {'mountpoint': '/sys/fs/cgroup', 'opts': 'ro,nosuid,nodev,noexec,mode=755', 'fstype': 'tmpfs'}, 'systemd-1': {'mountpoint': '/proc/sys/fs/binfmt_misc', 'opts': 'rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=31776', 'fstype': 'autofs'}, 'pstore': {'mountpoint': '/sys/fs/pstore', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'pstore'}, 'hugetlbfs': {'mountpoint': '/dev/hugepages', 'opts': 'rw,relatime,pagesize=2M', 'fstype': 'hugetlbfs'}, 'mqueue': {'mountpoint': '/dev/mqueue', 'opts': 'rw,relatime', 'fstype': 'mqueue'}, 'proc': {'mountpoint': '/proc', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'proc'}, 'sysfs': {'mountpoint': '/sys', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'sysfs'}, '/dev/sda1': {'mountpoint': '/', 'opts': 'rw,relatime,discard,data=ordered', 'fstype': 'ext4'}, 'sunrpc': {'mountpoint': '/run/rpc_pipefs', 'opts': 'rw,relatime', 'fstype': 'rpc_pipefs'}, 'fusectl': {'mountpoint': '/sys/fs/fuse/connections', 'opts': 'rw,relatime', 'fstype': 'fusectl'}, 'configfs': {'mountpoint': '/sys/kernel/config', 'opts': 'rw,relatime', 'fstype': 'configfs'}, 'cgroup': {'mountpoint': '/sys/fs/cgroup/devices', 'opts': 'rw,nosuid,nodev,noexec,relatime,devices', 'fstype': 'cgroup'}, 'securityfs': {'mountpoint': '/sys/kernel/security', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'securityfs'}} mounts from proc
  2019-07-31 17:09:14,010 - util.py[DEBUG]: Running command ['mount', '-o', 'ro', '-t', 'auto', '/dev/sr0', '/run/cloud-init/tmp/tmphmsab0y2'] with allowed return codes [0] (shell=False, capture=True)
  2019-07-31 17:09:16,279 - util.py[DEBUG]: Failed mount of '/dev/sr0' as 'auto': Unexpected error while running command.
  Command: ['mount', '-o', 'ro', '-t', 'auto', '/dev/sr0', '/run/cloud-init/tmp/tmphmsab0y2']
  Exit code: 32
  Reason: -
  Stdout: 
  Stderr: mount: /dev/sr0 is already mounted or /run/cloud-init/tmp/tmphmsab0y2 busy

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1839218/+subscriptions


Follow ups