Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 924766

Summary: Display appropriate machine type when attaching 'virt only' subscriptions
Product: Red Hat Enterprise Linux 5 Reporter: Rehana <redakkan>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: bkearney, fsharath, jesusr, jgalipea, jmolet, jsefler, skallesh, spandey, wpoteat
Target Milestone: beta   
Target Release: 5.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 23:01:03 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: 840995, 920191    
Attachments:
Description Flags
Type
none
re-attached-type
none
virtual_type none

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