Activity log for bug #1336855

Date Who What changed Old value New value Message
2014-07-02 16:36:43 Ben Howard bug added bug
2014-07-02 16:39:13 Ben Howard tags cloud-images precise
2014-07-02 16:39:20 Ben Howard nominated for series Ubuntu Precise
2014-07-02 16:52:26 Robert C Jennings attachment added recreate https://bugs.launchpad.net/ubuntu/+bug/1336855/+attachment/4143964/+files/recreate
2014-07-02 16:52:45 Robert C Jennings attachment added grub-update_issue.png https://bugs.launchpad.net/ubuntu/+bug/1336855/+attachment/4143965/+files/grub-update_issue.png
2014-07-02 16:54:44 Ben Howard ubuntu: status New Confirmed
2014-07-02 16:54:48 Ben Howard ubuntu: importance Undecided High
2014-07-02 16:54:55 Ben Howard affects ubuntu cloud-init (Ubuntu)
2014-07-02 17:09:15 Ben Howard cloud-init (Ubuntu): importance High Critical
2014-07-02 17:21:51 Ben Howard branch linked lp:~utlemming/cloud-init/lp1336855
2014-07-02 17:41:25 Ben Howard summary non-interactive grub updates for 12.04 break on AWS [SRU] non-interactive grub updates for 12.04 break on AWS
2014-07-02 18:46:55 Jorge Castro bug added subscriber Jorge O. Castro
2014-07-02 20:27:19 Eric Hammond bug added subscriber Eric Hammond
2014-07-02 22:58:42 Ben Howard nominated for series Ubuntu Saucy
2014-07-02 22:58:42 Ben Howard nominated for series Ubuntu Trusty
2014-07-02 22:58:42 Ben Howard nominated for series Ubuntu Utopic
2014-07-02 23:01:03 Ben Howard description It looks like a recent update to grub or the kernel on 12.04 is breaking unattended installs on EC2 for HVM instances. You can reproduce the problem by doing the following: region: us-east-1 virtualization type: HVM (e.g. r3.xlarge) AMI ID: ami-7a916212 dpkg --configure –a apt-get update apt-get install -y ruby ruby-dev libicu-dev libssl-dev libxslt-dev libxml2-dev monit apt-get dist-upgrade –y Cloud-init, as part of the first boot configures grub-pc to set the device that grub should install to. However, in the case of HVM instances, /dev/xvda and /dev/xvda1 are not considered (only sda, sda1, vda and vda1). Since AWS HVM instances and Xen use /dev/xvdX devices, this means that any Grub update with an ABI change will break the instances, rendering them unable to boot. ----ORIGINAL report---- It looks like a recent update to grub or the kernel on 12.04 is breaking unattended installs on EC2 for HVM instances. You can reproduce the problem by doing the following: region: us-east-1 virtualization type: HVM (e.g. r3.xlarge) AMI ID: ami-7a916212 dpkg --configure –a apt-get update apt-get install -y ruby ruby-dev libicu-dev libssl-dev libxslt-dev libxml2-dev monit apt-get dist-upgrade –y
2014-07-03 04:43:09 CpuID bug added subscriber CpuID
2014-07-03 05:09:45 Andrew Lau bug added subscriber Andrew Lau
2014-07-03 18:36:43 Ben Howard branch linked lp:~utlemming/ubuntu/precise/cloud-init/lp1336855
2014-07-03 18:38:40 Ben Howard attachment added Patch to fix future and broken instances https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1336855/+attachment/4144896/+files/precise.deb.diff
2014-07-03 20:22:26 Ubuntu Foundations Team Bug Bot tags cloud-images precise cloud-images patch precise
2014-07-03 20:36:52 Ben Howard attachment added Modified patch that is chroot safe https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1336855/+attachment/4144962/+files/precise.deb.diff
2014-07-08 18:17:26 Keli Grubb bug added subscriber Keli Grubb
2014-09-15 15:16:32 Scott Moser bug task added cloud-init (Ubuntu Precise)
2014-09-15 15:17:00 Scott Moser bug task added cloud-init (Ubuntu Trusty)
2014-09-15 15:17:02 Scott Moser bug task added cloud-init (Ubuntu Utopic)
2014-09-17 17:01:35 Launchpad Janitor branch linked lp:cloud-init
2014-09-17 19:52:01 Ben Howard branch linked lp:~utlemming/ubuntu/precise/cloud-init/lp1336855-1363260
2014-09-18 22:13:24 Ben Howard cloud-init (Ubuntu Trusty): status New Confirmed
2014-09-18 22:13:27 Ben Howard cloud-init (Ubuntu Precise): status New Confirmed
2014-09-18 22:13:29 Ben Howard cloud-init (Ubuntu Precise): importance Undecided Critical
2014-09-18 22:13:32 Ben Howard cloud-init (Ubuntu Trusty): importance Undecided Critical
2014-09-18 22:13:35 Ben Howard cloud-init (Ubuntu Trusty): assignee Ben Howard (utlemming)
2014-09-18 22:13:38 Ben Howard cloud-init (Ubuntu Precise): assignee Ben Howard (utlemming)
2014-09-18 22:13:42 Ben Howard cloud-init (Ubuntu Utopic): assignee Ben Howard (utlemming)
2014-09-18 22:22:51 Ben Howard description Cloud-init, as part of the first boot configures grub-pc to set the device that grub should install to. However, in the case of HVM instances, /dev/xvda and /dev/xvda1 are not considered (only sda, sda1, vda and vda1). Since AWS HVM instances and Xen use /dev/xvdX devices, this means that any Grub update with an ABI change will break the instances, rendering them unable to boot. ----ORIGINAL report---- It looks like a recent update to grub or the kernel on 12.04 is breaking unattended installs on EC2 for HVM instances. You can reproduce the problem by doing the following: region: us-east-1 virtualization type: HVM (e.g. r3.xlarge) AMI ID: ami-7a916212 dpkg --configure –a apt-get update apt-get install -y ruby ruby-dev libicu-dev libssl-dev libxslt-dev libxml2-dev monit apt-get dist-upgrade –y [SRU JUSTIFICATION] [IMPACT] Cloud-init, as part of the first boot configures grub-pc to set the device that grub should install to. However, in the case of HVM instances, /dev/xvda and /dev/xvda1 are not considered (only sda, sda1, vda and vda1). Since AWS HVM instances and Xen use /dev/xvdX devices, this means that any Grub update with an ABI change will break the instances, rendering them unable to boot. [FIX] Cloud-init has been patched to understand /dev/xvda devices and set the correct grub-pc/install_device. Further, cloud-init's postinst has been patched to fix people who might be affected by this bug. [Test Case 1] 1. Boot HVM instance store AMI ami-90b156f8 (us-east-1) 2. Update grub 3. Update cloud-init from -proposed 4. Reboot instance 5. instance should come back up [Test Case 2] 1. Boot HVM instance store AMI ami-90b156f8 (us-east-1) 2. run "cloud-init-cfg grub_dpkg --freqenucy always" 3. run "debconf-show grub-pc", confirm that grub-pc/install_devices is /dev/xvda 4. update grub 5. Reboot 6. instance should come back up ----ORIGINAL report---- It looks like a recent update to grub or the kernel on 12.04 is breaking unattended installs on EC2 for HVM instances. You can reproduce the problem by doing the following: region: us-east-1 virtualization type: HVM (e.g. r3.xlarge) AMI ID: ami-7a916212 dpkg --configure –a apt-get update apt-get install -y ruby ruby-dev libicu-dev libssl-dev libxslt-dev libxml2-dev monit apt-get dist-upgrade –y
2014-09-18 23:08:47 Ben Howard description [SRU JUSTIFICATION] [IMPACT] Cloud-init, as part of the first boot configures grub-pc to set the device that grub should install to. However, in the case of HVM instances, /dev/xvda and /dev/xvda1 are not considered (only sda, sda1, vda and vda1). Since AWS HVM instances and Xen use /dev/xvdX devices, this means that any Grub update with an ABI change will break the instances, rendering them unable to boot. [FIX] Cloud-init has been patched to understand /dev/xvda devices and set the correct grub-pc/install_device. Further, cloud-init's postinst has been patched to fix people who might be affected by this bug. [Test Case 1] 1. Boot HVM instance store AMI ami-90b156f8 (us-east-1) 2. Update grub 3. Update cloud-init from -proposed 4. Reboot instance 5. instance should come back up [Test Case 2] 1. Boot HVM instance store AMI ami-90b156f8 (us-east-1) 2. run "cloud-init-cfg grub_dpkg --freqenucy always" 3. run "debconf-show grub-pc", confirm that grub-pc/install_devices is /dev/xvda 4. update grub 5. Reboot 6. instance should come back up ----ORIGINAL report---- It looks like a recent update to grub or the kernel on 12.04 is breaking unattended installs on EC2 for HVM instances. You can reproduce the problem by doing the following: region: us-east-1 virtualization type: HVM (e.g. r3.xlarge) AMI ID: ami-7a916212 dpkg --configure –a apt-get update apt-get install -y ruby ruby-dev libicu-dev libssl-dev libxslt-dev libxml2-dev monit apt-get dist-upgrade –y [SRU JUSTIFICATION] [IMPACT] Cloud-init, as part of the first boot configures grub-pc to set the device that grub should install to. However, in the case of HVM instances, /dev/xvda and /dev/xvda1 are not considered (only sda, sda1, vda and vda1). Since AWS HVM instances and Xen use /dev/xvdX devices, this means that any Grub update with an ABI change will break the instances, rendering them unable to boot. [FIX] Cloud-init has been patched to understand /dev/xvda devices and set the correct grub-pc/install_device. Further, cloud-init's postinst has been patched to fix people who might be affected by this bug. [Test Case 1] 1. Boot HVM instance store AMI ami-90b156f8 (us-east-1) 2. Update grub 3. Update cloud-init from -proposed 4. Reboot instance 5. instance should come back up [Test Case 2 -- 12.04 Only] 1. Boot HVM instance store AMI ami-90b156f8 (us-east-1) 2. run "cloud-init-cfg grub_dpkg --freqenucy always" 3. run "debconf-show grub-pc", confirm that grub-pc/install_devices is /dev/xvda 4. update grub 5. Reboot 6. instance should come back up [Test Case 3 -- 14.04 Only] 1. Boot HVM instance store AMI ami-1f958c76 (us-east-1) 2. run "cloud-init single grub_dpkg --freqenucy always" 3. run "debconf-show grub-pc", confirm that grub-pc/install_devices is /dev/xvda 4. update grub 5. Reboot 6. instance should come back up [Test Case 4] 1. Install from -proposed 2. Simulate a first-run: echo "grub-pc grub-pc/install_devices select /dev/sda" | debconf-set-selections 3. Run: cloud-init single --name=grub-dpkg --frequency=always 4. Run: debconf-show grub-pc 5. confirm that /dev/xvda is shown as the install device ----ORIGINAL report---- It looks like a recent update to grub or the kernel on 12.04 is breaking unattended installs on EC2 for HVM instances. You can reproduce the problem by doing the following: region: us-east-1 virtualization type: HVM (e.g. r3.xlarge) AMI ID: ami-7a916212 dpkg --configure –a apt-get update apt-get install -y ruby ruby-dev libicu-dev libssl-dev libxslt-dev libxml2-dev monit apt-get dist-upgrade –y
2014-09-18 23:11:08 Ben Howard attachment added Debdiff against cloud-init_0.7.5-0ubuntu1.2 in trusty-proposed https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1336855/+attachment/4208139/+files/lp-1336855-14.04.diff
2014-09-18 23:21:25 Ben Howard summary [SRU] non-interactive grub updates for 12.04 break on AWS [SRU] non-interactive grub updates broken for /dev/xvda devices on Cloud-Images/Cloud-init
2014-09-19 18:00:34 Ben Howard bug added subscriber Ubuntu Stable Release Updates Team
2014-09-19 22:34:16 Ben Howard cloud-init (Ubuntu Trusty): status Confirmed In Progress
2014-09-19 22:34:19 Ben Howard cloud-init (Ubuntu Utopic): status Confirmed In Progress
2014-09-19 22:34:21 Ben Howard cloud-init (Ubuntu Precise): status Confirmed In Progress
2014-09-23 17:57:27 Ben Howard attachment added utopic debdiff https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1336855/+attachment/4212657/+files/lp-1336855-utopic.diff
2014-09-23 18:21:17 Launchpad Janitor branch linked lp:ubuntu/cloud-init
2014-09-24 06:54:39 Launchpad Janitor cloud-init (Ubuntu Utopic): status In Progress Fix Released
2014-10-02 16:05:08 Chris J Arges cloud-init (Ubuntu Precise): status In Progress Fix Committed
2014-10-02 16:05:15 Chris J Arges bug added subscriber SRU Verification
2014-10-02 16:05:18 Chris J Arges tags cloud-images patch precise cloud-images patch precise verification-needed
2014-10-02 16:30:00 Ben Howard branch linked lp:~utlemming/ubuntu/trusty/cloud-init/lp1336855
2014-10-02 17:00:57 Launchpad Janitor branch linked lp:ubuntu/trusty/cloud-init
2014-10-03 16:55:21 Ben Howard tags cloud-images patch precise verification-needed cloud-images needed patch precise verification-precise-done
2014-10-03 21:29:24 Mathew Hodson tags cloud-images needed patch precise verification-precise-done cloud-images patch precise verification-done-precise
2014-10-06 13:17:55 Chris J Arges cloud-init (Ubuntu Trusty): status In Progress Fix Committed
2014-10-06 13:18:02 Chris J Arges tags cloud-images patch precise verification-done-precise cloud-images patch precise verification-done-precise verification-needed
2014-10-06 14:31:49 Ben Howard tags cloud-images patch precise verification-done-precise verification-needed cloud-images patch precise trusty verification-done
2014-10-10 15:40:19 Scott Moser bug task added cloud-init
2014-10-10 15:40:38 Scott Moser cloud-init: importance Undecided Medium
2014-10-10 15:40:38 Scott Moser cloud-init: status New Fix Released
2014-10-14 14:21:22 Chris J Arges removed subscriber Ubuntu Stable Release Updates Team
2014-10-14 14:22:16 Launchpad Janitor cloud-init (Ubuntu Trusty): status Fix Committed Fix Released
2014-10-14 14:27:13 Launchpad Janitor cloud-init (Ubuntu Precise): status Fix Committed Fix Released
2023-05-10 03:31:50 James Falcon bug watch added https://github.com/canonical/cloud-init/issues/2464