Bug 1005429 - Remove --default_environment from user create command
Summary: Remove --default_environment from user create command
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Katello Bug Bin
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On:
Blocks: sam20-tracker
TreeView+ depends on / blocked
 
Reported: 2013-09-06 22:23 UTC by sthirugn@redhat.com
Modified: 2017-06-26 20:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-26 20:39:39 UTC
Embargoed:


Attachments (Terms of Use)

Description sthirugn@redhat.com 2013-09-06 22:23:51 UTC
Description of problem:
Remove --default_organization from user create command

Version-Release number of selected component (if applicable):
* candlepin-0.8.25-1.el6sam.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.8.25-1.el6sam.noarch
* candlepin-tomcat6-0.8.25-1.el6sam.noarch
* elasticsearch-0.19.9-8.el6sat.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.4.2-2.el6sat.noarch
* katello-cli-1.4.3-10.el6sat.noarch
* katello-cli-common-1.4.3-10.el6sat.noarch
* katello-common-1.4.3-12.el6sam_splice.noarch
* katello-configure-1.4.4-4.el6sat.noarch
* katello-glue-candlepin-1.4.3-12.el6sam_splice.noarch
* katello-glue-elasticsearch-1.4.3-12.el6sam_splice.noarch
* katello-headpin-1.4.3-12.el6sam_splice.noarch
* katello-headpin-all-1.4.3-12.el6sam_splice.noarch
* katello-selinux-1.4.4-2.el6sat.noarch
* thumbslug-0.0.34-1.el6sam.noarch
* thumbslug-selinux-0.0.34-1.el6sam.noarch

How reproducible:
Always

Steps to Reproduce:
1. sam> user create --help
Usage:   <options> user create <options>
Options:
  -h, --help            show this help message and exit
  --username=USERNAME   user name (required)
  --password=PASSWORD   initial password (required)
  --email=EMAIL         email (required)
  --disabled=DISABLED   disabled account (default is 'false')
  --default_organization=DEFAULT_ORGANIZATION
                        user's default organization name
  --default_environment=DEFAULT_ENVIRONMENT
                        user's default environment name
  --default_locale=DEFAULT_LOCALE
                        user's default locale
  -g                    grep friendly output
  -v                    verbose, more structured output
  -d DELIMITER          column delimiter in grep friendly output, works only
                        with option -g
  --noheading           Suppress any heading output. Useful if grepping the
                        output.
2. sam> user create --username user1 --default_environment=QA --password user10n3 --email test --default_organization ACME_Corporation
Could not find environment [ QA ] within organization [ ACME_Corporation ]


Actual results:
--default_environment is accepted as a valid argument for user create

Expected results:
1. headpin: error: no such option: --default_environment
2. Also help text should not show --default_environment option at all

Additional info:

Comment 1 sthirugn@redhat.com 2013-09-06 22:34:10 UTC
Description of Problem:
Remove --default_environment from user create command 

(and not --default_organization)

Comment 2 Og Maciel 2013-09-06 22:41:32 UTC
https://github.com/Katello/katello-cli/pull/76

Comment 4 Bryan Kearney 2017-06-26 20:39:39 UTC
The release of Satellite 5.8 we are deprecating the support of Subscription Asset Manager. The release notes for 5.8 can be found at https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/pdf/release_notes/Red_Hat_Satellite-5.8-Release_Notes-en-US.pdf.

I am therefore closing out this bug as WONTFIX. If you believe this to be an error, please feel free tor each out to either Rich Jerrido or Bryan Kearney. Thank you!


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