Bug 952667

Summary: [cli] create user with default org, environment is broken
Product: Red Hat Satellite Reporter: Garik Khachikyan <gkhachik>
Component: katello-agentAssignee: Bryan Kearney <bkearney>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: NightlyCC: mkoci
Target Milestone: UnspecifiedKeywords: Regression
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-16 12:09:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Garik Khachikyan 2013-04-16 12:02:49 UTC
Description of problem:
invoking CLI katello user create --default_{org,environment} is processing with exit code: 0 but the user list returns 'None' for their values (user info as well).

Version-Release number of selected component (if applicable):
recent nightly:
---
katello-certs-tools-1.4.1-1.el6.noarch
katello-configure-1.4.1-1.git.7.352c159.el6.noarch
katello-common-1.4.1-1.git.36.ef50faf.el6.noarch
katello-selinux-1.4.1-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-common-1.4.1-1.git.20.0449d61.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-agent-1.4.1-1.el6.noarch
katello-glue-pulp-1.4.1-1.git.36.ef50faf.el6.noarch
katello-glue-elasticsearch-1.4.1-1.git.36.ef50faf.el6.noarch
katello-1.4.1-1.git.36.ef50faf.el6.noarch
katello-cli-1.4.1-1.git.20.0449d61.el6.noarch
katello-repos-1.4.1-1.el6.noarch
katello-glue-candlepin-1.4.1-1.git.36.ef50faf.el6.noarch
katello-all-1.4.1-1.git.36.ef50faf.el6.noarch
---

How reproducible:
always

Steps to Reproduce:
1.user create --username garik --password <secret> --email root@localhost --default_environment Testing --default_organization test
2.user list (or: user info --username garik)
3.
  
Actual results:
they contain both None-s for default org and environment

Expected results:
proper default values for the org and environment

Additional info:

Comment 1 Garik Khachikyan 2013-04-16 12:09:49 UTC

*** This bug has been marked as a duplicate of bug 920135 ***