euca_conf --register-sc returns success even though it fails

Bug #431832 reported by Soren Hansen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Fix Released
Medium
Daniel Nurmi

Bug Description

This transcript says it all:

soren@aalborg2:~$ sudo euca_conf --register-sc sc1 localhost
  <CloudVersion>1.6-devel</CloudVersion>
Adding SC localhost to cluster sc1
http://127.0.0.1:8773/services/Configuration?AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterStorageController&Host=localhost&Name=sc1&Port=8773&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2009-09-17T14%3A46%3A15.000Z&Version=eucalyptus&Signature=fDaaYGb+kpCrzs1Nb3h/QQ3RuzWYbBn/e9XBkM0CkZU=
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>Configuration</faultcode><faultstring>Storage controllers may only be registered with a corresponding Cluster of the same name. No cluster found with the name: sc1</faultstring><detail></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
SUCCESS: new SC for cluster 'sc1' on host 'localhost' successfully registered.
soren@aalborg2:~$ sudo euca_conf --register-sc dk-north-1 localhost
  <CloudVersion>1.6-devel</CloudVersion>
Adding SC localhost to cluster dk-north-1
http://127.0.0.1:8773/services/Configuration?AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterStorageController&Host=localhost&Name=dk-north-1&Port=8773&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2009-09-17T14%3A49%3A36.000Z&Version=eucalyptus&Signature=MbTT5W3MHyQDvDQzcfd0pZJJYVsRqhJSb6xqmr3viiU=
<euca:RegisterStorageControllerResponse xmlns:euca="http://msgs.eucalyptus.ucsb.edu"><euca:RegisterComponentResponse><euca:ConfigurationMessage><euca:correlationId>c28e6517-8586-4057-b467-2220496679d1</euca:correlationId><euca:userId>admin</euca:userId><euca:effectiveUserId>eucalyptus</euca:effectiveUserId><euca:_return>true</euca:_return></euca:ConfigurationMessage></euca:RegisterComponentResponse></euca:RegisterStorageControllerResponse>
SUCCESS: new SC for cluster 'dk-north-1' on host 'localhost' successfully registered.

First time, an error is returned from the cloud controller saying that
the sc name needs to match a cluster name, but euca_conf claims success.

 affects ubuntu/eucalyptus
 importance medium
 status triaged

Revision history for this message
Matt Zimmerman (mdz) wrote :

Dan says he is highly confident this is already fixed, and he will provide a reference

Changed in eucalyptus (Ubuntu):
assignee: nobody → Daniel Nurmi (nurmi)
Revision history for this message
Daniel Nurmi (nurmi) wrote :

This issue was resolved in Eucalyptus revnos 754-758, which addressed multiple register/de-register issues.

Changed in eucalyptus (Ubuntu):
status: Triaged → 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.