[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova (Ubuntu Oneiric) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova (Ubuntu Oneiric) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova (Ubuntu) Milestone: None = ubuntu-11.10 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova (Ubuntu) Milestone: None = ubuntu-11.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
let's do a backport for diablo ** Changed in: nova Status: Fix Committed = In Progress ** Changed in: nova Milestone: None = 2011.3 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Branch linked: lp:~smoser/nova/milestone-block-device-mappings -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Tags added: rls-mgr-o-tracking -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
let's do a backport for diablo ** Changed in: nova Status: Fix Committed = In Progress ** Changed in: nova Milestone: None = 2011.3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Branch linked: lp:~smoser/nova/milestone-block-device-mappings -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Tags added: rls-mgr-o-tracking -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
With Isaku's branch this is fixed with no cloud-init changes, so I've marked those tasks as invalid. ** Changed in: cloud-init Status: New = Invalid ** Changed in: cloud-init (Ubuntu Oneiric) Status: Triaged = Invalid ** Branch linked: lp:~yamahata/nova/lp827598 ** Description changed: - related bug: bug 828357 + related bug: + bug 828357: request to add a label to the filesystem for ephemeral devices + bug 827598: ephemeral device does not have a filesystem $ python -c 'import boto.utils; print boto.utils.get_instance_metadata()[block-device-mapping]' {'ami': 'sda1', 'root': '/dev/sda1', 'ephemeral0': 'sda2', 'swap': 'sda3'} $ cat /proc/partitions $ cat /proc/partitions major minor #blocks name 2530 10485760 vda 253 16 83886080 vdb So there is an issue here, at very least the MD should say /dev/sda and /dev/sdb would be a better guess. Additionally, there is no third disk (as reported in 'swap') present at all. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: cloud-init 0.6.1-0ubuntu14 ProcVersionSignature: User Name 3.0.0-8.11-virtual 3.0.1 Uname: Linux 3.0.0-8-virtual i686 Architecture: i386 Date: Tue Aug 16 19:17:00 2011 Ec2AMI: ami-0011 Ec2AMIManifest: FIXME Ec2AvailabilityZone: nova Ec2InstanceType: nova.db.sqlalchemy.models.InstanceTypes object at 0x4f32090 Ec2Kernel: aki-0010 Ec2Ramdisk: unavailable PackageArchitecture: all ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: cloud-init UpgradeStatus: No upgrade log present (probably fresh install) ** Changed in: nova (Ubuntu Oneiric) Importance: Medium = High ** Tags added: server-o-rs -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
With Isaku's branch this is fixed with no cloud-init changes, so I've marked those tasks as invalid. ** Changed in: cloud-init Status: New = Invalid ** Changed in: cloud-init (Ubuntu Oneiric) Status: Triaged = Invalid ** Branch linked: lp:~yamahata/nova/lp827598 ** Description changed: - related bug: bug 828357 + related bug: + bug 828357: request to add a label to the filesystem for ephemeral devices + bug 827598: ephemeral device does not have a filesystem $ python -c 'import boto.utils; print boto.utils.get_instance_metadata()[block-device-mapping]' {'ami': 'sda1', 'root': '/dev/sda1', 'ephemeral0': 'sda2', 'swap': 'sda3'} $ cat /proc/partitions $ cat /proc/partitions major minor #blocks name 2530 10485760 vda 253 16 83886080 vdb So there is an issue here, at very least the MD should say /dev/sda and /dev/sdb would be a better guess. Additionally, there is no third disk (as reported in 'swap') present at all. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: cloud-init 0.6.1-0ubuntu14 ProcVersionSignature: User Name 3.0.0-8.11-virtual 3.0.1 Uname: Linux 3.0.0-8-virtual i686 Architecture: i386 Date: Tue Aug 16 19:17:00 2011 Ec2AMI: ami-0011 Ec2AMIManifest: FIXME Ec2AvailabilityZone: nova Ec2InstanceType: nova.db.sqlalchemy.models.InstanceTypes object at 0x4f32090 Ec2Kernel: aki-0010 Ec2Ramdisk: unavailable PackageArchitecture: all ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: cloud-init UpgradeStatus: No upgrade log present (probably fresh install) ** Changed in: nova (Ubuntu Oneiric) Importance: Medium = High ** Tags added: server-o-rs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova (Ubuntu Oneiric) Importance: Undecided = Medium ** Changed in: nova (Ubuntu Oneiric) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova (Ubuntu Oneiric) Importance: Undecided = Medium ** Changed in: nova (Ubuntu Oneiric) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Description changed: + related bug: bug 828357 + $ python -c 'import boto.utils; print boto.utils.get_instance_metadata()[block-device-mapping]' {'ami': 'sda1', 'root': '/dev/sda1', 'ephemeral0': 'sda2', 'swap': 'sda3'} $ cat /proc/partitions - $ cat /proc/partitions + $ cat /proc/partitions major minor #blocks name - 2530 10485760 vda - 253 16 83886080 vdb + 2530 10485760 vda + 253 16 83886080 vdb So there is an issue here, at very least the MD should say /dev/sda and /dev/sdb would be a better guess. Additionally, there is no third disk (as reported in 'swap') present at all. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: cloud-init 0.6.1-0ubuntu14 ProcVersionSignature: User Name 3.0.0-8.11-virtual 3.0.1 Uname: Linux 3.0.0-8-virtual i686 Architecture: i386 Date: Tue Aug 16 19:17:00 2011 Ec2AMI: ami-0011 Ec2AMIManifest: FIXME Ec2AvailabilityZone: nova Ec2InstanceType: nova.db.sqlalchemy.models.InstanceTypes object at 0x4f32090 Ec2Kernel: aki-0010 Ec2Ramdisk: unavailable PackageArchitecture: all ProcEnviron: - LANG=en_US.UTF-8 - SHELL=/bin/bash + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: cloud-init UpgradeStatus: No upgrade log present (probably fresh install) -- 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Also affects: nova (Ubuntu) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Oneiric) Importance: Medium Status: Triaged ** Also affects: nova (Ubuntu Oneiric) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Description changed: + related bug: bug 828357 + $ python -c 'import boto.utils; print boto.utils.get_instance_metadata()[block-device-mapping]' {'ami': 'sda1', 'root': '/dev/sda1', 'ephemeral0': 'sda2', 'swap': 'sda3'} $ cat /proc/partitions - $ cat /proc/partitions + $ cat /proc/partitions major minor #blocks name - 2530 10485760 vda - 253 16 83886080 vdb + 2530 10485760 vda + 253 16 83886080 vdb So there is an issue here, at very least the MD should say /dev/sda and /dev/sdb would be a better guess. Additionally, there is no third disk (as reported in 'swap') present at all. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: cloud-init 0.6.1-0ubuntu14 ProcVersionSignature: User Name 3.0.0-8.11-virtual 3.0.1 Uname: Linux 3.0.0-8-virtual i686 Architecture: i386 Date: Tue Aug 16 19:17:00 2011 Ec2AMI: ami-0011 Ec2AMIManifest: FIXME Ec2AvailabilityZone: nova Ec2InstanceType: nova.db.sqlalchemy.models.InstanceTypes object at 0x4f32090 Ec2Kernel: aki-0010 Ec2Ramdisk: unavailable PackageArchitecture: all ProcEnviron: - LANG=en_US.UTF-8 - SHELL=/bin/bash + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: cloud-init UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Also affects: nova (Ubuntu) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Oneiric) Importance: Medium Status: Triaged ** Also affects: nova (Ubuntu Oneiric) 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova Importance: Undecided = Medium -- 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: nova Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
I understand that actually mapping a device name from hypervisor to guest is actually impossible, but hopefully we can come up with a better guess. Its unfortunate that libvirt doesn't even seem to be using the dev= as a suggestion of device ordering along the virtio bus. Instead, I'm guessing it is using order present in xml. I was hoping at very least that suggesting 'vda', 'vdb', 'vdc' would render in kvm command line to addr=0x4, addr=0x5, addr=0x6 respectively. Since libvirt seems to be relying on order in the xml, is it possible to specify the correct order and also sane dev= attributes? Ie, what would happen if you had xml like: | disk type='file' | driver type='qcow2'/ | source file='/var/lib/nova/instances/instance-00e4/disk'/ | target dev='vda' bus='virtio'/ | /disk | disk type='block' | driver type='qcow2'/ | source dev='/var/lib/nova/instances/instance-00e4/disk.eph0 '/ | target dev='vdb' bus='virtio'/ | /disk | disk type='block' | driver type='raw'/ | source dev='/dev/mapper/nova--volumes-volume--0040'/ | target dev='vdc' bus='virtio'/ | /disk And then specified block device mapping like: { 'ami': 'vda', 'root': '/dev/vda', 'ephemeral0': '/dev/vdb' 'vol0': '/dev/vdc' } Again, I understand, you can't force the guest to name devices in any way, but hopefully we can at least map vda to first device on virtio bus, and vdb to second disk on virtio bus. -- 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
I understand that actually mapping a device name from hypervisor to guest is actually impossible, but hopefully we can come up with a better guess. Its unfortunate that libvirt doesn't even seem to be using the dev= as a suggestion of device ordering along the virtio bus. Instead, I'm guessing it is using order present in xml. I was hoping at very least that suggesting 'vda', 'vdb', 'vdc' would render in kvm command line to addr=0x4, addr=0x5, addr=0x6 respectively. Since libvirt seems to be relying on order in the xml, is it possible to specify the correct order and also sane dev= attributes? Ie, what would happen if you had xml like: | disk type='file' | driver type='qcow2'/ | source file='/var/lib/nova/instances/instance-00e4/disk'/ | target dev='vda' bus='virtio'/ | /disk | disk type='block' | driver type='qcow2'/ | source dev='/var/lib/nova/instances/instance-00e4/disk.eph0 '/ | target dev='vdb' bus='virtio'/ | /disk | disk type='block' | driver type='raw'/ | source dev='/dev/mapper/nova--volumes-volume--0040'/ | target dev='vdc' bus='virtio'/ | /disk And then specified block device mapping like: { 'ami': 'vda', 'root': '/dev/vda', 'ephemeral0': '/dev/vdb' 'vol0': '/dev/vdc' } Again, I understand, you can't force the guest to name devices in any way, but hopefully we can at least map vda to first device on virtio bus, and vdb to second disk on virtio bus. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
Just from reading comment 2, the issue is clearly not fixed correctly. /proc/partitions shows vda, vdb, and vdc, but the block-device-mapping shows ephemeral0 mapped to vdd. ** Changed in: nova Status: Incomplete = Confirmed ** Changed in: cloud-init (Ubuntu) Importance: High = Medium ** Changed in: cloud-init (Ubuntu) Status: New = Triaged -- 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
Re: [Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
On Mon, Aug 22, 2011 at 01:42:08PM -, Scott Moser wrote: Just from reading comment 2, the issue is clearly not fixed correctly. /proc/partitions shows vda, vdb, and vdc, but the block-device-mapping shows ephemeral0 mapped to vdd. Yes, you're right. The create kvm command line that libvirt created and the created xml for the guest is as follows. You can see that those target device is specified correctly in the xml, but the mapping information is lost in the command line. libvirt doesn't have any way to force the guest to use the setting in qemu-kvm case because qemu-kvm creates pci devices for each virtio-disk and the guests understands it sequentially from 'a'. In order to fix it, we need to pass those mapping information to guest from nova somehow and teach OS initialization sequence (cloud-init?/udev?) the mapping. The command line to launch kvm guest. /usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name instance-00e4 -uuid 8882f5d5-d448-29e3-e124-6739e6fd22d6 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance- 00e4.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=readline -rtc base=utc -boot c -kernel /var/lib/nova/instances/instance-00e4/kernel -append root=/dev/vda console=ttyS0 -drive file=/var/lib/nova/instances /instance-00e4/disk,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id =virtio-disk0 -drive file=/var/lib/nova/instances/instance- 00e4/disk.eph0,if=none,id=drive-virtio-disk3, format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk3, id=virtio- disk3 -drive file=/dev/mapper/nova--volumes-volume--0040,if=none,id =drive-virtio-disk2,format=raw -device virtio-blk- pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk2,id=virtio-disk2 -netdev tap,fd=18,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=02:16:3e:1e:ff:c0,bus=pci.0,addr=0x3 -chardev file, id=charserial0,path=/var/lib/nova/instances/instance- 00e4/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa- serial,chardev=charserial1,id=serial1 -usb -vnc 0.0.0.0:0 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 the create xml for the guest domain type='kvm' nameinstance-00e4/name memory524288/memory os typehvm/type kernel/var/lib/nova/instances/instance-00e4/kernel/kernel cmdlineroot=/dev/vda console=ttyS0/cmdline /os features acpi/ /features vcpu1/vcpu devices disk type='file' driver type='qcow2'/ source file='/var/lib/nova/instances/instance-00e4/disk'/ target dev='vda' bus='virtio'/ /disk disk type='block' driver type='qcow2'/ source dev='/var/lib/nova/instances/instance-00e4/disk.eph0 '/ target dev='vdd' bus='virtio'/ /disk disk type='block' driver type='raw'/ source dev='/dev/mapper/nova--volumes-volume--0040'/ target dev='vdc' bus='virtio'/ /disk interface type='bridge' source bridge='br100'/ mac address='02:16:3e:1e:ff:c0'/ !-- model type='virtio'/ CANT RUN virtio network right now -- filterref filter=nova-instance-instance-00e4-02163e1effc0 parameter name=IP value=172.17.220.4 / parameter name=DHCPSERVER value=172.17.220.1 / /filterref /interface !-- The order is significant here. File must be defined first -- serial type=file source path='/var/lib/nova/instances/instance-00e4/console.log' / target port='1'/ /serial console type='pty' tty='/dev/pts/2' source path='/dev/pts/2'/ target port='0'/ /console serial type='pty' source path='/dev/pts/2'/ target port='0'/ /serial graphics type='vnc' port='-1' autoport='yes' keymap='en-us' listen='0.0 .0.0'/ /devices /domain -- 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
Just from reading comment 2, the issue is clearly not fixed correctly. /proc/partitions shows vda, vdb, and vdc, but the block-device-mapping shows ephemeral0 mapped to vdd. ** Changed in: nova Status: Incomplete = Confirmed ** Changed in: cloud-init (Ubuntu) Importance: High = Medium ** Changed in: cloud-init (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
On Mon, Aug 22, 2011 at 01:42:08PM -, Scott Moser wrote: Just from reading comment 2, the issue is clearly not fixed correctly. /proc/partitions shows vda, vdb, and vdc, but the block-device-mapping shows ephemeral0 mapped to vdd. Yes, you're right. The create kvm command line that libvirt created and the created xml for the guest is as follows. You can see that those target device is specified correctly in the xml, but the mapping information is lost in the command line. libvirt doesn't have any way to force the guest to use the setting in qemu-kvm case because qemu-kvm creates pci devices for each virtio-disk and the guests understands it sequentially from 'a'. In order to fix it, we need to pass those mapping information to guest from nova somehow and teach OS initialization sequence (cloud-init?/udev?) the mapping. The command line to launch kvm guest. /usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name instance-00e4 -uuid 8882f5d5-d448-29e3-e124-6739e6fd22d6 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance- 00e4.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=readline -rtc base=utc -boot c -kernel /var/lib/nova/instances/instance-00e4/kernel -append root=/dev/vda console=ttyS0 -drive file=/var/lib/nova/instances /instance-00e4/disk,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id =virtio-disk0 -drive file=/var/lib/nova/instances/instance- 00e4/disk.eph0,if=none,id=drive-virtio-disk3, format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk3, id=virtio- disk3 -drive file=/dev/mapper/nova--volumes-volume--0040,if=none,id =drive-virtio-disk2,format=raw -device virtio-blk- pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk2,id=virtio-disk2 -netdev tap,fd=18,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=02:16:3e:1e:ff:c0,bus=pci.0,addr=0x3 -chardev file, id=charserial0,path=/var/lib/nova/instances/instance- 00e4/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa- serial,chardev=charserial1,id=serial1 -usb -vnc 0.0.0.0:0 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 the create xml for the guest domain type='kvm' nameinstance-00e4/name memory524288/memory os typehvm/type kernel/var/lib/nova/instances/instance-00e4/kernel/kernel cmdlineroot=/dev/vda console=ttyS0/cmdline /os features acpi/ /features vcpu1/vcpu devices disk type='file' driver type='qcow2'/ source file='/var/lib/nova/instances/instance-00e4/disk'/ target dev='vda' bus='virtio'/ /disk disk type='block' driver type='qcow2'/ source dev='/var/lib/nova/instances/instance-00e4/disk.eph0 '/ target dev='vdd' bus='virtio'/ /disk disk type='block' driver type='raw'/ source dev='/dev/mapper/nova--volumes-volume--0040'/ target dev='vdc' bus='virtio'/ /disk interface type='bridge' source bridge='br100'/ mac address='02:16:3e:1e:ff:c0'/ !-- model type='virtio'/ CANT RUN virtio network right now -- filterref filter=nova-instance-instance-00e4-02163e1effc0 parameter name=IP value=172.17.220.4 / parameter name=DHCPSERVER value=172.17.220.1 / /filterref /interface !-- The order is significant here. File must be defined first -- serial type=file source path='/var/lib/nova/instances/instance-00e4/console.log' / target port='1'/ /serial console type='pty' tty='/dev/pts/2' source path='/dev/pts/2'/ target port='0'/ /console serial type='pty' source path='/dev/pts/2'/ target port='0'/ /serial graphics type='vnc' port='-1' autoport='yes' keymap='en-us' listen='0.0 .0.0'/ /devices /domain -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
@Scott, could you confirm the fix ? ** Changed in: nova Status: New = Incomplete -- 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: cloud-init (Ubuntu) Importance: Undecided = High -- 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
@Scott, could you confirm the fix ? ** Changed in: nova Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Changed in: cloud-init (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
So far nova lied. It is fixed by nova revision of 1400 in the repository. Here is the example ubuntu@ubuntu:~$ cat /proc/partitions major minor #blocks name 2520 10485760 vda 252 16 20971520 vdb 252 321048576 vdc ubuntu@ubuntu:~$ python -c 'import boto.utils; print boto.utils.get_instance_metadata()[block-device-mapping]' {'ami': 'vda', 'root': '/dev/vda', 'ephemeral0': '/dev/vdd'} -- 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
So far nova lied. It is fixed by nova revision of 1400 in the repository. Here is the example ubuntu@ubuntu:~$ cat /proc/partitions major minor #blocks name 2520 10485760 vda 252 16 20971520 vdb 252 321048576 vdc ubuntu@ubuntu:~$ python -c 'import boto.utils; print boto.utils.get_instance_metadata()[block-device-mapping]' {'ami': 'vda', 'root': '/dev/vda', 'ephemeral0': '/dev/vdd'} -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
-- 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Also affects: cloud-init Importance: Undecided Status: New ** Also affects: nova 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+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
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 827590] Re: cloud-init does not mount ephemeral0 on /mnt in nova
** Also affects: cloud-init Importance: Undecided Status: New ** Also affects: nova 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/827590 Title: cloud-init does not mount ephemeral0 on /mnt in nova To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/827590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs