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 1009600 - Show System Type in list --consumed; Show System Type in attach confirmation gui dialog.
Summary: Show System Type in list --consumed; Show System Type in attach confirmatio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michael Stead
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel65
TreeView+ depends on / blocked
 
Reported: 2013-09-18 16:51 UTC by Michael Stead
Modified: 2013-11-21 21:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Feature: Add System Type: Virtual/Physical to the output. Reason: Allows the user to determine if the entitlement granted was virtual. Result (if any):
Clone Of:
Environment:
Last Closed: 2013-11-21 21:29:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Type of subscription being attached (404.79 KB, image/png)
2013-09-24 21:14 UTC, Sharath Dwaral
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1659 0 normal SHIPPED_LIVE subscription-manager and python-rhsm bug fix and enhancement update 2013-11-20 21:53:10 UTC

Description Michael Stead 2013-09-18 16:51:03 UTC
Description of problem:
After a subscription is attached, there is no way via 'list --consumed' to determine if the entitlement granted was virtual.

Add System Type: Virtual/Physical  to the output.


Durning an autobind in the GUI, once the best pools for an SLA are selected, there is no way to determine in the confirmation dialog if the subscription is for a Virtual or Physical machine.

Add a Type: Virtual/Physical column to the confirm subscription list.

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


How reproducible:


Steps to Reproduce:

CLI
1. Attach a virtual and physical subscription.
2. Run: subscription-manager list --consumed
3. System Type: [Physical|Virtual] should be displayed

GUI
1. Start autobind in the GUI during registration (or by clicking the Auto-Attach button.
2. After SLA selection (if more than one match) the confirmation dialog will show the selected subscriptions.
3. There should be a Type column showing Virtual or Physical for each selected subscription.

Comment 1 Michael Stead 2013-09-18 16:53:25 UTC
Fixed by: https://github.com/candlepin/subscription-manager/pull/770

Comment 3 John Sefler 2013-09-24 16:26:42 UTC
CLI Verification...
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.9.7-1.el6.x86_64


[root@jsefler-6 ~]# subscription-manager list --avail
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+
Subscription Name: RAM Limiting Package (8GB)
SKU:               ram-8gb
Pool ID:           8a9086d3414bd57701414bd72a4707ef
Available:         10
Suggested:         1
Service Level:     None
Service Type:      
Multi-Entitlement: No
Ends:              09/22/2014
System Type:       Physical

Subscription Name: Awesome OS with unlimited virtual guests
SKU:               awesomeos-virt-unlimited
Pool ID:           8a9086d3414bd57701414bd7295007a6
Available:         Unlimited
Suggested:         1
Service Level:     None
Service Type:      
Multi-Entitlement: No
Ends:              09/22/2014
System Type:       Virtual

[root@jsefler-6 ~]# subscription-manager attach --pool 8a9086d3414bd57701414bd72a4707ef --pool 8a9086d3414bd57701414bd7295007a6
Successfully attached a subscription for: RAM Limiting Package (8GB)
Successfully attached a subscription for: Awesome OS with unlimited virtual guests

[root@jsefler-6 ~]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Awesome OS with unlimited virtual guests
Provides:          Awesome OS Server Bits
SKU:               awesomeos-virt-unlimited
Contract:          145
Account:           12331131231
Serial:            7742634658980306046
Pool ID:           8a9086d3414bd57701414bd7295007a6
Active:            True
Quantity Used:     1
Service Level:     
Service Type:      
Status Details:    
Starts:            09/22/2013
Ends:              09/22/2014
System Type:       Virtual              <========= VERIFIED

Subscription Name: RAM Limiting Package (8GB)
Provides:          RAM Limiting Product
SKU:               ram-8gb
Contract:          169
Account:           12331131231
Serial:            7381188811441014251
Pool ID:           8a9086d3414bd57701414bd72a4707ef
Active:            True
Quantity Used:     1
Service Level:     
Service Type:      
Status Details:    
Starts:            09/22/2013
Ends:              09/22/2014
System Type:       Physical             <========= VERIFIED

[root@jsefler-6 ~]# 


VERIFIED: The CLI list --consumed now displays the System Type corresponding to the pool that the entitlement came from.

Comment 4 Sharath Dwaral 2013-09-24 21:14:08 UTC
Created attachment 802475 [details]
Type of subscription being attached

Version:
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-1.9.7-1.el6.x86_64
subscription-manager-migration-1.9.7-1.el6.x86_64
subscription-manager-firstboot-1.9.7-1.el6.x86_64
python-rhsm-debuginfo-1.9.6-1.el6.x86_64
subscription-manager-debuginfo-1.9.7-1.el6.x86_64
python-rhsm-1.9.6-1.el6.x86_64
subscription-manager-gui-1.9.7-1.el6.x86_64

Verification:

See Attachment

VERIFIED

Comment 5 errata-xmlrpc 2013-11-21 21:29:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1659.html


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