Description of problem: When creating null domain by oo-admin-ctl-domain, will meet "Mongoid::Errors::Validations" errors Version-Release number of selected component (if applicable): devenv_stage_448 How reproducible: always Steps to Reproduce: 1. SSH into this instance 2. Create an null domain with new account by oo-admin-ctl-domain oo-admin-ctl-domain -c create -n '' -l chun Actual results: /opt/rh/ruby193/root/usr/share/gems/gems/mongoid-3.0.21/lib/mongoid/persistence.rb:310:in `fail_validate!': (Mongoid::Errors::Validations) Problem: Validation of Domain failed. Summary: The following errors were found: Namespace Invalid namespace. Namespace must only contain alphanumeric characters., Namespace Must be a minimum of 1 and maximum of 16 characters. Resolution: Try persisting the document with valid data or remove the validations. from /opt/rh/ruby193/root/usr/share/gems/gems/mongoid-3.0.21/lib/mongoid/persistence.rb:96:in `save!' from /usr/sbin/oo-admin-ctl-domain:165:in `<main>' Expected results: Should prompt friendly messages for this. Additional info:
This should be fixed with --> https://github.com/openshift/origin-server/pull/3604
It's fixed, verified on devenv_3776, please refer to the following results: # oo-admin-ctl-domain -c create -n '' -l chun Please provide login and namespace to create the domain