euca_conf --register-nodes should not return 0 if keys cannot be synced

Bug #531195 reported by Thierry Carrez
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Dustin Kirkland 
Dustin Kirkland 

Bug Description

Even if the key synchronization fails, euca_conf --register-nodes returns 0. This results in giving false information to the autoregistration process and making the situation difficult to debug.

This is due to the way the support for multiple IPs is coded: it will not fail (and return nonzero) on the first IP that fails but print out an error message, continue to try adding all the others, and always return 0 at the end. See around line 1437 for details.

Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I'm going to raise this priority to High. I've hit this several times, and it costs me quite a bit of time debugging before I realize that in fact the node registration did not succeed.

Changed in eucalyptus (Ubuntu Lucid):
importance: Medium → High
Revision history for this message
Mathias Gug (mathiaz) wrote :

Run into the same issue: the NC didn't have the public key from the CC (this was an install from packages and I had forgot to copy the CC public key to the NC).

Changed in eucalyptus (Ubuntu Lucid):
status: Triaged → In Progress
assignee: nobody → Dustin Kirkland (kirkland)
Changed in eucalyptus (Ubuntu Lucid):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6.2-0ubuntu22

eucalyptus (1.6.2-0ubuntu22) lucid; urgency=low

  * utils/wrappers.conf: add to the whitelist; this
    utility ensures that the arp tables are up to date, LP: #461829
  * tools/ make node registration/deregistration more
    robust, LP: #522204
  * tools/ exit non-zero if any of the node registrations
    fail, LP: #531195
 -- Dustin Kirkland <email address hidden> Tue, 23 Mar 2010 19:32:58 -0700

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

Duplicates of this bug

Other bug subscribers