grub-legacy-ec2: attaching a volume to maverick instance may boot off it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: grub-legacy-ec2
I booted a maverick instance, modified it a bit, and created a snapshot of that volume.
I then, booted another maverick instance like:
run-instances ami-548c783d --instance-type t1.micro --block-
the surprising result was that the instance booted with root = /dev/sdh.
The reason for that is that menu.lst in the instance says:
kernel /boot/vmlinuz-
initrd /boot/initrd.
In this instance, there were, then 2 filesystems that had LABEL=uec-rootfs.
The kernel just chose /dev/sdh.
update-
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cloud-init 0.5.15-0ubuntu3
ProcVersionSign
Uname: Linux 2.6.35-22-virtual x86_64
Architecture: amd64
Date: Fri Oct 22 17:19:50 2010
Ec2AMI: ami-548c783d
Ec2AMIManifest: (unknown)
Ec2Availability
Ec2InstanceType: t1.micro
Ec2Kernel: aki-427d952b
Ec2Ramdisk: unavailable
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
Changed in cloud-init (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in ubuntu-on-ec2: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in cloud-init (Ubuntu): | |
status: | Confirmed → Won't Fix |
no longer affects: | ubuntu-on-ec2 |
I tried the same steps and did not get /dev/sdh as the root, but I see that they do both have the same label, and concur that labels may not be the best way to differentiate these volumes.
UUID also isn't unique, so I'm at a loss to identify a good way to determine which is which.
Either way, this is definitely an undesirable behavior, so I'm marking this Confirmed.