Activity log for bug #523625

Date Who What changed Old value New value Message
2010-02-18 06:14:15 Mathias Gug bug added bug
2010-02-18 06:14:50 Mathias Gug attachment added Console log of a failed instance http://launchpadlibrarian.net/39347217/t.log
2010-02-18 06:19:25 Mathias Gug description Binary package hint: cloud-init While testing the puppet integration in EC2 images I noticed that some instances (7 out of 10 would fail) would failed to install the puppet package. According to the console log when cloud-config-puppet runs apt-get update it gets the files from archive.ubuntu.com. After logging into the system it turns out that the ec2 mirror have been set correctly: ubuntu@domU-12-31-39-05-19-A6:~$ cat /etc/apt/sources.list deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid main universe deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid main universe deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates main universe deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates main universe deb http://security.ubuntu.com/ubuntu lucid-security main universe deb-src http://security.ubuntu.com/ubuntu lucid-security main universe ubuntu@domU-12-31-39-05-19-A6:~$ sudo apt-get install puppet Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package puppet So it seems that there is a race condition between the moment apt-get update and apt-get install puppet even though the cloud-config-puppet upstart job is set to start on started /etc/init/cloud-apt-update-upgrade.conf. Binary package hint: cloud-init While testing the puppet integration in EC2 images I noticed that some instances (7 out of 10 would fail) would failed to install the puppet package. According to the console log when cloud-config-puppet runs apt-get update it gets the files from archive.ubuntu.com. After logging into the system it turns out that the ec2 mirror have been set correctly: ubuntu@domU-12-31-39-05-19-A6:~$ cat /etc/apt/sources.list deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid main universe deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid main universe deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates main universe deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates main universe deb http://security.ubuntu.com/ubuntu lucid-security main universe deb-src http://security.ubuntu.com/ubuntu lucid-security main universe ubuntu@domU-12-31-39-05-19-A6:~$ sudo apt-get install puppet Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package puppet So it seems that there is a race condition between the moment apt-get update and apt-get install puppet are run by cloud-init-puppet and cloud-apt-update-upgrade-conf. However the cloud-config-puppet upstart job is set to start on started cloud-apt-update-upgrade.
2010-02-18 17:13:46 Mathias Gug summary Wrong archive mirror set during the boot process Wrong archive mirror temporarily set during the boot process
2010-02-18 17:58:13 Mathias Gug cloud-init (Ubuntu): status New In Progress
2010-02-18 17:58:18 Mathias Gug cloud-init (Ubuntu): importance Undecided Medium
2010-02-18 17:58:25 Mathias Gug cloud-init (Ubuntu): assignee Scott Moser (smoser)
2010-02-18 17:58:29 Mathias Gug cloud-init (Ubuntu): milestone lucid-alpha-3
2010-02-18 18:09:20 Launchpad Janitor branch linked lp:cloud-init
2010-02-18 19:51:55 Scott Moser branch linked lp:~cloud-init-dev/cloud-init/lucid
2010-02-18 20:25:08 Launchpad Janitor cloud-init (Ubuntu): status In Progress Fix Released
2010-02-19 01:13:14 Launchpad Janitor branch linked lp:ubuntu/cloud-init