Public bug reported: On OpenStack using a flavor with no ephemeral storage, but with swap space, cloud-init creates an invalid /etc/fstab
Given this favor (Note: "Storage: 0GB" and "Swap: 2048MB"): > p1.small: Memory: 3072MB, VCPUS: 4, Storage: 0GB, FlavorID: 15, Swap: 2048MB, RXTX Quota: 0GB, RXTX Cap: 0MB The fstab is generated as: > # /etc/fstab: static file system information. > # <file system> <mount point> <type> > <options> <dump> <pass> > proc /proc proc > nodev,noexec,nosuid 0 0 > LABEL=cloudimg-rootfs / ext4 defaults 0 > 0 > /dev/vdc none swap sw,comment=cloudconfig 0 0 While the devices are (/dev/vdb is the swap): > # ls /dev/vd* > /dev/vda /dev/vda1 /dev/vdb ** Affects: cloud-init Importance: Undecided Status: New ** Affects: cloud-init (Ubuntu) Importance: Undecided Status: New ** Also affects: cloud-init Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/912066 Title: /etc/fstab contains incorrect device for swap partition when no ephemeral disk present. To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/912066/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs