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 - [cli] create user with default org, environment is broken
Summary: [cli] create user with default org, environment is broken
Keywords:
Status: CLOSED DUPLICATE of bug 920135
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Bryan Kearney
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-16 12:02 UTC by Garik Khachikyan
Modified: 2015-01-04 21:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-16 12:09:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.