[Bug 445738] [NEW] node preseed retrieval fails due to euca_find_cluster returning 169.254.169.254
Dustin Kirkland
dustin.kirkland at gmail.com
Wed Oct 7 20:31:13 BST 2009
Public bug reported:
The cluster controller's ip information looks like this:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:16:d3:ca:e8:1e brd ff:ff:ff:ff:ff:ff
inet 10.1.1.131/24 brd 10.1.1.255 scope global eth0
inet 169.254.169.254/32 scope global eth0
inet6 fe80::216:d3ff:feca:e81e/64 scope link
valid_lft forever preferred_lft forever
When avahi is asked for this system's ip address by its avahi hostname, sometimes it returns 10.1.1.131, and sometimes it returns 169.254.169.254.
Unfortunately, 169.254.169.254 isn't very useful to other nodes.
We already have some special case logic in euca_find_cluster that
prefers an ipv4 address over an ipv6 address.
We need some additional logic to avoid the 169.254.169.254, and use the
suggested ip address of the CC.
By "suggested IP address", a secondary change is necessary in the avahi-
publish to use the $CC_IP_ADDR of the system as the "name" of the
service. Previously, this was $(hostname).
:-Dustin
** Affects: eucalyptus (Ubuntu)
Importance: High
Assignee: Dustin Kirkland (kirkland)
Status: In Progress
** Changed in: eucalyptus (Ubuntu)
Status: New => In Progress
** Changed in: eucalyptus (Ubuntu)
Importance: Undecided => High
** Changed in: eucalyptus (Ubuntu)
Assignee: (unassigned) => Dustin Kirkland (kirkland)
--
node preseed retrieval fails due to euca_find_cluster returning 169.254.169.254
https://bugs.launchpad.net/bugs/445738
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