[Bug 458904] Re: When installing a node, euca_find_cluster fails to locate the cluster controller if instances are running

Mathias Gug mathiaz at ubuntu.com
Fri Oct 30 21:52:06 GMT 2009


The workaround discussed by Thierry and Martin in comment 11-14 is
working as expected:

1. Update avahi-daemon upstart job to use /etc/eucalytpus/avahi-
daemon.conf if is there:

=== modified file 'debian/avahi-daemon.upstart'
--- debian/avahi-daemon.upstart 2009-09-15 03:33:13 +0000
+++ debian/avahi-daemon.upstart 2009-10-30 21:07:05 +0000
@@ -12,4 +12,8 @@
 expect daemon
 respawn
 
-exec avahi-daemon -D
+script
+       opts="-D"
+       [ -e "/etc/eucalyptus/avahi-daemon.conf" ] && opts="${opts} -f /etc/eucalyptus/avahi-daemon.conf"
+       exec avahi-daemon ${opts}
+end script

2. Ship /etc/eucalyptus/avahi-daemon.conf in the eucalyptus-cc package
that disables address publishing:

publish-addresses=no

3. Add an eucalyptus-cc-publication-ip upstart job to publish the CC
IP/hostname mapping:

exec avahi-publish -a $(hostname).local $CC_IP_ADDR

With these changes, running new instances with public IPs doesn't change
the IP address returned by euca_find_cluster for an NC iso installation.

** Also affects: avahi (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: avahi (Ubuntu Karmic)
       Status: New => Triaged

** Changed in: avahi (Ubuntu Karmic)
   Importance: Undecided => High

** Changed in: avahi (Ubuntu Karmic)
     Assignee: (unassigned) => Mathias Gug (mathiaz)

** Changed in: avahi (Ubuntu Karmic)
    Milestone: None => karmic-updates

-- 
When installing a node, euca_find_cluster fails to locate the cluster controller if instances are running
https://bugs.launchpad.net/bugs/458904
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