yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #68908
[Bug 1712851] Re: cloudinit can`t mount configdrive partition
*** This bug is a duplicate of bug 1707222 ***
https://bugs.launchpad.net/bugs/1707222
Hi,
I'm pretty sure this is a duplicate of bug 1707222.
A fix for that issue should land in 16.04 and 17.04 shortly via the SRU
bug 1721808.
I'm going to mark this a duplicate of 1707222. If you find out
otherwise, please explain and re-set the bug to "New".
Thanks!.
** This bug has been marked a duplicate of bug 1707222
usage of /tmp during boot is not safe due to systemd-tmpfiles-clean
--
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/1712851
Title:
cloudinit can`t mount configdrive partition
Status in cloud-init:
New
Status in ironic-python-agent:
Incomplete
Bug description:
image for Ironic builded that way:
DIB_CLOUD_INIT_DATASOURCES="Ec2, ConfigDrive, OpenStack" disk-image-create -o baremetal-$DISTRO_NAME-$DIB_RELEASE $DISTRO_NAME baremetal bootloader -p linux-image-generic-lts-xenial
config-drive partition is created by default ironic coreos images:
root@ubuntu:~# lsblk -f
NAME FSTYPE LABEL MOUNTPOINT
sda ext4 cloudimg-rootfs
└─sda1 iso9660 config-2
cloudinit.log:
2017-08-24 18:48:50,130 - util.py[DEBUG]: Running command ['mount', '-o', 'ro,sync', '/dev/sda1', '/tmp/tmpN_ixJ1'] with allowed return codes [0] (shell=False, capture=True)
2017-08-24 18:48:50,203 - util.py[DEBUG]: Recursively deleting /tmp/tmpN_ixJ1
2017-08-24 18:48:50,203 - cloud-init[DEBUG]: No local datasource found
I try command by hand:
root@ubuntu:~# mount -o ro,sync /dev/sda1 /mnt
mount: /dev/sda1 already mounted or /mnt busy
I modify command by hand:
root@ubuntu:~# mount -o loop,ro,sync /dev/sda1 /mnt ### mount successful
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1712851/+subscriptions
References