Any network mode beside SYSTEM fail because /var/run/eucalyptus/net do not exist

Bug #365349 reported by Etienne Goyer on 2009-04-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Dustin Kirkland 
Dustin Kirkland 

Bug Description

Binary package hint: eucalyptus-common

Eucalyptus instance will not be able to get an IP in just about any network mode that depends on running dhcpd3: MANAGED, MANAGED-NOVLAN and STATIC; basically all of them except SYSTEM.

On the machine running eucalyptus, you can see the following in /var/log/eucalyptus/cc.log:

[Wed Apr 22 14:48:13 2009][002204][EUCAERROR ] failed to (re)create DHCP config (//var/run/eucalyptus/net/euca-dhcp.conf)
[Wed Apr 22 14:48:13 2009][002204][EUCAERROR ] cannot start DHCP daemon, for instance i-4B270924 please check your network settings

And indeed, /var/run/eucalyptus/net does not exist:

ubuntu@personnal-cloud:/var/log/eucalyptus$ ls /var/run/eucalyptus/net
ls: cannot access /var/run/eucalyptus/net: No such file or directory

The directory /var/run/eucalyptus/net belongs to eucalyptus-common. However, as /var/run is on tmpfs, it disappear as soon as you reboot. We can see in the eucalyptus-cc init script that it explicitly create /var/run/eucalyptus; could it also create /var/run/eucalyptus/net while there?

Problem found in eucalyptus-common 1.5~bzr266-0ubuntu2, on jaunty.

I have not yet verified that this is still a bug in karmic, but it should be fixed if it is.

Changed in eucalyptus (Ubuntu Karmic):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Dustin Kirkland (kirkland)
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6~bzr808-0ubuntu1

eucalyptus (1.6~bzr808-0ubuntu1) karmic; urgency=low

  [ Dustin Kirkland ]
  * debian/eucalyptus-udeb.finish-install: eth0 should be set to
    'manual', when configured with br0 on dhcp, LP: #430820
  * tools/ ensure that /var/run/eucalyptus and
    /var/run/eucalyptus/net are created at boot and have correct
    ownerships, LP: #431114, #365349

  [ Thierry Carrez ]
  * cluster/Makefile, node/Makefile: Do not patch generated stubs if you
    didn't regenerate them, to avoid spurious build interruptions.
  * tools/eucalyptus-*.in: Do not guard initscripts basic output
    messages with VERBOSE != no (LP: #431274)
  * debian/control: Have eucalyptus-cc suggest vtun for full multi-cluster
    networking capabilities (LP: #425928)

  [ Colin Watson ]
  * Align ports used for cloud startup detection in init scripts with the
    corresponding code in euca_conf (LP: #430758).

  [ Soren Hansen ]
  * New snapshot.
  * Add a build-dependency on libc3p0-java.

 -- Soren Hansen <email address hidden> Mon, 21 Sep 2009 12:14:12 +0200

Changed in eucalyptus (Ubuntu Karmic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers