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 1528625 - subscription-manager facts command is showing incomplete facts.
Summary: subscription-manager facts command is showing incomplete facts.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.4
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Alex Wood
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-22 12:52 UTC by raju kumar
Modified: 2023-09-15 00:05 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:36:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Modified dmiinfo.py file with increased logging. (5.26 KB, text/plain)
2018-02-01 15:48 UTC, Alex Wood
no flags Details
Proposed fix to dmiinfo.py (5.26 KB, text/plain)
2018-02-07 21:21 UTC, Alex Wood
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 1780 0 None closed 1528625: Prevent dmidecode failure from returning None 2021-02-19 14:05:11 UTC
Red Hat Product Errata RHBA-2018:3153 0 None None None 2018-10-30 10:37:12 UTC

Description raju kumar 2017-12-22 12:52:47 UTC
Description of problem:
subscription-manager facts command is showing incomplete facts and due to this same is being highlighted in Facts on satellite 6 WebUI for Physical RHEL 7.4 machines. This issue is only with Physical RHEL 7.4 machines, Physical RHEL 7.3 and RHEL 6.9 machines are generating/reporting correct facts.

For example, below facts are missing -

dmi.baseboard.manufacturer: Intel Corporation
dmi.baseboard.product_name: 440BX Desktop Reference Platform
dmi.baseboard.serial_number: None
dmi.baseboard.version: None
dmi.bios.address: 0xe99e0
dmi.bios.bios_revision: 4.6
dmi.bios.relase_date: 09/21/2015
dmi.bios.rom_size: 64 KB
dmi.bios.runtime_size: 91680 bytes
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.chassis.asset_tag: No Asset Tag
dmi.chassis.boot-up_state: Safe
dmi.chassis.lock: Not Present
dmi.chassis.manufacturer: No Enclosure
dmi.chassis.power_supply_state: Safe
dmi.chassis.security_status: None
dmi.chassis.serial_number: None
dmi.chassis.thermal_state: Safe
dmi.chassis.type: Other
dmi.chassis.version: N/A
dmi.connector.external_connector_type: Circular DIN-8 male
dmi.connector.external_reference_designator: PS/2 Mouse
dmi.connector.internal_connector_type: None
dmi.connector.internal_reference_designator: J12
dmi.connector.port_type: Keyboard Port
dmi.memory.array_handle: 0x01a2
dmi.memory.assettag: Unknown
dmi.memory.bank_locator: RAM slot #XX
dmi.memory.data_width: Unknown
dmi.memory.error_correction_type: None
dmi.memory.error_information_handle: No Error
dmi.memory.form_factor: DIMM
dmi.memory.location: System Board Or Motherboard
dmi.memory.locator: RAM slot #XX
dmi.memory.manufacturer: Unknown
dmi.memory.maximum_capacity: 1024 GB
dmi.memory.part_number: Unknown
dmi.memory.serial_number: Unknown
dmi.memory.size: 8192 MB
dmi.memory.speed:   (ns)
dmi.memory.total_width: Unknown
dmi.memory.type: DRAM
dmi.memory.use: System Memory
dmi.processor.asset_tag: Unknown
dmi.processor.family: Unknown
dmi.processor.l1_cache_handle: 0x0152
dmi.processor.l2_cache_handle: 0x0153
dmi.processor.part_number: Unknown
dmi.processor.serial_number: Unknown
dmi.processor.socket_designation: CPU socket #XX
dmi.processor.status: Populated:No
dmi.processor.type: Central Processor
dmi.processor.upgrade: XYZ Socket
dmi.processor.version: Unknown Processor
dmi.processor.voltage: X.0 V
dmi.slot.current_usage: Unknown
dmi.slot.designation: ISA Slot J9
dmi.slot.slotid: 4
dmi.slot.slotlength: Short
dmi.slot.type:slotbuswidth: 16-bit
dmi.slot.type:slottype: ISA
dmi.system.family: Unknown
dmi.system.manufacturer: VMware, Inc.
dmi.system.product_name: VMware Virtual Platform
dmi.system.serial_number: Vmware-XX XX XX XX XX e5 8b 26-a3 d5 80 13 c2 f2 c0 91
dmi.system.sku_number: Unknown
dmi.system.status: No errors detected
dmi.system.uuid: 4239b424-05e5-8b26-a3d5-XXXXXXXXXXX
dmi.system.version: None
dmi.system.wake-up_type: Power Switch



Version-Release number of selected component (if applicable):RHEL 7.4 


How reproducible:Everytime


Steps to Reproduce:
1.Run following command on any Physical RHEL 7.4 machine/client and it will show incomplete facts as shown above.[ #subscription-manager facts ] 

Actual results:Above mentioned facts should are missing.


Expected results:Above missing facts should not be missing.

Comment 2 Alex Wood 2018-01-10 16:48:07 UTC
Raj,

What architecture is the machine you're testing on?  Is it ppc64, ppc64le, or s390x?  dmidecode isn't available on those architectures so we don't generate the dmi prefixed facts there.

Comment 3 Alex Wood 2018-01-10 21:23:16 UTC
I've been unable to reproduce this issue after tries on a couple different x86_64 machines.

Raj,

Could you ask the customer to 
* run `dmidecode` on the RHEL 7.4 machine and capture the output
* go into /etc/rhsm/rhsm.conf and in the [logging] section set default_log_level=DEBUG
* run `rhsm-debug` and attach the resultant tar file that is generated?

Comment 19 Shwetha Kallesh 2018-09-10 13:09:06 UTC
Reproducer:
[root@hp-dl380egen8-01 ~]# subscription-manager  version
server type: This system is currently not registered.
subscription management server: 2.3.9-1
subscription management rules: 5.26
subscription-manager: 1.19.21-1.el7
python-rhsm: 1.19.9-1.el7


[root@hp-dl380egen8-01 ~]# subscription-manager  facts --list 
cpu.core(s)_per_socket: 8
cpu.cpu(s): 32
cpu.cpu_socket(s): 2
cpu.thread(s)_per_core: 2
cpu.topology_source: kernel /sys cpu sibling lists
distribution.id: Maipo
distribution.name: Red Hat Enterprise Linux Client
distribution.version: 7.4
distribution.version.modifier: ga
dmi.slot.current_usage: Available
dmi.slot.designation: PCI-E Slot 4
dmi.slot.slotid: 4
dmi.slot.slotlength: Short
dmi.slot.type:slotbuswidth: x4
dmi.slot.type:slottype: PCI Express 2 x8
lscpu.architecture: x86_64
lscpu.bogomips: 4588.99
lscpu.byte_order: Little Endian
lscpu.core(s)_per_socket: 8
lscpu.cpu(s): 32
lscpu.cpu_family: 6
lscpu.cpu_max_mhz: 2300.0000
lscpu.cpu_mhz: 1200.000
lscpu.cpu_min_mhz: 1200.0000
lscpu.cpu_op-mode(s): 32-bit, 64-bit
lscpu.flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts
lscpu.l1d_cache: 32K
lscpu.l1i_cache: 32K
lscpu.l2_cache: 256K
lscpu.l3_cache: 20480K
lscpu.model: 45
lscpu.model_name: Intel(R) Xeon(R) CPU E5-2470 0 @ 2.30GHz
lscpu.numa_node(s): 2
lscpu.numa_node0_cpu(s): 0-7,16-23
lscpu.numa_node1_cpu(s): 8-15,24-31
lscpu.on-line_cpu(s)_list: 0-31
lscpu.socket(s): 2
lscpu.stepping: 7
lscpu.thread(s)_per_core: 2
lscpu.vendor_id: GenuineIntel
lscpu.virtualization: VT-x
memory.memtotal: 16224928
memory.swaptotal: 8257532
net.interface.eno1.ipv4_address: 10.16.70.9
net.interface.eno1.ipv4_address_list: 10.16.70.9
net.interface.eno1.ipv4_broadcast: 10.16.71.255
net.interface.eno1.ipv4_broadcast_list: 10.16.71.255
net.interface.eno1.ipv4_netmask: 21
net.interface.eno1.ipv4_netmask_list: 21
net.interface.eno1.ipv6_address.global: 2620:52:0:1040:82c1:6eff:fe78:1fdc
net.interface.eno1.ipv6_address.global_list: 2620:52:0:1040:82c1:6eff:fe78:1fdc
net.interface.eno1.ipv6_address.link: fe80::82c1:6eff:fe78:1fdc
net.interface.eno1.ipv6_address.link_list: fe80::82c1:6eff:fe78:1fdc
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: 80:C1:6E:78:1F:DC
net.interface.eno2.mac_address: 80:C1:6E:78:1F:DD
net.interface.eno3.mac_address: 80:C1:6E:78:1F:DE
net.interface.eno4.mac_address: 80:C1:6E:78:1F:DF
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-dl380egen8-01.rhts.eng.bos.redhat.com
network.hostname: hp-dl380egen8-01.rhts.eng.bos.redhat.com
network.ipv4_address: 10.16.70.9
network.ipv6_address: fe80::82c1:6eff:fe78:1fdc, 2620:52:0:1040:82c1:6eff:fe78:1fdc
proc_cpuinfo.common.address_sizes: 46 bits physical, 48 bits virtual
proc_cpuinfo.common.cache_alignment: 64
proc_cpuinfo.common.cache_size: 20480 KB
proc_cpuinfo.common.clflush_size: 64
proc_cpuinfo.common.cpu_cores: 8
proc_cpuinfo.common.cpu_family: 6
proc_cpuinfo.common.cpuid_level: 13
proc_cpuinfo.common.flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts
proc_cpuinfo.common.fpu: yes
proc_cpuinfo.common.fpu_exception: yes
proc_cpuinfo.common.microcode: 0x710
proc_cpuinfo.common.model: 45
proc_cpuinfo.common.model_name: Intel(R) Xeon(R) CPU E5-2470 0 @ 2.30GHz
proc_cpuinfo.common.power_management: Unknown
proc_cpuinfo.common.siblings: 16
proc_cpuinfo.common.stepping: 7
proc_cpuinfo.common.vendor_id: GenuineIntel
proc_cpuinfo.common.wp: yes
system.certificate_version: 3.2
system.default_locale: en_US.UTF-8
uname.machine: x86_64
uname.nodename: hp-dl380egen8-01.rhts.eng.bos.redhat.com
uname.release: 3.10.0-693.el7.x86_64
uname.sysname: Linux
uname.version: #1 SMP Thu Jul 6 19:56:57 EDT 2017
virt.host_type: Not Applicable
virt.is_guest: False

Comment 20 Shwetha Kallesh 2018-09-10 13:14:49 UTC
Verification:

[root@ibm-hs21-12 ~]# subscription-manager  version
server type: This system is currently not registered.
subscription management server: 2.3.9-1
subscription management rules: 5.26
subscription-manager: 1.21.10-2.el7


[root@ibm-hs21-12 ~]# subscription-manager facts --list | grep dmi
dmi.baseboard.manufacturer: IBM
dmi.baseboard.product_name: Server Blade
dmi.baseboard.serial_number: Not Specified
dmi.baseboard.version: Not Specified
dmi.bios.address: 0xf20e0
dmi.bios.relase_date: 06/11/2012
dmi.bios.rom_size: 4096 KB
dmi.bios.runtime_size: 57120 bytes
dmi.bios.vendor: IBM
dmi.bios.version: -[BCE149AUS-1.22]-
dmi.chassis.asset_tag: Unknown
dmi.chassis.boot-up_state: Safe
dmi.chassis.lock: Not Present
dmi.chassis.manufacturer: IBM
dmi.chassis.power_supply_state: Unknown
dmi.chassis.security_status: Unknown
dmi.chassis.serial_number: -[UUID:27511D812CC011D8B9F9DFCFA2D9F1A5]-
dmi.chassis.thermal_state: Unknown
dmi.chassis.type: Main Server Chassis
dmi.chassis.version: Not Specified
dmi.connector.external_connector_type: Access Bus (USB)
dmi.connector.external_reference_designator: USB 1
dmi.connector.internal_connector_type: None
dmi.connector.internal_reference_designator: Not Specified
dmi.connector.port_type: USB
dmi.memory.array_handle: 0x0017
dmi.memory.bank_locator: Slot 4
dmi.memory.data_width: 64 bit
dmi.memory.error_correction_type: Multi-bit ECC
dmi.memory.error_information_handle: No Error
dmi.memory.form_factor: DIMM
dmi.memory.location: System Board Or Motherboard
dmi.memory.locator: DIMM4
dmi.memory.maximum_capacity: 64 GB
dmi.memory.size: 512 MB
dmi.memory.speed:   (ns)
dmi.memory.total_width: 72 bit
dmi.memory.type: DDR
dmi.memory.use: System Memory
dmi.meta.cpu_socket_count: 2
dmi.processor.family: Unknown
dmi.processor.l1_cache_handle: 0x0006
dmi.processor.l2_cache_handle: 0x0007
dmi.processor.socket_designation: Socket 2 CPU 2
dmi.processor.status: Populated:No
dmi.processor.type: Central Processor
dmi.processor.upgrade: ZIF Socket
dmi.processor.version: Not Specified
dmi.processor.voltage: 5.0 V
dmi.system.family: Not Specified
dmi.system.manufacturer: IBM
dmi.system.product_name: IBM eServer BladeCenter HS21 -[8853AC1]-
dmi.system.serial_number: KQLKMZ5
dmi.system.sku_number: Not Specified
dmi.system.uuid: 47f1049d-2599-35f0-a8aa-195f2aee77ee
dmi.system.version: Not Specified
dmi.system.wake-up_type: Power Switch

Comment 22 errata-xmlrpc 2018-10-30 10:36:03 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://access.redhat.com/errata/RHBA-2018:3153

Comment 23 Red Hat Bugzilla 2023-09-15 00:05:52 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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