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 950146

Summary: virt.host_type fact does not appear in GUI
Product: Red Hat Enterprise Linux 5 Reporter: Sharath Dwaral <fsharath>
Component: subscription-managerAssignee: Shwetha Kallesh <skallesh>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: bkearney, jgalipea, skallesh
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:05:55 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
One of the facts in GUI virt class is missing
none
virt.host_type appears
none
Virt_guest type appears after being registered
none
Virt_guest type appears when unregistered none

Description Sharath Dwaral 2013-04-09 18:24:43 UTC
Created attachment 733314 [details]
One of the facts in GUI virt class is missing

Description of problem:
Fact "virt.host_type" does not appear in the GUI.

Version-Release number of selected component (if applicable):
subscription-manager-gui-1.8.5-1.git.22.05fedb3.el6.x86_64
subscription-manager-migration-data-1.12.2.6-1.git.0.171d4c3.el6.noarch
python-rhsm-1.8.8-1.git.0.c7ea5c0.el6.x86_64
subscription-manager-migration-1.8.5-1.git.22.05fedb3.el6.x86_64
subscription-manager-firstboot-1.8.5-1.git.22.05fedb3.el6.x86_64
subscription-manager-1.8.5-1.git.22.05fedb3.el6.x86_64

How reproducible:
Always

Steps to Reproduce:

CLI Output: 

# subscription-manager facts --list | grep "virt\."
virt.host_type: kvm
virt.is_guest: True
virt.uuid: e98648c3-c9de-3b11-cfc8-636baecd8632

GUI Output:

Please see attachment

  
Actual results:
> virt.host_type does not appear in GUI

Expected results:
> virt.host_type should appear in GUI

Additional info:

Comment 1 RHEL Program Management 2013-04-09 20:15:36 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 2 Bryan Kearney 2013-04-29 21:09:21 UTC
Sharath, can you let me know if this is the same as 921249? If so, there is a fix on that bug.

Comment 3 Sharath Dwaral 2013-04-30 13:10:41 UTC
Created attachment 741876 [details]
virt.host_type appears

# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-migration-1.8.6-1.git.7.96019b0.el5
python-rhsm-1.8.9-1.git.7.214419e.el5
subscription-manager-migration-data-1.11.2.7-1.git.0.1dfd00e.el5
subscription-manager-1.8.6-1.git.7.96019b0.el5
subscription-manager-firstboot-1.8.6-1.git.7.96019b0.el5
subscription-manager-gui-1.8.6-1.git.7.96019b0.el5

Facts virt.host_type appears on GUI now.

Additional Information:
Compare the attachments in comment 1 and this.

Comment 4 Sharath Dwaral 2013-04-30 13:11:20 UTC
Verified

Comment 5 Sharath Dwaral 2013-05-15 17:46:49 UTC
Reopening the bug

# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-migration-1.8.7-1.git.40.c4425a0.el5
subscription-manager-1.8.7-1.git.40.c4425a0.el5
subscription-manager-gui-1.8.7-1.git.40.c4425a0.el5
subscription-manager-firstboot-1.8.7-1.git.40.c4425a0.el5
python-rhsm-1.8.11-1.git.0.39d1a53.el5
subscription-manager-migration-data-1.11.3.1-1.git.1.78afd75.el5

The fact  "virt.host_type" disappears from GUI when the system is registered and appears when the system is unregistered.

Comment 6 Sharath Dwaral 2013-05-15 17:49:14 UTC
Those are the two scenarios shown in comment 1 (system registered) and comment 3 (system unregistered).

Comment 7 Bryan Kearney 2013-05-31 19:05:07 UTC
I have tested this on fedora 18 with 1.8.9 of subscription manager. It appears to be fixed. I did the following:


1. Pull up subscription-manager-gui.
2. View the facts dialog, expand the one called virt, and see 2 items.
3. Close the facts dialog, register, and do step 2 again. No change.
4. Close the facts dialog, unregister, and do step 2 again. No change.

Comment 8 Shwetha Kallesh 2013-06-03 13:29:22 UTC
Created attachment 756303 [details]
Virt_guest type appears after being registered

Marking verified!!

[root@localhost ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.8.10-1
subscription-manager: 1.8.9-1.el5
python-rhsm: 1.8.12-1.el5

Comment 9 Shwetha Kallesh 2013-06-03 13:32:57 UTC
Created attachment 756304 [details]
Virt_guest type appears when unregistered

Comment 11 errata-xmlrpc 2013-09-30 23:05:55 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