[Bug 912066] [NEW] /etc/fstab contains incorrect device for swap partition when no ephemeral disk present.

Kiall Mac Innes 912066 at bugs.launchpad.net
Thu Jan 5 00:11:08 UTC 2012


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
Server Team, which is subscribed to cloud-init in 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



More information about the Ubuntu-server-bugs mailing list