This is a nova bug all right,  supplies the incorrect device name in the
ec2 metadata.

Nova supplies the following:

> 'block-device-mapping': {'ami': 'vda',
>                          'root': '/dev/vda',
>                          'swap': '/dev/vdc'},

When it should supply this:

> 'block-device-mapping': {'ami': 'vda',
>                          'root': '/dev/vda',
>                          'swap': '/dev/vdb'},

It seems to nova asks libvirt to attach the swap device at /dev/vdc, but
since libvirt+kvm simply uses the supplied device name as an ordering
hint, the device is actually attached at /dev/vdb

** Changed in: nova
       Status: Incomplete => 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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to