[Bug 444504] [NEW] Autoregistration through upstart, while working, uses strange ways

Thierry Carrez thierry.carrez at ubuntu.com
Tue Oct 6 13:12:12 BST 2009


Public bug reported:

20091006 CD install, eucalyptus 1.6~bzr912-0ubuntu1
Autoregistration works, however strange lines appear in /var/log/syslog:

init: eucalyptus-cc post-start process (959) terminated with status 1
init: eucalyptus-cloud post-start process (896) terminated with status 1
init: eucalyptus-sc post-start process (897) terminated with status 1
init: eucalyptus-walrus post-start process (898) terminated with status 1

Instrumenting the jobs, here is what happens on a eucalyptus start:
eucalyptus-sc poststart begin
eucalyptus-cloud poststart begin
eucalyptus-walrus poststart begin
[sc, cloud and walrus loop several times waiting for the test to succeed]
eucalyptus-cc poststart begin
[cc poststart exits 1 immediately]
[after 27 tries, eucalyptus-cloud poststart exits with 0, success!]
eucalyptus-cc-registration begin
eucalyptus-cc-registration end [successful cc registration]
[sc and walrus poststart still loop, then after 60 tries:]
eucalyptus-walrus poststart exit 1
eucalyptus-walrus-reg begin
eucalyptus-sc poststart exit 1
eucalyptus-sc-reg begin
eucalyptus-sc-reg end [successful sc registration]
eucalyptus-walrus-reg end [successful walrus registration]

Several issues here:
* eucalyptus-{cc,sc,cloud,walrus} are considered started even if their post-start script exits with 1, so registration runs in all cases
* eucalyptus-cc has a typo that makes it always return 1 immediately (| grep on a separate line)
* The post-start test in eucalyptus-{sc,walrus} always fails, so it always returns 1 at the end of the timeout

** Affects: eucalyptus (Ubuntu)
     Importance: Medium
         Status: New

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

-- 
Autoregistration through upstart, while working, uses strange ways
https://bugs.launchpad.net/bugs/444504
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