Bug 1308732
| Summary: | subscription-manager system fact virt.uuid: Unknown is reported on physical systems | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | candlepin-bugs |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.8 | CC: | alikins, bkearney, csnyder, redakkan |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-10 20:40:37 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
John Sefler
2016-02-15 21:37:36 UTC
pr at https://github.com/candlepin/subscription-manager/pull/1386 There can be cases where virt-what doesn't know the system is a virt guest, but we can find a virt.uuid anyway (ppc lpar mainly). This was changed as part of that, but the old behavior in this case is just as valid, so changing it back. (ie, if we don't find a virt.uuid, don't add a 'virt.uuid' fact at all. Interim was setting it to 'Unknown')l Reproducing the failure : ------------------------ [root@ibm-p8-05-lp5 ~]# rpm -q subscription-manager subscription-manager-1.16.8-2.el6.ppc64 [root@ibm-p8-05-lp5 ~]# virt-what [root@ibm-p8-05-lp5 ~]# subscription-manager facts | grep virt virt.host_type: Not Applicable virt.is_guest: False virt.uuid: Unknown [root@ibm-p8-05-lp5 ~]# subscription-manager facts --list | grep proc_cpuinfo proc_cpuinfo.common.machine: CHRP IBM,8247-22L proc_cpuinfo.common.model: IBM,8247-22L proc_cpuinfo.common.platform: pSeries With the updated subscription-manager packages: ----------------------------------------------- [root@ibm-p8-05-lp6 ~]# virt-what [root@ibm-p8-05-lp6 ~]# subscription-manager facts | grep virt virt.host_type: Not Applicable virt.is_guest: False [root@ibm-p8-05-lp6 ~]# rpm -q subscription-manager subscription-manager-1.16.8-3.el6.ppc64 [root@ibm-p8-05-lp6 ~]# subscription-manager facts --list | grep proc_cpuinfo proc_cpuinfo.common.machine: CHRP IBM,8247-22L proc_cpuinfo.common.model: IBM,8247-22L proc_cpuinfo.common.platform: pSeries Marking the bug as verified!! 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://rhn.redhat.com/errata/RHBA-2016-0797.html |