[Bug 714807] Re: install of cloud-init without eth0 will cause boot hang
fix released in 0.6.1 ** Changed in: cloud-init Status: Confirmed = Fix Released -- 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/714807 Title: install of cloud-init without eth0 will cause boot hang To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/714807/+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 714807] Re: install of cloud-init without eth0 will cause boot hang
** Branch linked: lp:ubuntu/cloud-init -- 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/714807 Title: install of cloud-init without eth0 will cause boot hang -- 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 714807] Re: install of cloud-init without eth0 will cause boot hang
** Branch linked: lp:cloud-init -- 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/714807 Title: install of cloud-init without eth0 will cause boot hang -- 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 714807] Re: install of cloud-init without eth0 will cause boot hang
This bug was fixed in the package cloud-init - 0.6.1-0ubuntu1 --- cloud-init (0.6.1-0ubuntu1) natty; urgency=low * New upstream release. * fix for puppet configuration options (LP: #709946) [Ryan Lane] * fix pickling of DataSource, which broke seeding. * turn resize_rootfs default to True * avoid mounts in DataSourceOVF if 'read' on device fails 'mount /dev/sr0' for an empty virtual cdrom device was taking 18 seconds * add 'manual_cache_clean' option to select manual cleaning of the /var/lib/cloud/instance/ link, for a data source that might not be present on every boot * make DataSourceEc2 retries and timeout configurable * add 'bootcmd' like 'runcmd' to cloud-config syntax for running things early * move from '#opt_include' in config file format to conf_d. now local config files should live in /etc/cloud/cloud.cfg.d/ * move /etc/cloud/distro.cfg to /etc/cloud/cloud.cfg.d/90_dpkg.cfg * allow /etc/hosts to be written from hosts.tmpl. which allows getting local-hostname into /etc/hosts (LP: #720440) * better handle startup if there is no eth0 (LP: #714807) * update rather than append in puppet config [Marc Cluet] * add cloud-config for mcollective [Marc Cluet] -- Scott Moser smo...@ubuntu.com Sat, 19 Feb 2011 01:16:10 -0500 ** Changed in: cloud-init (Ubuntu) Status: Confirmed = Fix Released -- 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/714807 Title: install of cloud-init without eth0 will cause boot hang -- 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 714807] Re: install of cloud-init without eth0 will cause boot hang
** Also affects: cloud-init Importance: Undecided Status: New ** Changed in: cloud-init Importance: Undecided = Medium ** Changed in: cloud-init Status: New = Confirmed ** Changed in: cloud-init (Ubuntu) Status: New = Confirmed ** Changed in: cloud-init (Ubuntu) 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/714807 Title: install of cloud-init without eth0 will cause boot hang -- 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 714807] Re: install of cloud-init without eth0 will cause boot hang
Sounds to me like you need an alternative event to run on instead of net-device-up IFACE=eth0 when there's no network. Scott, per our verbal discussion: Change cloud-init to have this start on: start on mounted MOUNTPOINT=/ and ((net-device-up IFACE!=lo) or started cloud-init-no-net) then add this job # cloud-init-no-net start on mounted MOUNTPOINT=/ stop net-device-up IFACE!=lo task console output script sleep 5 echo $UPSTART_JOB waiting for a network device. sleep 25 echo $UPSTART_JOB gave up waiting for a network device. end script # EOF This job will only be started after the 30 seconds passes (tasks aren't started until they exit 0). It will be stopped and killed if net-device-up IFACE!=lo happens. The 5 second sleep is for normal situations.. we don't need to print anything on the console in that case. But a user may be confused if we don't do that after 5 seconds. This does mean that if the network takes over 30 seconds to come up cloud-init will be run without the network. Some other things could be done to make the timeout more dynamic and help users to avoid making their system take a 30 second nap waiting to boot.. for instance if the cloud type is local files, just exit immediately. -- 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/714807 Title: install of cloud-init without eth0 will cause boot hang -- 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