cloud-init-nonet times out in lxc

Bug #800824 reported by Scott Moser
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
High
Unassigned

Bug Description

running an ubuntu cloud image under lxc will time out on network.

There has been lots of discussion on this, most recently in IRC on ubuntu-cloud [1].
From memory, this is due to virtual-filesystems coming up after mounted=/ on lxc. Because of that udev does not start, which means the network device event never occurs which would bring up the network. The result is that the instance boots, but times out for 70 seconds, and cloud-init doesn't do anything.

--
[1] http://irclogs.ubuntu.com/2011/06/22/%23ubuntu-cloud.html

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cloud-init 0.6.1-0ubuntu9
ProcVersionSignature: User Name 3.0-1.2-virtual 3.0.0-rc3
Uname: Linux 3.0-1-virtual x86_64
Architecture: amd64
Date: Wed Jun 22 18:22:29 2011
Ec2AMI: ami-0a768e63
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1b
Ec2InstanceType: t1.micro
Ec2Kernel: aki-427d952b
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

Related Bugs:
 * bug 800824: cloud-init-nonet times out in lxc
 * bug 925122: container's udevadm trigger --add affects the host

Related branches

Revision history for this message
Scott Moser (smoser) wrote :
Changed in cloud-init (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-11.10-beta-2
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.6.1-0ubuntu10

---------------
cloud-init (0.6.1-0ubuntu10) oneiric; urgency=low

  * sync with trunk (rev 405)
  * fix cloud-init in ubuntu lxc containers (LP: #800824)
 -- Scott Moser <email address hidden> Tue, 28 Jun 2011 06:46:14 -0400

Changed in cloud-init (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

Some conversation in ubuntu-devel yesterday [1] seems to have linked this fix with bug 1031065.

[1] http://irclogs.ubuntu.com/2012/07/31/%23ubuntu-devel.html#t01:41

Scott Moser (smoser)
description: updated
Revision history for this message
Scott Moser (smoser) wrote :

A better description of why 'start networking' was here is at https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1031065/comments/7 .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.