Bug 1415708
| Summary: | upgrade to latest rhsm version sets the fact "virt.is_guest" to unknown | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Shwetha Kallesh <skallesh> |
| Component: | subscription-manager | Assignee: | Alex Wood <awood> |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.4 | CC: | bcourt, khowell, redakkan, skallesh, thozza |
| Target Milestone: | rc | Keywords: | Regression, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-01 19:20:42 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: | |||
|
Description
Shwetha Kallesh
2017-01-23 13:40:40 UTC
What architecture and virtualization type was the machine you ran this test on? To find the architecture: python -c 'import platform; print(platform.machine())' To find the virtualization type: virt-what [root@bkr-hv03-guest05 ~]# python -c 'import platform; print(platform.machine())' x86_64 [root@bkr-hv03-guest05 ~]# virt-what kvm I lost that beaker machine , but I can still reproduce on a newly reserved machine Before Updating: [root@bkr-hv03-guest05 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 0.9.51.11-1 subscription management rules: 5.15 subscription-manager: 1.18.8-1.el6 python-rhsm: 1.18.6-1.el6 [root@bkr-hv03-guest05 ~]# subscription-manager facts --list | grep "guest" network.fqdn: bkr-hv03-guest05.dsal.lab.eng.bos.redhat.com network.hostname: bkr-hv03-guest05.dsal.lab.eng.bos.redhat.com uname.nodename: bkr-hv03-guest05.dsal.lab.eng.bos.redhat.com virt.is_guest: True After Updating: [root@bkr-hv03-guest05 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 0.9.51.11-1 subscription management rules: 5.15 subscription-manager: 1.19.1-1.git.0.9d9da76.el6 python-rhsm: 1.19.0-1.git.2.cb8193d.el6 [root@bkr-hv03-guest05 ~]# subscription-manager facts --list | grep "guest" network.hostname: bkr-hv03-guest05.dsal.lab.eng.bos.redhat.com uname.nodename: bkr-hv03-guest05.dsal.lab.eng.bos.redhat.com virt.is_guest: Unknown This is a valid bug, but it does not apply to RHEL6.9 where subscription-manager-1.18 is targeted for release. I am moving this bug to RHEL7.4 which is where subscription-manager-1.19 will land. commit 908316a9f2ecbc03bf182c71f0b2e07bb4724c23
Author: Alex Wood <awood>
Date: Thu Feb 2 14:29:10 2017 -0500
1415708: Fix issues with facts gathering.
* Add missing virt uuid to facts.
* Remove duplicate hwprobe and facts code
* Fix hwprobe unit tests
[root@dhcp35-160 ~]# subscription-manager facts --list | grep "virt.is_guest" virt.is_guest: false [root@dhcp35-160 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.9.51.21-1 subscription management rules: 5.15.1 subscription-manager: 1.19.4-1.el7 python-rhsm: 1.19.2-1.el7 Fact is no longer modified by updating the rhsm packages , so moving bug to verified [root@dhcp35-160 ~]# subscription-manager facts --list | grep "virt.is_guest" virt.is_guest: false [root@dhcp35-160 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.9.51.21-1 subscription management rules: 5.15.1 subscription-manager: 1.19.5-1.el7 python-rhsm: 1.19.4-1.el7 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. https://access.redhat.com/errata/RHBA-2017:2083 |