Bug 995242
| Summary: | GUI: The value for Org Name in facts dialog is different from that displayed in CLI | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] Candlepin (Migrated to Jira) | Reporter: | Sharath Dwaral <fsharath> | ||||||
| Component: | candlepin | Assignee: | Alex Wood <awood> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 0.9 | CC: | awood, bkearney, dcrissman, jesusr, jgalipea | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-09-29 19:05:27 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: | 863175 | ||||||||
| Attachments: |
|
||||||||
This appears to be an inconsistency on the Candlepin side.
getOwnerList is used by the CLI
In [17]: cp.getOwnerList("2013sku")
Out[17]:
[{'contentPrefix': None,
'defaultServiceLevel': None,
'displayName': 'Red Hat',
'href': '/owners/6786288',
'id': None,
'key': '6786288',
'parentOwner': None,
'upstreamConsumer': None}]
getOwner is used by the GUI
In [19]: consumer_auth_cp.getOwner(identity.uuid)
Out[19]:
{'contentPrefix': None,
'created': '2013-06-17T15:36:18.000+0000',
'defaultServiceLevel': None,
'displayName': '6786288',
'href': '/owners/6786288',
'id': '8a99f9843f3ddee1013f52c792c1615b',
'key': '6786288',
'parentOwner': None,
'updated': '2013-06-17T15:36:18.000+0000',
'upstreamConsumer': None}
I believe that this bug should now be fixed. The IT service adapters recently changed to read from cp_owner when findUserByLogin() is called. Please retest this. Created attachment 870481 [details]
Snapshot of GUI and CLI facts
Version:
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown
subscription-manager: 1.10.14-3.el7
python-rhsm: 1.10.12-1.el7
Verification:
Please see attachment
The values displayed in the GUI and CLI match
VERIFIED
These bugs were fixed during 7.0 but not moved to CLOSED. They have been delivered |
Created attachment 784585 [details] Org name in GUI different from CLI Description of problem: Organization and organization ID are the same in GUI for STAGE SERVERS ONLY. The value for Org Name is different from that displayed in CLI Version-Release number of selected component (if applicable): # rpm -qa | egrep "subscription-manager|python-rhsm" subscription-manager-gui-1.8.18-1.el5 subscription-manager-migration-data-1.11.3.2-1.git.0.14f9d59.el5 python-rhsm-1.8.16-1.el5 subscription-manager-migration-1.8.18-1.el5 subscription-manager-1.8.18-1.el5 subscription-manager-firstboot-1.8.18-1.el5 python-rhsm-debuginfo-1.8.16-1.el5 subscription-manager-debuginfo-1.8.18-1.el5 How reproducible: ALWAYS Steps to Reproduce: Register to "STAGE SERVER" See attachment Actual results: See Attachment Expected results: Name and ID should be different as shown in terminal. Additional info: