← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1428872] [NEW] Nova CPU details socket not correct

 

Public bug reported:

we are using Mirantis 6.0 
we are trying to find a physical CPU information  from Nova compute host . e are using nova hypervisor-show command.

when i tried running the nova hypervisor-show <compute_node>

its show me correct info cpu_arch , cpu_info_features and cores ... but
its show its only one sockets where as we are using 2 CPU .( see details
from compute node below)


 


we are trying to find physical CPU details from Nova-compute host blade , 

Here is what nova shows

root@node-9:~# nova hypervisor-show node-12
+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property                  | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| cpu_info_arch             | x86_64                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| cpu_info_features         | ["ssse3", "pge", "avx", "clflush", "sep", "syscall", "vme", "dtes64", "invpcid", "msr", "sse", "xsave", "vmx", "erms", "xtpr", "cmov", "tsc", "smep", "pbe", "est", "pat", "monitor", "smx", "lm", "abm", "nx", "fxsr", "tm", "sse4.1", "pae", "sse4.2", "pclmuldq", "acpi", "fma", "tsc-deadline", "popcnt", "mmx", "osxsave", "cx8", "mce", "mtrr", "rdtscp", "ht", "dca", "lahf_lm", "pdcm", "mca", "pdpe1gb", "apic", "fsgsbase", "f16c", "pse", "ds", "pni", "tm2", "avx2", "aes", "sse2", "ss", "bmi1", "bmi2", "pcid", "de", "fpu", "cx16", "pse36", "ds_cpl", "movbe", "rdrand", "x2apic"] |
| cpu_info_model            | SandyBridge                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| cpu_info_topology_cores   | 12                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| cpu_info_topology_sockets | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| cpu_info_topology_threads 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| cpu_info_vendor           | Intel          
`

In reality it is 2 CPU as below , here is output from nova-compute host


root@node-16:~# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                48
On-line CPU(s) list:   0-47
Thread(s) per core:    2
Core(s) per socket:    12
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Stepping:              2
CPU MHz:               2500.093
BogoMIPS:              5001.17
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              30720K
NUMA node0 CPU(s):     0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46
NUMA node1 CPU(s):     1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47

** Affects: mos
     Importance: Undecided
         Status: New

** Affects: nova
     Importance: Undecided
         Status: New

** Also affects: nova
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1428872

Title:
  Nova CPU details  socket not correct

Status in Mirantis OpenStack:
  New
Status in OpenStack Compute (Nova):
  New

Bug description:
  we are using Mirantis 6.0 
  we are trying to find a physical CPU information  from Nova compute host . e are using nova hypervisor-show command.

  when i tried running the nova hypervisor-show <compute_node>

  its show me correct info cpu_arch , cpu_info_features and cores ...
  but its show its only one sockets where as we are using 2 CPU .( see
  details from compute node below)

  
   

  
  we are trying to find physical CPU details from Nova-compute host blade , 

  Here is what nova shows

  root@node-9:~# nova hypervisor-show node-12
  +---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Property                  | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
  +---------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | cpu_info_arch             | x86_64                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
  | cpu_info_features         | ["ssse3", "pge", "avx", "clflush", "sep", "syscall", "vme", "dtes64", "invpcid", "msr", "sse", "xsave", "vmx", "erms", "xtpr", "cmov", "tsc", "smep", "pbe", "est", "pat", "monitor", "smx", "lm", "abm", "nx", "fxsr", "tm", "sse4.1", "pae", "sse4.2", "pclmuldq", "acpi", "fma", "tsc-deadline", "popcnt", "mmx", "osxsave", "cx8", "mce", "mtrr", "rdtscp", "ht", "dca", "lahf_lm", "pdcm", "mca", "pdpe1gb", "apic", "fsgsbase", "f16c", "pse", "ds", "pni", "tm2", "avx2", "aes", "sse2", "ss", "bmi1", "bmi2", "pcid", "de", "fpu", "cx16", "pse36", "ds_cpl", "movbe", "rdrand", "x2apic"] |
  | cpu_info_model            | SandyBridge                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
  | cpu_info_topology_cores   | 12                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
  | cpu_info_topology_sockets | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
  | cpu_info_topology_threads 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
  | cpu_info_vendor           | Intel          
  `

  In reality it is 2 CPU as below , here is output from nova-compute
  host

  
  root@node-16:~# lscpu
  Architecture:          x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
  CPU(s):                48
  On-line CPU(s) list:   0-47
  Thread(s) per core:    2
  Core(s) per socket:    12
  Socket(s):             2
  NUMA node(s):          2
  Vendor ID:             GenuineIntel
  CPU family:            6
  Model:                 63
  Stepping:              2
  CPU MHz:               2500.093
  BogoMIPS:              5001.17
  Virtualization:        VT-x
  L1d cache:             32K
  L1i cache:             32K
  L2 cache:              256K
  L3 cache:              30720K
  NUMA node0 CPU(s):     0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46
  NUMA node1 CPU(s):     1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47

To manage notifications about this bug go to:
https://bugs.launchpad.net/mos/+bug/1428872/+subscriptions


Follow ups

References