Red Hat Bugzilla – Bug 801300
missing description of 'ssh key' part in help page and man page for the 'rhc domain alter' command
Last modified: 2013-03-13 00:52:08 EDT
Description of problem:
List of commands
alter Alter namespace (will change urls).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.install latest rhc client
2.run command 'rhc domain -h'
Missing description of changing ssh key in the man page and help page for the 'alter' command. And it will change the ssh key as well.
like the old command's description:
[mengbo@localhost ~]$ rhc-create-domain -h
-a|--alter Alter namespace (will change urls) and/or ssh key
[mengbo@localhost ~]$ rhc domain alter -n bmeng1dev6
OpenShift Express key found at /home/mengbo/.ssh/libra_id_dsa. Reusing...
Found dev.rhcloud.com in ~/.ssh/config... No need to adjust
The original idea (at the time of designing/implementing the wrapper commands) was to decouple the ssh key alteration from the 'rhc domain alter' command and let the ssh keys be modified by the 'rhc sshkey ...' command alone.
As we remove the restrictions on having a default key and start treating all keys the same, we should probably treat this issue in a similar manner. I would suggest that 'rhc domain alter' command should only change the namespace and not modify the keys at all (we need to assess backward compatibility issues, though).
Just my two cents based on why I left out any mention of the ssh keys being modified from the command description.
Closing not a bug since we wish to encourage people to use rhc sshkey to alter sshkeys. The alter command does not modify the ssh key itself but may modify the ssh config file to add the new domain.