RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1300805 - ppc64 kvm guests do not collect a virt.uuid fact.
Summary: ppc64 kvm guests do not collect a virt.uuid fact.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.8
Hardware: ppc64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-ppc64
TreeView+ depends on / blocked
 
Reported: 2016-01-21 18:38 UTC by Adrian Likins
Modified: 2016-05-10 20:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 20:39:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0797 0 normal SHIPPED_LIVE python-rhsm and subscription-manager bug fix and enhancement update 2017-01-06 16:31:50 UTC

Description Adrian Likins 2016-01-21 18:38:50 UTC
Description of problem:
virt.uuid is only collected from DMI, which isn't available on ppc64.

The info is available in /proc/device-tree/vm,uuid, so it could
be collected from there.


Steps to Reproduce:
1. On a ppc64 kvm guest...
2. subscription-manager facts --list | grep virt.uuid

Actual results:
No virt.uuid

Expected results:
virt.uuid is the same as contents of /proc/device-tree/vm,uuid

This makes VDC and virt bound subscriptions difficult on ppc64 systems.

Comment 2 Adrian Likins 2016-01-21 19:05:15 UTC
pr for upstream at https://github.com/candlepin/subscription-manager/pull/1376

Comment 3 Chris Snyder 2016-01-27 18:23:54 UTC
The fix has been merged into upstream master as of the below information:

commit f8416137a3b426aa54608116e005df7273abfada
Author: Adrian Likins <alikins>
Date:   Wed Jan 20 16:59:03 2016 -0500

    1300805: Add support for ppc64 virt.uuid
    
    For ppc64 guests running under KVM, the virt.uuid
    is available from '/proc/device-tree/vm,uuid' so
    collect it from there.
    
    Also update scripts/test_hwprobe.sh to DWIM.

Comment 6 Rehana 2016-02-10 15:21:13 UTC
Reproducing the failure with old subscription-manager packages 
--------

[root@ibm-p8-kvm-03-guest-03 ~]# cat /proc/device-tree/vm,uuid
4100372a-b35e-4f0e-9b51-3c58a630218f

[root@ibm-p8-kvm-03-guest-03 ~]# 
[root@ibm-p8-kvm-03-guest-03 ~]# subscription-manager facts --list | grep virt.uuid

[root@ibm-p8-kvm-03-guest-03 ~]# 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.16.8-1.el6
python-rhsm: 1.16.6-1.el6
[root@ibm-p8-kvm-03-guest-0

After updating the subscription-manager packages
----------------------------------------------
[root@ibm-p8-kvm-03-guest-03 ~]# 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.16.8-2.el6
python-rhsm: 1.16.6-1.el6


[root@ibm-p8-kvm-03-guest-03 ~]# cat /proc/device-tree/vm,uuid
4100372a-b35e-4f0e-9b51-3c58a630218f

[root@ibm-p8-kvm-03-guest-03 ~]# subscription-manager facts --list | grep -a "virt.uuid"
virt.uuid: 4100372a-b35e-4f0e-9b51-3c58a630218f

Observed that virt-uuid on the facts list , displayed the same details as in 
/proc/device-tree/vm,uuid

Marking Verified!!!


Additional details about the guest (beaker machine)
--------------------------------------------------
[root@ibm-p8-kvm-03-guest-03 ~]# ls -1 /dev/disk/by-id/
dm-name-vg_ibmp8kvm03guest03-lv_home
dm-name-vg_ibmp8kvm03guest03-lv_root
dm-name-vg_ibmp8kvm03guest03-lv_swap
dm-uuid-LVM-F8pDZ2s0i8cM62cvi8WlvETaUYIkkxiad9T7qsyBmezf4sTMN1JU14Rsc0PSP5C8
dm-uuid-LVM-F8pDZ2s0i8cM62cvi8WlvETaUYIkkxiaNeO1lNvdTI9XMgH1EnYtGq776zfbzUJE
dm-uuid-LVM-F8pDZ2s0i8cM62cvi8WlvETaUYIkkxiaNXaeZNffZlxWvd3QwQckoRcJyTpW3eX5
lvm-pv-uuid-DhDaVO-fvJw-w0V2-d0Rz-twCU-fYt1-4uTvY0
[root@ibm-p8-kvm-03-guest-03 ~]# 

[root@ibm-p8-kvm-03-guest-03 ~]# grep --color qemu /proc/cpuinfo
model		: IBM pSeries (emulated by qemu)
machine		: CHRP IBM pSeries (emulated by qemu)

Comment 8 errata-xmlrpc 2016-05-10 20:39:30 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.

https://rhn.redhat.com/errata/RHBA-2016-0797.html


Note You need to log in before you can comment on or make changes to this bug.