RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 872351 - subscription-manager identity and facts gui dialog should display the registered consumer's environment value
Summary: subscription-manager identity and facts gui dialog should display the registe...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 7.0
Assignee: candlepin-bugs
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2012-11-01 20:42 UTC by John Sefler
Modified: 2014-06-18 00:23 UTC (History)
4 users (show)

Fixed In Version: 1.8.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 11:40:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
current environment is needed in the facts dialog gui too (66.95 KB, image/png)
2012-11-01 20:42 UTC, John Sefler
no flags Details

Description John Sefler 2012-11-01 20:42:14 UTC
Created attachment 636834 [details]
current environment is needed in the facts dialog gui too

Description of problem:
As use of katello and sam increase, it's time for subscription-manager and subscription-manager-gui to report the environement value used during a register to sam/katello.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:
[root@jsefler-6 ~]# subscription-manager identity
server type: RHN Classic and Red Hat Subscription Management
Current identity is: 4d9dd588-b3fd-464c-9f57-67e9fbc77eee
name: jsefler-6.usersys.redhat.com
org name: Admin Owner
org id: admin
environment: DEV        <======  Something like this is needed

Also see attached screenshot for gui



Additional info:

Comment 2 Alex Wood 2012-12-05 16:27:43 UTC
commit d9e3c3f86cb007a63978585ea95c0647a3091dee
Author: Alex Wood <awood>
Date:   Wed Dec 5 10:55:44 2012 -0500

    Display "None" if environments value is empty on consumer.

commit 855274477a4d41025dbc618e7af852025ec51e62
Author: Alex Wood <awood>
Date:   Tue Dec 4 16:29:40 2012 -0500

    872351: Display environment in GUI facts dialog and CLI identity command.

Comment 4 Bryan Kearney 2013-02-08 17:18:12 UTC
Fixed in the 1.8.2 version of subscription-manager or python-rhsm

Comment 5 Shwetha Kallesh 2013-02-25 14:57:13 UTC
Failed On_QA

[root@rhel7 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.7.25-1
subscription-manager: 1.8.3-1.el7
python-rhsm: 1.8.3-1.el7
[root@rhel7 ~]# subscription-manager identity
Current identity is: 79f566ce-7f9c-4e2e-be59-3a526091ada4
name: rhel7
org name: Admin Owner
org id: admin

Comment 6 Alex Wood 2013-02-25 15:50:49 UTC
What Candlepin instance are you registered against?  If the Candlepin instance the system is registered against does not support the "environments" resource, the identity command will not print out the environment.

Comment 7 John Sefler 2013-10-15 16:25:26 UTC
This should be tested/verified against a katello/SAM server that supports environments.

Don't forget to test the facts dialog in subscription-manager-gui too.

Moving back to ON_QA

Comment 8 spandey 2013-10-25 11:41:23 UTC
Verified Using Rhel7 with following Setup 

 
[root@dhcp201-228 /]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 1.4.6-40.el6sat-Katello
subscription-manager: 1.10.4-1.el7
python-rhsm: 1.10.3-1.el7



[root@dhcp201-228 /]# subscription-manager identity
Current identity is: 92fc9692-5ddb-4bd5-97b6-2c75d4993508
name: dhcp201-228.englab.pnq.redhat.com
org name: ACME_Corporation
org ID: ACME_Corporation
environment name: Library

Working fine with subscription-manager gui

Resolving defect to verified

Comment 10 Ludek Smid 2014-06-13 11:40:40 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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