VNET_PRIVINTERFACE is not set correctly in a multi-network install

Bug #534412 reported by Thierry Carrez
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Fix Released
Medium
Thierry Carrez
Lucid
Fix Released
Medium
Thierry Carrez

Bug Description

Installed the following topology:
( CLC+Walrus )<---network1--->eth0( CC+SC )eth1<---network2--->( NC )

Everything installed and auto-registered correctly. I registered an image and started it with success.
However it's impossible to access that instance (from the CLC or from the CC), trying to ping the private address or the public address of the instance fails (unreachable).

I traced it back to VNET_PRIVINTERFACE on the CC+SC, which is set to "eth0" in eucalyptus.conf (should be "eth1").

eucalyptus-udeb.finish-install calls "set_conf_var" to set VNET_PRIVINTERFACE, however since it's not present in eucalyptus.local.conf, the sed call won't modify it:
sed -i "s/^\\($1\\)=.*/\\1=\"$2\"/"

Setting it to "eth1" and rebooting seems to solve the issue.

Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu):
importance: Undecided → High
tags: added: kernel-series-unknown
tags: removed: kernel-series-unknown
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Lucid):
status: New → Confirmed
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Lucid):
assignee: nobody → Dustin Kirkland (kirkland)
importance: High → Medium
milestone: none → ubuntu-10.04-beta-1
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Lucid):
milestone: ubuntu-10.04-beta-1 → ubuntu-10.04-beta-2
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Lucid):
assignee: Dustin Kirkland (kirkland) → Thierry Carrez (ttx)
status: Confirmed → In Progress
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Lucid):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6.2-0ubuntu19

---------------
eucalyptus (1.6.2-0ubuntu19) lucid; urgency=low

  * debian/eucalyptus-udeb.finish-install: Set VNET*INTERFACE at install-time
    in eucalyptus.conf so that they actually get set and a CC with two NICs
    works correctly (LP: #534412)
 -- Thierry Carrez <email address hidden> Fri, 19 Mar 2010 11:19:03 +0100

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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