## launch instance on OpenStack $ cat /etc/cloud/build.info build_name: server serial: 20170922
$ git clone http://git.launchpad.net/~smoser/cloud-init/+git/sru-infy
$ sudo apt-get update -q && sudo apt-get install -q cloud-init cloud-init is already the newest version (0.7.9-233-ge586fe35-0ubuntu1~17.04.1).
$ dpkg-query --show cloud-init cloud-init 0.7.9-233-ge586fe35-0ubuntu1~17.04.1
$ sudo ./sru-info/bin/save-old-data orig-boot
$ bdev="/dev/vdb"; $ sudo umount $bdev || : $ sudo sed -i '/comment=cloudconfig/d' /etc/fstab $ sudo mkdir -p /mnt $ sudo mkfs.ext4 -F "$bdev" $ echo "$bdev /mnt auto defaults 0 2" | sudo tee -a /etc/fstab
LABEL=cloudimg-rootfs / ext4 defaults 0 0 LABEL=UEFI /boot/efi vfat defaults 0 0 /dev/vdb /mnt auto defaults 0 2
$ sudo ./sru-info/bin/do-reboot $ journalctl -o short-precise | grep -i ordering.cycle Oct 02 19:53:10.852617 zesty-1717477 systemd[1]: apparmor.service: Found ordering cycle on apparmor.service/start
## enable proposed to show fix $ sudo ./sru-info/bin/enable-proposed deb http://nova.clouds.archive.ubuntu.com/ubuntu/ zesty-proposed main universe ubuntu@zesty-1717477:~$
$ sudo apt-get update -q && sudo apt-get install -qy cloud-init ... Setting up cloud-init (0.7.9-233-ge586fe35-0ubuntu1~17.04.2) ...
$ sudo ./sru-info/bin/save-old-data show-bug
$ sudo ./sru-info/bin/do-reboot
$ journalctl -o short-precise | grep -i ordering.cycle || echo "no cycles" no cycles
$ grep WARN /var/log/cloud-init.log || echo "no warnings" no warnings
$ cat /etc/fstab LABEL=cloudimg-rootfs / ext4 defaults 0 0 LABEL=UEFI /boot/efi vfat defaults 0 0 /dev/vdb /mnt auto defaults 0 2
$ grep vdb /proc/mounts /dev/vdb /mnt ext4 rw,relatime,data=ordered 0 0
## launch instance on OpenStack build.info
$ cat /etc/cloud/
build_name: server
serial: 20170922
$ git clone http:// git.launchpad. net/~smoser/ cloud-init/ +git/sru- infy
$ sudo apt-get update -q && sudo apt-get install -q cloud-init 233-ge586fe35- 0ubuntu1~ 17.04.1) .
cloud-init is already the newest version (0.7.9-
$ dpkg-query --show cloud-init ge586fe35- 0ubuntu1~ 17.04.1
cloud-init 0.7.9-233-
$ sudo ./sru-info/ bin/save- old-data orig-boot
$ bdev="/dev/vdb"; cloudconfig/ d' /etc/fstab
$ sudo umount $bdev || :
$ sudo sed -i '/comment=
$ sudo mkdir -p /mnt
$ sudo mkfs.ext4 -F "$bdev"
$ echo "$bdev /mnt auto defaults 0 2" | sudo tee -a /etc/fstab
LABEL=cloudimg- rootfs / ext4 defaults 0 0
LABEL=UEFI /boot/efi vfat defaults 0 0
/dev/vdb /mnt auto defaults 0 2
$ sudo ./sru-info/ bin/do- reboot service/ start
$ journalctl -o short-precise | grep -i ordering.cycle
Oct 02 19:53:10.852617 zesty-1717477 systemd[1]: apparmor.service: Found ordering cycle on apparmor.
## enable proposed to show fix bin/enable- proposed nova.clouds. archive. ubuntu. com/ubuntu/ zesty-proposed main universe zesty-1717477: ~$
$ sudo ./sru-info/
deb http://
ubuntu@
$ sudo apt-get update -q && sudo apt-get install -qy cloud-init 233-ge586fe35- 0ubuntu1~ 17.04.2) ...
...
Setting up cloud-init (0.7.9-
$ sudo ./sru-info/ bin/save- old-data show-bug
$ sudo ./sru-info/ bin/do- reboot
$ journalctl -o short-precise | grep -i ordering.cycle || echo "no cycles"
no cycles
$ grep WARN /var/log/ cloud-init. log || echo "no warnings"
no warnings
$ cat /etc/fstab rootfs / ext4 defaults 0 0
LABEL=cloudimg-
LABEL=UEFI /boot/efi vfat defaults 0 0
/dev/vdb /mnt auto defaults 0 2
$ grep vdb /proc/mounts data=ordered 0 0
/dev/vdb /mnt ext4 rw,relatime,