Bug 1070908
| Summary: | subscription-manager facts collection for hardware does not match lscpu on ppc64 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> | ||||
| Component: | subscription-manager | Assignee: | candlepin-bugs | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.0 | CC: | alikins, candlepin-bugs, ckozak, dlah | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-06-13 10:57:18 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: | |||||||
| Bug Blocks: | 863175, 1151596 | ||||||
| Attachments: |
|
||||||
Verifying.... First, let's re-confirm the failure on offending hardware... [root@ibm-p730-02-lp3 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 Beta (Maipo) [root@ibm-p730-02-lp3 ~]# uname -a Linux ibm-p730-02-lp3.rhts.eng.bos.redhat.com 3.10.0-110.el7.ppc64 #1 SMP Wed Mar 12 17:46:01 EDT 2014 ppc64 ppc64 ppc64 GNU/Linux [root@ibm-p730-02-lp3 ~]# rpm -q subscription-manager subscription-manager-1.10.14-4.el7.ppc64 [root@ibm-p730-02-lp3 ~]# subscription-manager facts --list | grep "cpu." cpu.core(s)_per_socket: 1 cpu.cpu(s): 64 <======= DOES NOT MATCH lscpu.cpu(s) cpu.cpu_socket(s): 16 <======= DOES NOT MATCH lscpu.socket(s) cpu.thread(s)_per_core: 4 cpu.topology_source: kernel /sys cpu sibling lists lscpu.architecture: ppc64 lscpu.byte_order: Big Endian lscpu.core(s)_per_socket: 1 lscpu.cpu(s): 8 lscpu.cpu_op-mode(s): 32-bit, 64-bit lscpu.l1d_cache: 32K lscpu.l1i_cache: 32K lscpu.model: IBM,8231-E2B lscpu.numa_node(s): 2 lscpu.numa_node0_cpu(s): 0-7 lscpu.numa_node1_cpu(s): Unknown lscpu.on-line_cpu(s)_list: 0-7 lscpu.socket(s): 2 lscpu.thread(s)_per_core: 4 Now let's re-test after updating subscription-manager package... [root@ibm-p730-02-lp3 ~]# rpm -q subscription-manager subscription-manager-1.10.14-5.el7.ppc64 [root@ibm-p730-02-lp3 ~]# subscription-manager facts --list | grep "cpu." cpu.core(s)_per_socket: 1 <======= VERIFIED: MATCHES lscpu.core(s)_per_socket cpu.cpu(s): 8 <======= VERIFIED: MATCHES lscpu.cpu(s) cpu.cpu_socket(s): 2 <======= VERIFIED: MATCHES lscpu.socket(s) cpu.thread(s)_per_core: 4 <======= VERIFIED: MATCHES lscpu.thread(s)_per_core cpu.topology_source: kernel /sys cpu sibling lists lscpu.architecture: ppc64 lscpu.byte_order: Big Endian lscpu.core(s)_per_socket: 1 lscpu.cpu(s): 8 lscpu.cpu_op-mode(s): 32-bit, 64-bit lscpu.l1d_cache: 32K lscpu.l1i_cache: 32K lscpu.model: IBM,8231-E2B lscpu.numa_node(s): 2 lscpu.numa_node0_cpu(s): 0-7 lscpu.numa_node1_cpu(s): Unknown lscpu.on-line_cpu(s)_list: 0-7 lscpu.socket(s): 2 lscpu.thread(s)_per_core: 4 Verified this fix on subscription-manager-1.10.14-5.el7.ppc64 which is now included in Snapshot12 RHEL-7.0-20140319.0 This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |
Created attachment 868654 [details] hardware info tar file from ibm-p730-02-lp3.rhts.eng.bos.redhat.com Description of problem: The cpu.cpu_socket(s) fact is used for compliance calculations on a ppc64 system consuming a "Red Hat Enterprise Linux Beta for IBM POWER" subscription. However the fact values used for compliance computation are different than what is reported by lscpu as shown in the facts list below... The consequence of this case is that subscription-manager will require more subscriptions to be attached to achieve compliance than what is arguably necessary. ssh root.eng.bos.redhat.com subscription-manager facts --list Stdout: cpu.core(s)_per_socket: 1 cpu.cpu(s): 64 cpu.cpu_socket(s): 16 <====== USED BY subscription-manager cpu.thread(s)_per_core: 4 cpu.topology_source: kernel /sys cpu sibling lists distribution.id: Maipo distribution.name: Red Hat Enterprise Linux Server distribution.version: 7.0 distribution.version.modifier: beta lscpu.architecture: ppc64 lscpu.byte_order: Big Endian lscpu.core(s)_per_socket: 1 lscpu.cpu(s): 8 lscpu.cpu_op-mode(s): 32-bit, 64-bit lscpu.l1d_cache: 32K lscpu.l1i_cache: 32K lscpu.model: IBM,8231-E2B lscpu.numa_node(s): 2 lscpu.numa_node0_cpu(s): 0-7 lscpu.numa_node1_cpu(s): Unknown lscpu.on-line_cpu(s)_list: 0-7 lscpu.socket(s): 2 <============ DISCREPANCY lscpu.thread(s)_per_core: 4 memory.memtotal: 5180096 memory.swaptotal: 2936768 net.interface.eth0.mac_address: B6:E9:FB:E9:A5:04 net.interface.eth1.ipv4_address: 10.16.70.43 net.interface.eth1.ipv4_broadcast: 10.16.71.255 net.interface.eth1.ipv4_netmask: 21 net.interface.eth1.ipv6_address.global: 2620:52:0:1040:e61f:13ff:fe8e:e274 net.interface.eth1.ipv6_address.link: fe80::e61f:13ff:fe8e:e274 net.interface.eth1.ipv6_address.site: fec0:0:a10:4000:e61f:13ff:fe8e:e274 net.interface.eth1.ipv6_netmask.global: 64 net.interface.eth1.ipv6_netmask.link: 64 net.interface.eth1.ipv6_netmask.site: 64 net.interface.eth1.mac_address: E4:1F:13:8E:E2:74 net.interface.lo.ipv4_address: 127.0.0.1 net.interface.lo.ipv4_broadcast: Unknown net.interface.lo.ipv4_netmask: 8 net.interface.lo.ipv6_address.host: ::1 net.interface.lo.ipv6_netmask.host: 128 network.hostname: ibm-p730-02-lp3.rhts.eng.bos.redhat.com network.ipv4_address: 10.16.70.43 network.ipv6_address: ::1 system.certificate_version: 3.2 uname.machine: ppc64 uname.nodename: ibm-p730-02-lp3.rhts.eng.bos.redhat.com uname.release: 3.10.0-97.el7.ppc64 uname.sysname: Linux uname.version: #1 SMP Tue Feb 25 15:25:24 EST 2014 virt.host_type: Not Applicable virt.is_guest: False Version-Release number of selected component (if applicable): subscription-manager-1.10.14-3.el7.ppc64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: