Bug 924766 - Display appropriate machine type when attaching 'virt only' subscriptions
Summary: Display appropriate machine type when attaching 'virt only' subscriptions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 5.10
Assignee: William Poteat
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510 rhsm-2013
TreeView+ depends on / blocked
 
Reported: 2013-03-22 13:15 UTC by Rehana
Modified: 2013-09-30 23:01 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 23:01:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Type (79.03 KB, image/png)
2013-03-22 13:15 UTC, Rehana
no flags Details
re-attached-type (78.08 KB, image/png)
2013-05-02 06:38 UTC, Rehana
no flags Details
virtual_type (63.92 KB, image/png)
2013-06-21 06:31 UTC, Rehana
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

Description Rehana 2013-03-22 13:15:34 UTC
Created attachment 714540 [details]
Type

Description of problem:
During virt-who feature testing, observed that the attached virt-only subscriptions are not displaying the machine type as virtual, instead it displayed as "physical"

Version-Release number of selected component (if applicable):
rpm -qa | grep subscrip
subscription-manager-firstboot-1.1.23.1-1.el6_4.x86_64
subscription-manager-migration-1.1.23.1-1.el6_4.x86_64
subscription-manager-1.1.23.1-1.el6_4.x86_64
subscription-manager-debuginfo-1.1.23.1-1.el6_4.x86_64
subscription-manager-gui-1.1.23.1-1.el6_4.x86_64

How reproducible:
100%

Steps to Reproduce:
1.register physical machine 
2.register virtual machine
3.list the avaiable subscription
4.Attach "virt-only" subscription
5.Subscription details section under my subscription of "virt-only" pool displays "type" as 'physical'(PFA)
  
Actual results:
Currently displaying "physical" as the type 


Expected results:
Should display type as "virtual"

Additional info:

Comment 3 RHEL Program Management 2013-04-09 20:16:50 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 4 Bryan Kearney 2013-05-01 20:31:22 UTC
Do you have a screen shot of what you are seeing? Also, in your steps, are you assuming that he guest on (2) is running on the host from (1)? If so, you need to run virt-what to connect the host to the guest to make the host specific pools show up.

Comment 5 Rehana 2013-05-02 06:38:06 UTC
I have re-attached the screenshot with highlighing "type".(PFA:re-attach)

Yes the virtual machine in step 2 is running on the host at step 1. 
and both had same version of subscription manager

Here my observation was "Type" being shown as "Phyiscal" for "virt-only" subscription , and was expecting the "type" to be marked as "Virtual"

Comment 6 Rehana 2013-05-02 06:38:46 UTC
Created attachment 742492 [details]
re-attached-type

Comment 7 William Poteat 2013-06-10 18:31:52 UTC
master commit 101838ecd06278f5abcce3e969cad5632acf9430

Comment 9 Rehana 2013-06-21 06:30:41 UTC
Observed that "type" is displayed as "Virtual" when virt-only, or virt-subpools are attached (PFA:virtual_type.png)

moving this bug to Verified 

on 
[root@localhost rhsm]# rpm -qa | grep subscr
subscription-manager-gui-1.8.11-1.el5_9
subscription-manager-migration-1.8.11-1.el5_9
subscription-manager-firstboot-1.8.11-1.el5_9
subscription-manager-debuginfo-1.8.11-1.el5_9
subscription-manager-1.8.11-1.el5_9
[root@localhost rhsm]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.15-1
subscription-manager: 1.8.11-1.el5_9
python-rhsm: 1.8.12-1.el5_9

Comment 10 Rehana 2013-06-21 06:31:38 UTC
Created attachment 763673 [details]
virtual_type

Comment 12 errata-xmlrpc 2013-09-30 23:01:03 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-1332.html


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