Bug 1540294
Summary: | update subscription-manager to use dmidecode instead of python-dmidecode | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Rehana <redakkan> |
Component: | subscription-manager | Assignee: | Kevin Howell <khowell> |
Status: | CLOSED WONTFIX | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.5-Alt | CC: | jbastian, jfeeney, jsefler, khowell, mlangsdo, redakkan |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 7.6 | ||
Hardware: | aarch64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-08 15:40:16 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: | |||
Bug Depends On: | 1509938 | ||
Bug Blocks: | 1498541 |
Description
Rehana
2018-01-30 17:40:10 UTC
Does it have any other impact aside from console output? > Does it have any other impact aside from console output?
I misread... does it have any other impact aside from log messages?
Hi Kevin, I dont see any of the dmi facts getting collected and reported in subscription-manager fact --list. [root@hp-moonshot-03-c42 test]# subscription-manager facts --list | grep dmi [root@hp-moonshot-03-c42 test]# subscription-manager facts --list cpu.core(s)_per_socket: 8 cpu.cpu(s): 8 cpu.cpu_socket(s): 1 cpu.thread(s)_per_core: 1 cpu.topology_source: kernel /sys cpu sibling lists distribution.id: Maipo distribution.name: Red Hat Enterprise Linux Server distribution.version: 7.5 distribution.version.modifier: beta lscpu.architecture: aarch64 lscpu.bogomips: 100.00 lscpu.byte_order: Little Endian lscpu.core(s)_per_socket: 8 lscpu.cpu(s): 8 lscpu.flags: fp asimd evtstrm cpuid lscpu.l1d_cache: unknown size lscpu.l1i_cache: unknown size lscpu.l2_cache: unknown size lscpu.model: 1 lscpu.numa_node(s): 1 lscpu.numa_node0_cpu(s): 0-7 lscpu.on-line_cpu(s)_list: 0-7 lscpu.socket(s): 1 lscpu.thread(s)_per_core: 1 memory.memtotal: 66409408 memory.swaptotal: 33488832 net.interface.eno1.ipv4_address: 10.12.0.250 net.interface.eno1.ipv4_address_list: 10.12.0.250 net.interface.eno1.ipv4_broadcast: 10.12.7.255 net.interface.eno1.ipv4_broadcast_list: 10.12.7.255 net.interface.eno1.ipv4_netmask: 21 net.interface.eno1.ipv4_netmask_list: 21 net.interface.eno1.ipv6_address.global: 2620:52:0:c00:1658:d0ff:fe58:6522 net.interface.eno1.ipv6_address.global_list: 2620:52:0:c00:1658:d0ff:fe58:6522 net.interface.eno1.ipv6_address.link: fe80::1658:d0ff:fe58:6522 net.interface.eno1.ipv6_address.link_list: fe80::1658:d0ff:fe58:6522 net.interface.eno1.ipv6_netmask.global: 64 net.interface.eno1.ipv6_netmask.global_list: 64 net.interface.eno1.ipv6_netmask.link: 64 net.interface.eno1.ipv6_netmask.link_list: 64 net.interface.eno1.mac_address: 14:58:D0:58:65:22 net.interface.eno1d1.mac_address: 14:58:D0:58:65:23 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: hp-moonshot-03-c42.lab.eng.rdu.redhat.com network.hostname: hp-moonshot-03-c42.lab.eng.rdu.redhat.com network.ipv4_address: 10.12.0.250 network.ipv6_address: 2620:52:0:c00:1658:d0ff:fe58:6522 proc_cpuinfo.common.bogomips: 100.00 proc_cpuinfo.common.cpu_architecture: 8 proc_cpuinfo.common.cpu_implementer: 0x50 proc_cpuinfo.common.cpu_part: 0x000 proc_cpuinfo.common.cpu_revision: 1 proc_cpuinfo.common.cpu_variant: 0x0 proc_cpuinfo.common.features: fp asimd evtstrm cpuid system.certificate_version: 3.2 system.default_locale: en_IN.UTF-8 uname.machine: aarch64 uname.nodename: hp-moonshot-03-c42.lab.eng.rdu.redhat.com uname.release: 4.14.0-36.el7a.aarch64 uname.sysname: Linux uname.version: #1 SMP Wed Jan 31 08:40:38 EST 2018 virt.host_type: Not Applicable virt.is_guest: False however i see that dmi facts are reported on a normal RHEL 7.5 x86_64 machine. that's the only thing i could find out. [root@hp-moonshot-03-c43 ~]# python Python 2.7.5 (default, Dec 8 2017, 11:45:49) [GCC 4.8.5 20150623 (Red Hat 4.8.5-25)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import dmidecode >>> dmidecode.get_warnings() '/sys/firmware/efi/systab: SMBIOS entry point missing\nNo SMBIOS nor DMI entry point found, sorry.\n' >>> dmidecode.system() {} >>> dmidecode.get_warnings() '/sys/firmware/efi/systab: SMBIOS entry point missing\nNo SMBIOS nor DMI entry point found, sorry.\nPermission denied to memory file/device (/dev/mem)\nPermission denied to memory file/device (/dev/mem)\nPermission denied to memory file/device (/dev/mem)\n' >>> quit() [root@hp-moonshot-03-c43 ~]# [root@hp-moonshot-03-c43 ~]# rpm -qa | grep dmidecode dmidecode-3.0-5.el7.aarch64 python-dmidecode-3.12.2-2.el7.aarch64 This bug should probably belong to component python-dmidecode See bug 1509938 for the python-dmidecode problem. The module should be trying to read /sys/firmware/dmi/* instead of the raw /dev/mem device because the raw /dev/mem device has been disabled intentionally on aarch64 (see bug 1456956). Moving to rhel-alt-7.6 The python-dmidecode bug was CLOSED WONTFIX with the recommendation to migrate to pure dmidecode. Apparently the python-dmidecode upstream is not responding and it may not be maintained any longer. We will be considering this bug in the future fr RHEL 9 https://issues.redhat.com/browse/RHELPLAN-46044 . Hence closing this bug on RHEL 7 . thanks, Rehana |