Thierry,

It looks as if this may be a documentation bug: --deregister-cluster and
--deregister-sc takes the 'name' of the cluster, instead of the 'host'
of the component.  I just tested with using the cluster name in both
cases, and de-registration is working.  However, there are a few issues:

1.) euca_conf --help shows this:

   --deregister-cluster <clustername>      remove cluster from EUCALYPTUS
   --deregister-sc <host>           remove storage controller from EUCALYPTUS

which is correct for 'cluster', but not for 'sc'.  I'll make this fix
and commit to 1.6.2 shortly.  The second is what to do in the case where
a user inputs an IP instead of a name.  The reason you're seeing
'success' is that de-registration is idempotent (i.e. when you de-
register a cluster named '192.168.1.1', the system will return 'success'
if, after the operation is performed, there is no cluster named
'192.168.1.1' registered with the CLC).  It may be worth putting in a
warning if the string that is passed to euca_conf looks like an IP
address, telling the user that they probably didn't mean to put in an IP
(though, one can use such a string as the name of a cluster).

Thoughts?

-Dan

-- 
CCs or SCs cannot be deregistered
https://bugs.launchpad.net/bugs/551778
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to