Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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 ***