[maverick] Autoregistration of components fails at boot time (euca_conf returns 1)

Bug #622698 reported by Thierry Carrez
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Fix Released
Dave Walker
Fix Released
Dave Walker

Bug Description

Testing with 20100823 ISO, eucalyptus 2.0~bzr1233-0ubuntu1
Topology 1 (CLC+Walrus+CC+SC / NC)

/var/log/eucalyptus/registration.log shows that Walrus and CC fail to register (euca_conf returns 1); the SC loops waiting for the cluster to appear.

Running manually, once booted:
$ sudo -u eucalyptus /usr/share/eucalyptus/registration/walrus <ip>
$ sudo -u eucalyptus /usr/share/eucalyptus/registration/cluster <clustername> <ip>
works. The SC autoregisters correctly once the cluster registers.

I suspect our current logic in upstart script makes it try to register too early. uec-component-listener starts when eucalyptus-cloud and eucalyptus-cc are started, and maybe it should wait a bit more.

This is definitely a race, and the 5400rpm disks on the test laptop probably slows down the noisy component startup to a point where boot-time autoregistration fails.

Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu):
assignee: nobody → Dave Walker (davewalker)
importance: Undecided → High
milestone: none → ubuntu-10.10-beta
Revision history for this message
Dave Walker (davewalker) wrote :

Initial triaging will add more verbose output to registration.log. This will provide more insight into reasons for failure.

Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Maverick):
status: New → In Progress
Dave Walker (davewalker)
Changed in eucalyptus (Ubuntu Maverick):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 2.0~bzr1233-0ubuntu2

eucalyptus (2.0~bzr1233-0ubuntu2) maverick; urgency=low

  [Scott Moser]
  * take the multiboot path only if kernel really is a multiboot
    image (LP: #622995)

  [Dave Walker (Daviey)]
  * debian/registration/{cluster,node,storage,walrus}: Added more verbose
    logging on failure, and state success/failure rather than just return code.
  * debian/uec-component-listener.upstart: Added sleep, as it was starting too
    early; often causing registration failures. (LP: #622698)

  [Clint Byrum]
  * debian/rules debian/eucalyptus-common.install: Fixing munin plugin install
  * Added README.Debian file to eucalyptus-common package to explain usage of
    munin plugin.
 -- Dave Walker (Daviey) <email address hidden> Wed, 25 Aug 2010 22:11:40 +0100

Changed in eucalyptus (Ubuntu Maverick):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.