Doc bug: euca_conf --deregister-sc must be used with a cluster name
Bug #551778 reported by
Thierry Carrez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Invalid
|
Undecided
|
graziano obertelli | ||
2.0 |
Fix Released
|
Low
|
graziano obertelli | ||
eucalyptus (Ubuntu) |
Fix Released
|
Low
|
Dustin Kirkland | ||
Lucid |
Fix Released
|
Low
|
Dustin Kirkland |
Bug Description
According to man page, --deregister-sc takes a "host" as a parameter.
Trying:
$ sudo euca_conf --deregister-sc <HOSTorIP>
SUCCESS: Storage controller for cluster '<HOSTorIP>' successfully deregistered.
However it appears to not change anything.
According to Dan (comment 1) this is a documentation bug (parameter should be the cluster name and not the host). I find the euca_conf SUCCESS message is kinda misleading, since it seems to imply SUCCESS in the deregistration operation, but I can live with that :)
Changed in eucalyptus (Ubuntu): | |
status: | Triaged → Fix Committed |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in eucalyptus: | |
assignee: | nobody → Mitch Garnaat (mitch-garnaat) |
Changed in eucalyptus: | |
assignee: | Mitch Garnaat (mitch-garnaat) → graziano obertelli (graziano.obertelli) |
To post a comment you must log in.
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