Wrong CC IP address detected by eucalyptus-ipaddr.conf

Bug #523126 reported by Stefan Bucur
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Daniel Nurmi
eucalyptus (Ubuntu)
Dustin Kirkland 

Bug Description

When more than one default route exists in the CC host routing table, eucalyptus-ipaddr.conf does not pick the one with the lowest metric, but the last one that appears in the "ip route" output.

For instance, in the following case:

$ ip route dev eth2 proto kernel scope link src dev eth3 proto kernel scope link src
default via dev eth2 metric 1
default via dev eth3 metric 100

the value of $addr will be the IP address of eth3, and not eth2, as I would have expected.

Related branches

Revision history for this message
Monkey (monkey-libre) wrote :

I´ve assigned this bug to the eucalyptus package. Thank You for making Ubuntu better.

affects: ubuntu → eucalyptus (Ubuntu)
Revision history for this message
Mathias Gug (mathiaz) wrote :

Marking the bug as triaged. We should provide a way to set the default route in eucalyptus.conf. A workaround could be to actually edit eucalyptus-ipaddr.conf to set the correct IP addresses.

Changed in eucalyptus (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in eucalyptus (Ubuntu):
status: Triaged → Fix Committed
assignee: nobody → Dustin Kirkland (kirkland)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * debian/eucalyptus-udeb.postinst, debian/eucalyptus-udeb.templates:
    add a debconf/preseed option to skip the euca_find_component
    checks in the installer
  * debian/eucalyptus-network.upstart: only rewrite ipaddr.conf if
    it does not exist (admin can force a rewrite by removing it);
    only write the pertinent addrs to ipaddr.conf, LP: #523126
  * debian/registration/node: ensure that nodes.list is used in
    building the $NODES ip list, might (in part) solve LP: #530091
  * debian/rules: drop the install-init --noscripts option, as this
    is not what we want and appears to have arrived from a bad
    copy-n-paste; this fix ensures that eucalyptus-nc is started on
    on package install, LP: #545606
 -- Dustin Kirkland <email address hidden> Wed, 24 Mar 2010 18:10:05 -0700

Changed in eucalyptus (Ubuntu):
status: Fix Committed → Fix Released
Changed in eucalyptus:
assignee: nobody → Daniel Nurmi (nurmi)
Revision history for this message
Daniel Nurmi (nurmi) wrote :

The part of the UEC that uses eucalyptus-ipaddr.conf is package specific, and so we'll mark it as invalid against the upstream system.

Changed in eucalyptus:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers