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 1804454 - the "virt-uuid" fact on a RHEL8.2 aarch64 server is missing despite reports from virt-what and dmidecode
Summary: the "virt-uuid" fact on a RHEL8.2 aarch64 server is missing despite reports f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.2
Hardware: aarch64
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks: 1809234 1825061
TreeView+ depends on / blocked
 
Reported: 2020-02-18 21:24 UTC by John Sefler
Modified: 2020-11-04 01:39 UTC (History)
8 users (show)

Fixed In Version: subscription-manager-1.27.6-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1809234 (view as bug list)
Environment:
Last Closed: 2020-11-04 01:38:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2274 0 None closed 1804454: collect uuid on aarch64 system 2021-02-12 10:07:08 UTC
Red Hat Product Errata RHBA-2020:4460 0 None None None 2020-11-04 01:38:57 UTC

Description John Sefler 2020-02-18 21:24:23 UTC
Description of problem:
I have a test that asserts the presence of a virt.uuid fact on a system when virt-what reports a non-empty value and 'dmidecode -s system-uuid' is reporting a plausible value.  In this case, an aarch64 system with DISTRO=RHEL-8.2.0-20200218.n.0 has been installed and virt-what is reporting "kvm" which means that this is a virtual system, therefore a "virt.uuid" fact should be collected and it should be equal to the value reported by 'dmidecode -s system-uuid'.

This bug report is effectively a dup of Bug 1614943 but without the [WARNING] logged to rhsm.log.


Version-Release number of selected component (if applicable):
[root@hpe-apollo-cn99xx-14-vm-05 ~]# rpm -q virt-what subscription-manager dmidecode
virt-what-1.18-6.el8.aarch64
subscription-manager-1.26.11-1.el8.aarch64
dmidecode-3.2-5.el8.aarch64


How reproducible:


Steps to Reproduce:
1. Reserve a RHEL8.2 aarch64 system from Beaker and then ssh into it like this...


[jsefler@jseflerP50 ~]$ ssh -X root.lab.eng.bos.redhat.com
The authenticity of host 'hpe-apollo-cn99xx-14-vm-05.khw4.lab.eng.bos.redhat.com (2620:52:0:13f0:5054:ff:fe2a:7505)' can't be established.
ECDSA key fingerprint is SHA256:hPCLWpW7I04VKp2OEFWmW5dConxs+kuwki1wi74hGOk.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'hpe-apollo-cn99xx-14-vm-05.khw4.lab.eng.bos.redhat.com,2620:52:0:13f0:5054:ff:fe2a:7505' (ECDSA) to the list of known hosts.
X11 forwarding request failed on channel 0
**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
                 This System is reserved by jsefler.

 To return this system early. You can run the command: return2beaker.sh
  Ensure you have your logs off the system before returning to Beaker

 To extend your reservation time. You can run the command:
  extendtesttime.sh
 This is an interactive script. You will be prompted for how many
  hours you would like to extend the reservation.
 Please ensure that you adhere to the reservation policy
  for Beaker systems:
  https://home.corp.redhat.com/wiki/extended-reservations-beaker-general-pool-systems

 You should verify the watchdog was updated succesfully after
  you extend your reservation.
  https://beaker.engineering.redhat.com/recipes/7921536

 For ssh, kvm, serial and power control operations please look here:
  https://beaker.engineering.redhat.com/view/hpe-apollo-cn99xx-14-vm-05.khw4.lab.eng.bos.redhat.com

 For the default root password, see:
  https://beaker.engineering.redhat.com/prefs/

      Beaker Test information:
                         HOSTNAME=hpe-apollo-cn99xx-14-vm-05.khw4.lab.eng.bos.redhat.com
                            JOBID=4081980
                         RECIPEID=7921536
                    RESULT_SERVER=
                           DISTRO=RHEL-8.2.0-20200218.n.0
                     ARCHITECTURE=aarch64

      Job Whiteboard:  RHEL-8.2.0-20200218.n.0 BaseOS aarch64 

      Recipe Whiteboard: 
**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
[root@hpe-apollo-cn99xx-14-vm-05 ~]# 
[root@hpe-apollo-cn99xx-14-vm-05 ~]# virt-what
kvm
[root@hpe-apollo-cn99xx-14-vm-05 ~]# 
[root@hpe-apollo-cn99xx-14-vm-05 ~]# dmidecode -s system-uuid
3709bc46-76e4-4015-ad8e-370ffc8bca21
[root@hpe-apollo-cn99xx-14-vm-05 ~]# 
[root@hpe-apollo-cn99xx-14-vm-05 ~]# sed -i s/INFO/DEBUG/g /etc/rhsm/rhsm.conf
[root@hpe-apollo-cn99xx-14-vm-05 ~]# subscription-manager facts
cpu.core(s)_per_socket: 4
cpu.cpu(s): 4
cpu.cpu_socket(s): 1
cpu.thread(s)_per_core: 1
cpu.topology_source: kernel /sys cpu sibling lists
distribution.id: Ootpa
distribution.name: Red Hat Enterprise Linux
distribution.version: 8.2
distribution.version.modifier: beta
last_boot: 2020-02-18 19:35:27
lscpu.architecture: aarch64
lscpu.bogomips: 400.00
lscpu.byte_order: Little Endian
lscpu.core(s)_per_socket: 4
lscpu.cpu(s): 4
lscpu.flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
lscpu.model: 1
lscpu.model_name: ThunderX2 99xx
lscpu.numa_node(s): 1
lscpu.numa_node0_cpu(s): 0-3
lscpu.on-line_cpu(s)_list: 0-3
lscpu.socket(s): 1
lscpu.stepping: 0x1
lscpu.thread(s)_per_core: 1
lscpu.vendor_id: Cavium
memory.memtotal: 5718272
memory.swaptotal: 6311872
net.interface.enp1s0.ipv4_address: 10.19.241.33
net.interface.enp1s0.ipv4_address_list: 10.19.241.33
net.interface.enp1s0.ipv4_broadcast: 10.19.243.255
net.interface.enp1s0.ipv4_broadcast_list: 10.19.243.255
net.interface.enp1s0.ipv4_netmask: 22
net.interface.enp1s0.ipv4_netmask_list: 22
net.interface.enp1s0.ipv6_address.global: 2620:52:0:13f0:5054:ff:fe2a:7505
net.interface.enp1s0.ipv6_address.global_list: 2620:52:0:13f0:5054:ff:fe2a:7505
net.interface.enp1s0.ipv6_address.link: fe80::5054:ff:fe2a:7505
net.interface.enp1s0.ipv6_address.link_list: fe80::5054:ff:fe2a:7505
net.interface.enp1s0.ipv6_netmask.global: 64
net.interface.enp1s0.ipv6_netmask.global_list: 64
net.interface.enp1s0.ipv6_netmask.link: 64
net.interface.enp1s0.ipv6_netmask.link_list: 64
net.interface.enp1s0.mac_address: 52:54:00:2a:75:05
net.interface.lo.ipv4_address: 127.0.0.1
net.interface.lo.ipv4_address_list: 127.0.0.1
net.interface.lo.ipv4_broadcast: Unknown
net.interface.lo.ipv4_broadcast_list: Unknown
net.interface.lo.ipv4_netmask: 8
net.interface.lo.ipv4_netmask_list: 8
net.interface.lo.ipv6_address.host: ::1
net.interface.lo.ipv6_address.host_list: ::1
net.interface.lo.ipv6_netmask.host: 128
net.interface.lo.ipv6_netmask.host_list: 128
network.fqdn: hpe-apollo-cn99xx-14-vm-05.khw4.lab.eng.bos.redhat.com
network.hostname: hpe-apollo-cn99xx-14-vm-05.khw4.lab.eng.bos.redhat.com
network.ipv4_address: 10.19.241.33
network.ipv6_address: 2620:52:0:13f0:5054:ff:fe2a:7505
proc_cpuinfo.common.bogomips: 400.00
proc_cpuinfo.common.cpu_architecture: 8
proc_cpuinfo.common.cpu_implementer: 0x43
proc_cpuinfo.common.cpu_part: 0x0af
proc_cpuinfo.common.cpu_revision: 1
proc_cpuinfo.common.cpu_variant: 0x1
proc_cpuinfo.common.features: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
proc_stat.btime: 1582054527
system.certificate_version: 3.2
system.default_locale: en_US.UTF-8
uname.machine: aarch64
uname.nodename: hpe-apollo-cn99xx-14-vm-05.khw4.lab.eng.bos.redhat.com
uname.release: 4.18.0-179.el8.aarch64
uname.sysname: Linux
uname.version: #1 SMP Fri Feb 14 23:29:00 UTC 2020
virt.host_type: kvm
virt.is_guest: True
[root@hpe-apollo-cn99xx-14-vm-05 ~]# 




Actual results:
THERE IS NO FACT FOR "virt.uuid"

Expected results:
virt.uuid: 3709bc46-76e4-4015-ad8e-370ffc8bca21


Additional info:
[root@hpe-apollo-cn99xx-14-vm-05 ~]# cat /var/log/rhsm/rhsm.log 
2020-02-18 16:14:27,128 [DEBUG] subscription-manager:17516:MainThread @https.py:56 - Using standard libs to provide httplib and ssl
2020-02-18 16:14:27,407 [DEBUG] subscription-manager:17516:MainThread @dbus_interface.py:39 - self.has_main_loop=False
2020-02-18 16:14:27,449 [DEBUG] subscription-manager:17516:MainThread @ga_loader.py:91 - ga_loader GaImporterGtk3
2020-02-18 16:14:27,452 [DEBUG] subscription-manager:17516:MainThread @plugins.py:571 - loaded plugin modules: []
2020-02-18 16:14:27,452 [DEBUG] subscription-manager:17516:MainThread @plugins.py:572 - loaded plugins: {}
2020-02-18 16:14:27,453 [DEBUG] subscription-manager:17516:MainThread @identity.py:139 - Loading consumer info from identity certificates.
2020-02-18 16:14:27,453 [DEBUG] subscription-manager:17516:MainThread @identity.py:154 - Reload of consumer identity cert /etc/pki/consumer/cert.pem raised an exception with msg: [Errno 2] No such file or directory: '/etc/pki/consumer/key.pem'
2020-02-18 16:14:27,455 [DEBUG] subscription-manager:17516:MainThread @connection.py:808 - Environment variable NO_PROXY= will be used
2020-02-18 16:14:27,456 [INFO] subscription-manager:17516:MainThread @connection.py:905 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2020-02-18 16:14:27,457 [DEBUG] subscription-manager:17516:MainThread @files.py:326 - Successfully read local syspurpose contents.
2020-02-18 16:14:27,457 [DEBUG] subscription-manager:17516:MainThread @files.py:363 - Successfully read cached syspurpose contents.
2020-02-18 16:14:27,471 [DEBUG] subscription-manager:17516:MainThread @files.py:326 - Successfully read local syspurpose contents.
2020-02-18 16:14:27,471 [DEBUG] subscription-manager:17516:MainThread @files.py:363 - Successfully read cached syspurpose contents.
2020-02-18 16:14:27,475 [DEBUG] subscription-manager:17516:MainThread @files.py:326 - Successfully read local syspurpose contents.
2020-02-18 16:14:27,475 [DEBUG] subscription-manager:17516:MainThread @files.py:363 - Successfully read cached syspurpose contents.
2020-02-18 16:14:27,476 [DEBUG] subscription-manager:17516:MainThread @files.py:326 - Successfully read local syspurpose contents.
2020-02-18 16:14:27,476 [DEBUG] subscription-manager:17516:MainThread @files.py:363 - Successfully read cached syspurpose contents.
2020-02-18 16:14:27,477 [DEBUG] subscription-manager:17516:MainThread @managercli.py:492 - X-Correlation-ID: bb070dee45384c10be7bf890e95c401b
2020-02-18 16:14:27,477 [DEBUG] subscription-manager:17516:MainThread @managercli.py:381 - Client Versions: {'subscription-manager': '1.26.11-1.el8'}
2020-02-18 16:14:27,477 [DEBUG] subscription-manager:17516:MainThread @connection.py:808 - Environment variable NO_PROXY= will be used
2020-02-18 16:14:27,478 [INFO] subscription-manager:17516:MainThread @connection.py:905 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2020-02-18 16:14:27,479 [DEBUG] subscription-manager:17516:MainThread @connection.py:808 - Environment variable NO_PROXY= will be used
2020-02-18 16:14:27,480 [INFO] subscription-manager:17516:MainThread @connection.py:905 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=none
2020-02-18 16:14:27,566 [DEBUG] subscription-manager:17516:MainThread @insights.py:68 - Unable to read insights machine_id file: /etc/redhat-access-insights/machine-id, error: [Errno 2] No such file or directory: '/etc/redhat-access-insights/machine-id'
2020-02-18 16:14:27,568 [DEBUG] subscription-manager:17516:MainThread @repolib.py:175 - The rhsm.auto_enable_yum_plugins is enabled
2020-02-18 16:14:27,569 [DEBUG] subscription-manager:17516:MainThread @repolib.py:151 - dnf plugin: "/etc/dnf/plugins/subscription-manager.conf" already enabled. Nothing to do.
2020-02-18 16:14:27,569 [DEBUG] subscription-manager:17516:MainThread @repolib.py:151 - dnf plugin: "/etc/dnf/plugins/product-id.conf" already enabled. Nothing to do.
2020-02-18 16:14:27,570 [DEBUG] subscription-manager:17516:MainThread @repolib.py:151 - yum plugin: "/etc/yum/pluginconf.d/subscription-manager.conf" already enabled. Nothing to do.
2020-02-18 16:14:27,571 [DEBUG] subscription-manager:17516:MainThread @repolib.py:151 - yum plugin: "/etc/yum/pluginconf.d/product-id.conf" already enabled. Nothing to do.
[root@hpe-apollo-cn99xx-14-vm-05 ~]#

Comment 2 William Poteat 2020-02-21 18:26:19 UTC
The entries in facts show none of the dmi.* entries.

Comment 5 Jeff Bastian 2020-02-26 16:45:22 UTC
See bug 1540294 - update subscription-manager to use dmidecode instead of python-dmidecode.

The python-dmidecode module does not work on aarch64 because /dev/mem is restricted.

Comment 6 Rehana 2020-02-27 16:30:32 UTC
Hi Jeff, 

We would like to proceed with comment " dmidecode would have an option to print output in a machine readable format like JSON or XML so other tools like subscription-manager could easily parse it, but at the moment it only has human-readable output." that you mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1806705#c1

Is there a bug number tracking ^ this effort. If yes, We would like to block this bug on that .

thanks,
Rehana

Comment 7 Jeff Bastian 2020-02-27 23:05:20 UTC
There is no BZ for XML or JSON output from dmidecode, but there have been some upstream discussions, including a recent thread just last month (fortunate timing!):

https://lists.nongnu.org/archive/html/dmidecode-devel/2020-01/msg00000.html
https://lists.nongnu.org/archive/html/dmidecode-devel/2020-01/msg00001.html

Unfortunately, as you can see from the second message, the developers like the idea of adding XML or JSON output, but nobody has the time to write the code (actually, completely re-write the code from the ground up since dmidecode was not designed for this type of output).

If subscription-manager needs DMI data like the system UUID, it really needs to call the dmidecode binary and ask for the specific string needed, e.g., 'dmidecode -s system-uuid'.  Alternatively, subscription-manager could read the data directly from the kernel via the /sys/devices/virtual/dmi/id/* files.  For example:

  ~]# dmidecode -s system-uuid
  69d3a7c0-bfde-1000-03ca-9e23b8730904

  ~]# cat /sys/devices/virtual/dmi/id/product_uuid
  69d3a7c0-bfde-1000-03ca-9e23b8730904

Raw (binary) SMBIOS table entries are also in sysfs under /sys/firmware/dmi/entries/*/raw if you need data not accessible from /sys/devices/virtual/dmi/id/*

Comment 11 Archana Pandey 2020-06-18 12:30:44 UTC
1) Issue reproduction on RHEL8.2 aarch64 system || subscription-manager: 1.26.16-1.el8

Beaker Test information:
                         HOSTNAME=hpe-apollo-cn99xx-15-vm-28.khw4.lab.eng.bos.redhat.com
                            JOBID=4361533
                         RECIPEID=8446732
                    RESULT_SERVER=
                           DISTRO=RHEL-8.2.0
                     ARCHITECTURE=aarch64

Version-Release number of selected component (if applicable):
[root@hpe-apollo-cn99xx-15-vm-28 /]# rpm -q virt-what subscription-manager dmidecode
virt-what-1.18-6.el8.aarch64
subscription-manager-1.26.16-1.el8.aarch64
dmidecode-3.2-5.el8.aarch64

list of command/output to show issue reproduction:
[root@hpe-apollo-cn99xx-15-vm-28 /]# virt-what
kvm
[root@hpe-apollo-cn99xx-15-vm-28 /]# 
[root@hpe-apollo-cn99xx-15-vm-28 /]# 
[root@hpe-apollo-cn99xx-15-vm-28 /]# dmidecode -s system-uuid
55d2b848-fe6d-4cb2-8022-c4c8c585fbc4
[root@hpe-apollo-cn99xx-15-vm-28 /]# 
[root@hpe-apollo-cn99xx-15-vm-28 /]# 
[root@hpe-apollo-cn99xx-15-vm-28 /]# subscription-manager facts
cpu.core(s)_per_socket: 4
cpu.cpu(s): 4
cpu.cpu_socket(s): 1
cpu.thread(s)_per_core: 1
cpu.topology_source: kernel /sys cpu sibling lists
distribution.id: Ootpa
distribution.name: Red Hat Enterprise Linux
distribution.version: 8.2
distribution.version.modifier: ga
last_boot: 2020-06-18 06:45:23
lscpu.architecture: aarch64
lscpu.bogomips: 400.00
lscpu.byte_order: Little Endian
lscpu.core(s)_per_socket: 4
lscpu.cpu(s): 4
lscpu.flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
lscpu.model: 1
lscpu.model_name: ThunderX2 99xx
lscpu.numa_node(s): 1
lscpu.numa_node0_cpu(s): 0-3
lscpu.on-line_cpu(s)_list: 0-3
lscpu.socket(s): 1
lscpu.stepping: 0x1
lscpu.thread(s)_per_core: 1
lscpu.vendor_id: Cavium
memory.memtotal: 5718336
memory.swaptotal: 6311872
net.interface.enp1s0.ipv4_address: 10.19.241.118
net.interface.enp1s0.ipv4_address_list: 10.19.241.118
net.interface.enp1s0.ipv4_broadcast: 10.19.243.255
net.interface.enp1s0.ipv4_broadcast_list: 10.19.243.255
net.interface.enp1s0.ipv4_netmask: 22
net.interface.enp1s0.ipv4_netmask_list: 22
net.interface.enp1s0.ipv6_address.global: 2620:52:0:13f0:5054:ff:fe2a:151c
net.interface.enp1s0.ipv6_address.global_list: 2620:52:0:13f0:5054:ff:fe2a:151c
net.interface.enp1s0.ipv6_address.link: fe80::5054:ff:fe2a:151c
net.interface.enp1s0.ipv6_address.link_list: fe80::5054:ff:fe2a:151c
net.interface.enp1s0.ipv6_netmask.global: 64
net.interface.enp1s0.ipv6_netmask.global_list: 64
net.interface.enp1s0.ipv6_netmask.link: 64
net.interface.enp1s0.ipv6_netmask.link_list: 64
net.interface.enp1s0.mac_address: 52:54:00:2a:15:1c
net.interface.lo.ipv4_address: 127.0.0.1
net.interface.lo.ipv4_address_list: 127.0.0.1
net.interface.lo.ipv4_broadcast: Unknown
net.interface.lo.ipv4_broadcast_list: Unknown
net.interface.lo.ipv4_netmask: 8
net.interface.lo.ipv4_netmask_list: 8
net.interface.lo.ipv6_address.host: ::1
net.interface.lo.ipv6_address.host_list: ::1
net.interface.lo.ipv6_netmask.host: 128
net.interface.lo.ipv6_netmask.host_list: 128
network.fqdn: hpe-apollo-cn99xx-15-vm-28.khw4.lab.eng.bos.redhat.com
network.hostname: hpe-apollo-cn99xx-15-vm-28.khw4.lab.eng.bos.redhat.com
network.ipv4_address: 10.19.241.118
network.ipv6_address: 2620:52:0:13f0:5054:ff:fe2a:151c
proc_cpuinfo.common.bogomips: 400.00
proc_cpuinfo.common.cpu_architecture: 8
proc_cpuinfo.common.cpu_implementer: 0x43
proc_cpuinfo.common.cpu_part: 0x0af
proc_cpuinfo.common.cpu_revision: 1
proc_cpuinfo.common.cpu_variant: 0x1
proc_cpuinfo.common.features: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
proc_stat.btime: 1592462723
system.certificate_version: 3.2
system.default_locale: en_US.UTF-8
uname.machine: aarch64
uname.nodename: hpe-apollo-cn99xx-15-vm-28.khw4.lab.eng.bos.redhat.com
uname.release: 4.18.0-193.el8.aarch64
uname.sysname: Linux
uname.version: #1 SMP Fri Mar 27 15:23:34 UTC 2020
virt.host_type: kvm
virt.is_guest: True
[root@hpe-apollo-cn99xx-15-vm-28 /]# 


Actual results:
THERE IS NO FACT FOR "virt.uuid"

Expected results:
virt.uuid: 55d2b848-fe6d-4cb2-8022-c4c8c585fbc4

2) Issue Verification in latest build of RHEL 8.3

Beaker Test information:
                         HOSTNAME=hpe-apollo-cn99xx-15-vm-03.khw4.lab.eng.bos.redhat.com
                            JOBID=4361813
                         RECIPEID=8447218
                    RESULT_SERVER=
                           DISTRO=RHEL-8.3.0-20200618.n.0
                     ARCHITECTURE=aarch64

Version-Release number of selected component (if applicable):
[root@hpe-apollo-cn99xx-15-vm-03 ~]# rpm -q virt-what subscription-manager dmidecode
virt-what-1.18-6.el8.aarch64
subscription-manager-1.27.6-1.el8.aarch64
dmidecode-3.2-6.el8.aarch64

list of command/output for issue verification:
[root@hpe-apollo-cn99xx-15-vm-03 ~]# virt-what
kvm
[root@hpe-apollo-cn99xx-15-vm-03 ~]# 
[root@hpe-apollo-cn99xx-15-vm-03 ~]# dmidecode -s system-uuid
4ffe2807-213d-464b-8f72-6721ca427f26
[root@hpe-apollo-cn99xx-15-vm-03 ~]# subscription-manager facts
cpu.core(s)_per_socket: 4
cpu.cpu(s): 4
cpu.cpu_socket(s): 1
cpu.thread(s)_per_core: 1
cpu.topology_source: kernel /sys cpu sibling lists
distribution.id: Ootpa
distribution.name: Red Hat Enterprise Linux
distribution.version: 8.3
distribution.version.modifier: beta
dmi.system.uuid: 4ffe2807-213d-464b-8f72-6721ca427f26
last_boot: 2020-06-18 09:13:21
lscpu.architecture: aarch64
lscpu.bogomips: 400.00
lscpu.byte_order: Little Endian
lscpu.core(s)_per_socket: 4
lscpu.cpu(s): 4
lscpu.flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
lscpu.model: 1
lscpu.model_name: ThunderX2 99xx
lscpu.numa_node(s): 1
lscpu.numa_node0_cpu(s): 0-3
lscpu.on-line_cpu(s)_list: 0-3
lscpu.socket(s): 1
lscpu.stepping: 0x1
lscpu.thread(s)_per_core: 1
lscpu.vendor_id: Cavium
memory.memtotal: 5708544
memory.swaptotal: 6299584
net.interface.enp1s0.ipv4_address: 10.19.241.61
net.interface.enp1s0.ipv4_address_list: 10.19.241.61
net.interface.enp1s0.ipv4_broadcast: 10.19.243.255
net.interface.enp1s0.ipv4_broadcast_list: 10.19.243.255
net.interface.enp1s0.ipv4_netmask: 22
net.interface.enp1s0.ipv4_netmask_list: 22
net.interface.enp1s0.ipv6_address.global: 2620:52:0:13f0:4e74:d9c0:c6f8:b0b4
net.interface.enp1s0.ipv6_address.global_list: 2620:52:0:13f0:4e74:d9c0:c6f8:b0b4
net.interface.enp1s0.ipv6_address.link: fe80::970c:e0a1:2730:119e
net.interface.enp1s0.ipv6_address.link_list: fe80::970c:e0a1:2730:119e
net.interface.enp1s0.ipv6_netmask.global: 64
net.interface.enp1s0.ipv6_netmask.global_list: 64
net.interface.enp1s0.ipv6_netmask.link: 64
net.interface.enp1s0.ipv6_netmask.link_list: 64
net.interface.enp1s0.mac_address: 52:54:00:2a:15:03
net.interface.lo.ipv4_address: 127.0.0.1
net.interface.lo.ipv4_address_list: 127.0.0.1
net.interface.lo.ipv4_broadcast: Unknown
net.interface.lo.ipv4_broadcast_list: Unknown
net.interface.lo.ipv4_netmask: 8
net.interface.lo.ipv4_netmask_list: 8
net.interface.lo.ipv6_address.host: ::1
net.interface.lo.ipv6_address.host_list: ::1
net.interface.lo.ipv6_netmask.host: 128
net.interface.lo.ipv6_netmask.host_list: 128
network.fqdn: hpe-apollo-cn99xx-15-vm-03.khw4.lab.eng.bos.redhat.com
network.hostname: hpe-apollo-cn99xx-15-vm-03.khw4.lab.eng.bos.redhat.com
network.ipv4_address: 10.19.241.61
network.ipv6_address: 2620:52:0:13f0:5054:ff:fe2a:1503
proc_cpuinfo.common.bogomips: 400.00
proc_cpuinfo.common.cpu_architecture: 8
proc_cpuinfo.common.cpu_implementer: 0x43
proc_cpuinfo.common.cpu_part: 0x0af
proc_cpuinfo.common.cpu_revision: 1
proc_cpuinfo.common.cpu_variant: 0x1
proc_cpuinfo.common.features: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
proc_stat.btime: 1592471601
system.certificate_version: 3.2
system.default_locale: en_US.UTF-8
uname.machine: aarch64
uname.nodename: hpe-apollo-cn99xx-15-vm-03.khw4.lab.eng.bos.redhat.com
uname.release: 4.18.0-215.el8.aarch64
uname.sysname: Linux
uname.version: #1 SMP Tue Jun 16 20:07:56 UTC 2020
virt.host_type: kvm
virt.is_guest: True
virt.uuid: 4ffe2807-213d-464b-8f72-6721ca427f26                                         <<<<<<<<<< fact listed for virt.uuid

Actual results:
virt.uuid: 4ffe2807-213d-464b-8f72-6721ca427f26 

Expected results:
virt.uuid: 4ffe2807-213d-464b-8f72-6721ca427f26

Comment 12 Archana Pandey 2020-06-18 12:52:40 UTC
additional info missed in previous comment-

changelog details for this bug:

[root@hpe-apollo-cn99xx-15-vm-03 ~]# rpm -q subscription-manager --changelog | grep 1804454
- 1804454: collect uuid on aarch64 system (wpoteat)
[root@hpe-apollo-cn99xx-15-vm-03 ~]#

Comment 15 errata-xmlrpc 2020-11-04 01:38:42 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 (subscription-manager bug fix and enhancement update), 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-2020:4460


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