[Bug 480885] [NEW] Eucalyptus avahi publication jobs failed to restart if avahi-daemon is restarted

Mathias Gug mathiaz at ubuntu.com
Wed Nov 11 19:47:01 GMT 2009


Public bug reported:

If avahi-daemon is restarted (for example during an avahi-daemon package
update) eucalyptus avahi publication jobs aren't restarted.

==========
Karmic SRU

Impact:
If avahi publication jobs are not running, the cluster controller cannot be located by the installer when additional node controllers are deployed.

How the bus has been addressed:
A respawn statement has been added to the upstart jobs.

TEST CASE:
1. Install eucalytpus-cc.
2. Check that two avahi-publish processes are running and note their pids:

$ ps -ef | grep avahi-publish
root      8287     1  0 13:04 ?        00:00:00 avahi-publish -a t-euca-sru-up.local 172.19.42.214
root      8292     1  0 13:04 ?        00:00:00 avahi-publish -s Eucalyptus cluster controller _eucalyptus._tcp 8774 txtvers=1 protovers=1.5.0 type=cluster
mathiaz   8341   964  0 14:39 pts/0    00:00:00 grep avahi-publish

3. Restart avahi-daemon (to simulate an update):

$ sudo restart avahi-daemon

4. Before the update, avahi-publish processes are no longer there. After
the upgrade, new avahi-publish processes have been started.

Potential of regression:
If avahi-daemon is manually stopped, upstart will try to restart the publication jobs until it stops respawning them:
init: eucalyptus-cc-publication main process (8593) terminated with status 1
init: eucalyptus-cc-publication respawning too fast, stopped
Restarting avahi-daemon manually will not start the publication jobs which need to be start manually as well. However this is not a regression from the current version in Karmic.

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

** Affects: eucalyptus (Ubuntu Karmic)
     Importance: Low
     Assignee: Mathias Gug (mathiaz)
         Status: In Progress


** Tags: uec

** Also affects: eucalyptus (Ubuntu Karmic)
   Importance: Undecided
       Status: New

** Changed in: eucalyptus (Ubuntu Karmic)
       Status: New => In Progress

** Changed in: eucalyptus (Ubuntu Karmic)
   Importance: Undecided => Low

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

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

** Changed in: eucalyptus (Ubuntu)
   Importance: Undecided => Low

-- 
Eucalyptus avahi publication jobs failed to restart if avahi-daemon is restarted
https://bugs.launchpad.net/bugs/480885
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