Hide Forgot
Description of problem: Prior to subscription-manager commit f8416137a3b426aa54608116e005df7273abfada a physical system would not report a "virt.uuid" fact at all. Now on the latest builds for rhel6.8, physical systems are reporting "virt.uuid: Unknown". This may be an insignificant change, but it is a change. Please advise whether I should update the automated test that caught this or you should fix the regression. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: Previous behavior from the subscription-manager on a physical ppc64 system on RHEL67... [root@ibm-p8-05-lp7 ~]# rpm -q subscription-manager subscription-manager-1.14.10-1.el6.ppc64 [root@ibm-p8-05-lp7 ~]# virt-what [root@ibm-p8-05-lp7 ~]# [root@ibm-p8-05-lp7 ~]# subscription-manager facts | grep virt virt.host_type: Not Applicable virt.is_guest: False [root@ibm-p8-05-lp7 ~]# After upgrading to the subscription-manager targeted for release on RHEL68... [root@ibm-p8-05-lp7 ~]# rpm -q subscription-manager subscription-manager-1.16.8-2.el6.ppc64 [root@ibm-p8-05-lp7 ~]# virt-what [root@ibm-p8-05-lp7 ~]# [root@ibm-p8-05-lp7 ~]# subscription-manager facts | grep virtvirt.host_type: Not Applicable virt.is_guest: False virt.uuid: Unknown <======== NEWLY ADDED AND UNEXPECTED [root@ibm-p8-05-lp7 ~]# Actual results: above Expected results: virt.uuid should only be shown when virt.is_guest: True Additional info: [root@ibm-p8-05-lp7 ~]# 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 NEEDINFO: In light of recent LPAR work, maybe this ppc64 system is indeed a guest and virt-what is actually failing to report it.
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