Hide Forgot
Description of problem: CLI Register works with invalid org arguments Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: subscription-manager register --user=admin --password=admin --org=admin owner Or subscription-manager register --u admin --password admin --org donaldduck ownersssssss Actual results: The system has been registered with id: c76f1921-9258-4f35-9d6c-ffb94617f90f Expected results: Registration should fail saying "Organization/Owner admin owner does not exist" Additional info:
To specify an org with a space in the name, bash requires that you quote the value. Try this... subscription-manager register --user=admin --password=admin --org="admin owner" subscription-manager register --u admin --password admin --org "donaldduck ownersssssss"
see Bug 734114 - register with --org="foo bar" throws a NetworkException instead of a RestlibException
Closing this out since the quotes are required, and we have another bug with spaces already.