[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 169.254.169.254 as
the advertise CC_IP_ADDR:

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

This is probably due to the way the CC_IP_ADDR is computed in
/etc/eucalyptus/eucalyptus-ipaddr.conf

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 169.254.169.254/32 scope link eth0
    inet 10.153.108.210/24 brd 10.153.108.255 scope global eth0
    inet 172.19.1.1/27 brd 172.19.1.31 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
https://bugs.launchpad.net/bugs/451607
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