Red Hat Bugzilla – Bug 815699
Can add duplicate sshkey value via rhc client.
Last modified: 2015-05-14 21:51:59 EDT
Description of problem:
It can add duplicate sshkey value using rhc client.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create the domain via rhc client.
2.Add a sshkey.
3.Add the same sshkey again.
It can add same sshkey successfully.
It should return proper message such as "You have already saved this public key with a different name. Provide a different key."
And the shouldn't add the sshkey successfully.
Tested this issue on devenv_1761, still can add the same sshkey uisng different name in CLI, this is not allowed on website. Details see in attachment.
Created attachment 582913 [details]
This is because the CLI is using the old broker API. We can't fix this until we refactor the CLI to use the new REST API. That's going to be one or more large stories. Until then this is CANTFIX