Bug 1011748
| Summary: | Headpin Nightly : User create command fails in cli | ||
|---|---|---|---|
| Product: | [Retired] Subscription Asset Manager | Reporter: | Tazim Kolhar <tkolhar> |
| Component: | katello | Assignee: | Og Maciel <omaciel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tazim Kolhar <tkolhar> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Nightly | CC: | bkearney, cwelton, omaciel, sthirugn, tomckay |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-27 21:33:29 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 971511 | ||
I believe this is happening with the fix from https://bugzilla.redhat.com/show_bug.cgi?id=1005429 Works fine in SAM 1.4.
# headpin -u admin -p admin user create --username='test1' --password='test' --email='test'
Successfully created user [ test1 ]
]# headpin -u admin -p admin user list
-------------------------------------------------------------------------------------
User List
ID Username Email Disabled Default Organization Default Environment
-------------------------------------------------------------------------------------
8 test1 test False None None
|
Description of problem: User create command fails in cli Version-Release number of selected component (if applicable): # rpm -qa | grep katello katello-glue-candlepin-1.4.7-1.el6.noarch katello-selinux-1.4.4-1.git.1.7abb02b.el6.noarch katello-cli-1.4.3-1.git.59.d519f2d.el6.noarch katello-cli-common-1.4.3-1.git.59.d519f2d.el6.noarch katello-certs-tools-1.4.4-1.el6.noarch signo-katello-0.0.21-1.el6.noarch katello-headpin-1.4.7-1.el6.noarch katello-common-1.4.7-1.el6.noarch katello-headpin-all-1.4.7-1.el6.noarch katello-configure-1.4.6-1.git.1.c31ada4.el6.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-glue-elasticsearch-1.4.7-1.el6.noarch katello-repos-1.4.2-1.el6.noarch How reproducible: # yum install -y katello-headpin-all # katello-configure --deployment=headpin --user-pass=*** Steps to Reproduce: 1.# headpin -u admin -p admin user create --username testuser --password redhat --email testuser error: Values instance has no attribute 'default_environment' (more in the log file /var/log/katello/client.log) 2.# headpin -u admin -p admin user list -------------------------------------------------------------------------------- User List ID Username Email Disabled Default Organization Default Environment -------------------------------------------------------------------------------- 1 admin root@localhost False None None 3. One of the latest automation test report - http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/job/official-headpin-cli/262/ReportNG_Report/ Actual results: Expected results: Additional info: