[Bug 1427999] Re: cloud images don't boot with systemd
Martin Pitt
martin.pitt at ubuntu.com
Wed Mar 4 12:17:06 UTC 2015
Reproducer:
wget http://cloud-images.ubuntu.com/vivid/current/vivid-server-cloudimg-amd64-disk1.img
echo -e 'instance-id: nocloud\nlocal-hostname: test1\n' > meta-data
cat <<EOF > user-data
#cloud-config
password: ubuntu
ssh_pwauth: True
runcmd:
- (while [ ! -e /var/lib/cloud/instance/boot-finished ]; do sleep 1; done;
apt-get -y purge cloud-init; shutdown -P now) &
EOF
genisoimage -output seed.iso -volid cidata -joliet -rock user-data meta-data
kvm -serial stdio -snapshot -drive file=vivid-server-cloudimg-amd64-disk1.img,if=virtio -drive file=seed.iso,if=virtio,readonly
This uses -snapshot so that you can mess around with the downloaded
image several times without changing it.
This hangs with today's 20150304 image, but works fine on 20150303's.
Apparently it's stuck on purging cloud-init, which worked until
yesterday. (We do that in CI so that you can boot the resulting images
without the seed.iso, and also to minimize the installed packages so
that we can actually run tests of cloud-init and similar themselves).
** Changed in: cloud-init (Ubuntu)
Importance: Critical => Medium
** Summary changed:
- cloud images don't boot with systemd
+ cloud-init does not purge with systemd
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1427999
Title:
cloud-init does not purge with systemd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427999/+subscriptions
More information about the Ubuntu-server-bugs
mailing list