[Bug 451607] [NEW] The CC sometimes advertises the wrong IP address via avahi

Mathias Gug mathiaz at ubuntu.com
Wed Oct 14 21:27:30 BST 2009

Public bug reported:

While trying to install a UEC system, the CC is using as
the advertise CC_IP_ADDR:

root     21254     1  0 14:43 ?        00:00:00 avahi-publish -s _eucalyptus._tcp 8774 txtvers=1 protovers=1.5.0

This is probably due to the way the CC_IP_ADDR is computed in

addr_withprefix=$(ip addr show dev $default_interface | awk '$1 ==
"inet" { print $2 }')

The output of the command below is on the system:

ubuntu at karmic-uec-frontend:~$ ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:1c:c4:6b:38:4a brd ff:ff:ff:ff:ff:ff
    inet scope link eth0
    inet brd scope global eth0
    inet brd scope global eth0
    inet6 fe80::21c:c4ff:fe6b:384a/64 scope link 
       valid_lft forever preferred_lft forever

The assumption here is that the correct ip address will be the first one
in the listing.

** Affects: eucalyptus (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: eucalyptus (Ubuntu Karmic)
     Importance: High
         Status: Triaged

The CC sometimes advertises the wrong IP address via avahi
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

More information about the Ubuntu-server-bugs mailing list