Bug 871299 - User create cli command options are different from that provided in Headpin UI after configuring headpin for IPA
User create cli command options are different from that provided in Headpin U...
Status: NEW
Product: Subscription Asset Manager
Classification: Red Hat
Component: katello (Show other bugs)
1.3
x86_64 Linux
medium Severity medium
: rc
: ---
Assigned To: Angus Thomas
sthirugn@redhat.com
:
Depends On:
Blocks: sam20-tracker
  Show dependency treegraph
 
Reported: 2012-10-30 03:37 EDT by Tazim Kolhar
Modified: 2016-04-26 10:09 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
User add parameters for headpin configured w/ IPA (51.46 KB, image/png)
2012-10-30 03:37 EDT, Tazim Kolhar
no flags Details

  None (edit)
Description Tazim Kolhar 2012-10-30 03:37:22 EDT
Created attachment 635392 [details]
User add parameters for headpin configured w/ IPA

Description of problem:
User create cli command has different options than
the Headpin UI for same

Version-Release number of selected component (if applicable):
# rpm -qa | grep katello
katello-configure-1.2.0-1.git.265.9575201.el6.noarch
katello-headpin-1.2.1-1.git.215.fcf601d.el6.noarch
katello-common-1.2.1-1.git.215.fcf601d.el6.noarch
katello-cli-1.2.1-1.git.95.b2e3af2.el6.noarch
katello-cli-common-1.2.1-1.git.95.b2e3af2.el6.noarch
katello-glue-candlepin-1.2.1-1.git.215.fcf601d.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-certs-tools-1.1.9-1.el6.noarch
katello-selinux-1.1.2-1.el6.noarch
katello-headpin-all-1.2.1-1.git.215.fcf601d.el6.noarch


How reproducible:
# yum install -y katello-headpin-all
# katello-configure --deployment=headpin --user-name=admin --user-pass=**** --user-email=tkolhar@redhat.com --ldap-server=skyfire.lab.eng.pnq.redhat.com --auth-method=ldap --ldap-port=389 --ldap-server-type=':free_ipa' --ldap-users-basedn='dc=lab,dc=eng,dc=pnq,dc=redhat,dc=com' --ldap-group-basedn='dc=skyfire,dc=lab,dc=eng,dc=pnq,dc=redhat,dc=com' --ldap-roles=true --ldap-anon-queries=false --ldap-service-user=admin --ldap-service-pass=******

Steps to Reproduce:

1.# headpin -u admin -p **** user create --username inactive-user --default_organization ACME_Corporation --default_environment DEV
Usage:  headpin <options> user create <options>

headpin: errors:
1) Option --password is required; please see --help
2) Option --email is required; please see --help


2. # headpin -u admin -p **** user create --help
Usage:  headpin <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.


3. Login to UI admin/****
   Navigate to Administer ->Users
   + New User
   the options provided are different fro the cli .
3.a Screen shot attached

  
Actual results:


Expected results:


Additional info:

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