Description of problem: When creating a namespace by using "oo-admin-ctl-domain" in the broker, it returns “Please provide login, ssh key and namespace to create the user“. Seem like oo-admin-ctl-domain still require user input ssh key. For now, ssh keys and domain are managed separately by rhc client, ssh key is not a must for creating namespace, so oo-admin-ctl-domain should also be updated to do that. Even when this user already has an existing ssh key, just want to create a namespace, still report the same prompt. Version-Release number of selected component (if applicable): devenv-stage_435 devenv_3605 How reproducible: always Steps to Reproduce: 1. Ensure a user does not have a namespace. 2.Create a domain in the broker using oo-admin-ctl-domain. #oo-admin-ctl-domain -c create -l nwei -n domainname Actual results: The output of oo-admin-ctl-domain is the following: Please provide login, ssh key and namespace to create the user Expected results: When creating a namespace using oo-admin-ctl-domain, it should not require input ssh key. Additional info:
We need to make the ssh key optional. Add it to the user, if it is provided but not treat as a validation failure if it isn't provided.
Fixed with --> https://github.com/openshift/origin-server/pull/3417
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/e876ea9de4ac82e5b9cbd39059f039e4cdc92f8b Fix for bug 991398
Verified on devenv_3576, the sshkey is not mandatory now. [root@ip-10-178-7-176 ~]# oo-admin-ctl-domain -c create -l test -n test Successfully created user. Successfully created domain. [root@ip-10-178-7-176 ~]# oo-admin-ctl-domain -l test RHLogin: test Namespace: test SSH keys: Applications: