GerorgeEG opened a new issue, #12119:
URL: https://github.com/apache/cloudstack/issues/12119

   ### problem
   
   We are running RHEL8 KVM on AMD hardware and our KVM hosts are getting 
rebooted due the below issue
   
   Unable to retrieve the CPU speed from lscpu.
   
   Error Logs:
   
   zcat agent.log.2025-11-23.gz | grep -i lscpu
   2025-11-23 17:13:45,199 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:151ad4b0) Fetching CPU speed from comm            
                                                                                
                                                                      and 
"lscpu".
   2025-11-23 17:13:45,244 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:151ad4b0) Unable to retrieve the CPU s            
                                                                                
                                                                      peed from 
lscpu.
   2025-11-23 17:14:50,752 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:151ad4b0) Fetching CPU speed from comm            
                                                                                
                                                                      and 
"lscpu".
   2025-11-23 17:14:50,796 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:151ad4b0) Unable to retrieve the CPU s            
                                                                                
                                                                      peed from 
lscpu.
   2025-11-23 17:16:03,926 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Fetching CPU speed from command "lsc            
                                                                                
                                                                      pu".
   2025-11-23 17:16:03,973 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Unable to retrieve the CPU speed fro            
                                                                                
                                                                      m lscpu.
           at 
org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeedFromCommandLscpu(KVMHostInfo.java:134)
   2025-11-23 17:17:16,943 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Fetching CPU speed from command "lsc            
                                                                                
                                                                      pu".
   2025-11-23 17:17:16,989 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Unable to retrieve the CPU speed fro            
                                                                                
                                                                      m lscpu.
           at 
org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeedFromCommandLscpu(KVMHostInfo.java:134)
   2025-11-23 17:18:30,133 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Fetching CPU speed from command "lsc            
                                                                                
                                                                      pu".
   2025-11-23 17:18:30,178 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Unable to retrieve the CPU speed fro            
                                                                                
                                                                      m lscpu.
           at 
org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeedFromCommandLscpu(KVMHostInfo.java:134)
   2025-11-23 17:19:43,204 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Fetching CPU speed from command "lsc            
                                                                                
                                                                      pu".
   2025-11-23 17:19:43,251 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Unable to retrieve the CPU speed fro            
                                                                                
                                                                      m lscpu.
           at 
org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeedFromCommandLscpu(KVMHostInfo.java:134)
   2025-11-23 17:20:56,420 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Fetching CPU speed from command "lsc            
                                                                                
                                                                      pu".
   2025-11-23 17:20:56,466 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Unable to retrieve the CPU speed fro            
                                                                                
                                                                      m lscpu.
           at 
org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeedFromCommandLscpu(KVMHostInfo.java:134)
   2025-11-23 17:22:09,667 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Fetching CPU speed from command "lsc            
                                                                                
                                                                      pu".
   2025-11-23 17:22:09,713 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Unable to retrieve the CPU speed fro            
                                                                                
                                                                      m lscpu.
           at 
org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeedFromCommandLscpu(KVMHostInfo.java:134)
   2025-11-23 17:23:22,643 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Fetching CPU speed from command "lsc            
                                                                                
                                                                      pu".
   2025-11-23 17:23:22,690 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Unable to retrieve the CPU speed fro            
                                                                                
                                                                      m lscpu.
           at 
org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeedFromCommandLscpu(KVMHostInfo.java:134)
   2025-11-23 17:23:53,048 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Fetching CPU speed from command "lsc            
                                                                                
                                                                      pu".
   2025-11-23 17:23:53,094 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:) Unable to retrieve the CPU speed fro            
                                                                                
                                                                      m lscpu.
           at 
org.apache.cloudstack.utils.linux.KVMHostInfo.getCpuSpeedFromCommandLscpu(KVMHostInfo.java:134)
   
   
   Command output
   
   lscpu
   Architecture:        x86_64
   CPU op-mode(s):      32-bit, 64-bit
   Byte Order:          Little Endian
   CPU(s):              128
   On-line CPU(s) list: 0-127
   Thread(s) per core:  2
   Core(s) per socket:  32
   Socket(s):           2
   NUMA node(s):        2
   Vendor ID:           AuthenticAMD
   BIOS Vendor ID:      Advanced Micro Devices, Inc.
   CPU family:          25
   Model:               17
   Model name:          AMD EPYC 9354 32-Core Processor
   BIOS Model name:     AMD EPYC 9354 32-Core Processor
   Stepping:            1
   CPU MHz:             3794.096
   CPU max MHz:         3799.0720
   CPU min MHz:         1500.0000
   BogoMIPS:            6490.27
   Virtualization:      AMD-V
   L1d cache:           32K
   L1i cache:           32K
   L2 cache:            1024K
   L3 cache:            32768K
   NUMA node0 CPU(s):   0-31,64-95
   NUMA node1 CPU(s):   32-63,96-127
   
   [root@vic3235 ~]# virsh nodeinfo
   CPU model:           x86_64
   CPU(s):              128
   CPU frequency:       3250 MHz
   CPU socket(s):       1
   Core(s) per socket:  32
   Thread(s) per core:  2
   NUMA cell(s):        2
   Memory size:         1584479216 KiB
   
   
   [root@vic3235 ~]# virsh capabilities
   <capabilities>
   
     <host>
       <uuid>ec4cce00-a165-11ef-8000-7cc255e9b795</uuid>
       <cpu>
         <arch>x86_64</arch>
         <model>EPYC-Milan</model>
         <vendor>AMD</vendor>
         <microcode version='168825172'/>
         <counter name='tsc' frequency='3245126000' scaling='yes'/>
         <topology sockets='1' dies='1' cores='32' threads='2'/>
         <feature name='ht'/>
         <feature name='monitor'/>
         <feature name='x2apic'/>
         <feature name='osxsave'/>
         <feature name='cmt'/>
         <feature name='avx512f'/>
         <feature name='avx512dq'/>
         <feature name='avx512ifma'/>
         <feature name='avx512cd'/>
         <feature name='avx512bw'/>
         <feature name='avx512vl'/>
         <feature name='avx512vbmi'/>
         <feature name='ospke'/>
         <feature name='avx512vbmi2'/>
         <feature name='gfni'/>
         <feature name='vaes'/>
         <feature name='vpclmulqdq'/>
         <feature name='avx512vnni'/>
         <feature name='avx512bitalg'/>
         <feature name='avx512-vpopcntdq'/>
         <feature name='la57'/>
         <feature name='avx512-bf16'/>
         <feature name='mbm_total'/>
         <feature name='mbm_local'/>
         <feature name='cmp_legacy'/>
         <feature name='extapic'/>
         <feature name='ibs'/>
         <feature name='skinit'/>
         <feature name='wdt'/>
         <feature name='tce'/>
         <feature name='topoext'/>
         <feature name='perfctr_nb'/>
         <feature name='invtsc'/>
         <feature name='lbrv'/>
         <feature name='svm-lock'/>
         <feature name='tsc-scale'/>
         <feature name='vmcb-clean'/>
         <feature name='flushbyasid'/>
         <feature name='decodeassists'/>
         <feature name='pause-filter'/>
         <feature name='pfthreshold'/>
         <pages unit='KiB' size='4'/>
         <pages unit='KiB' size='2048'/>
         <pages unit='KiB' size='1048576'/>
       </cpu>
       <power_management>
         <suspend_mem/>
         <suspend_disk/>
         <suspend_hybrid/>
       </power_management>
       <iommu support='yes'/>
       <migration_features>
         <live/>
         <uri_transports>
           <uri_transport>tcp</uri_transport>
           <uri_transport>rdma</uri_transport>
         </uri_transports>
       </migration_features>
       <topology>
         <cells num='2'>
           <cell id='0'>
             <memory unit='KiB'>791820780</memory>
             <pages unit='KiB' size='4'>197955195</pages>
             <pages unit='KiB' size='2048'>0</pages>
             <pages unit='KiB' size='1048576'>0</pages>
             <distances>
               <sibling id='0' value='10'/>
               <sibling id='1' value='32'/>
             </distances>
             <cpus num='64'>
               <cpu id='0' socket_id='0' die_id='0' core_id='0' 
siblings='0,64'/>
               <cpu id='1' socket_id='0' die_id='0' core_id='1' 
siblings='1,65'/>
               <cpu id='2' socket_id='0' die_id='0' core_id='2' 
siblings='2,66'/>
               <cpu id='3' socket_id='0' die_id='0' core_id='3' 
siblings='3,67'/>
               <cpu id='4' socket_id='0' die_id='0' core_id='32' 
siblings='4,68'/>
               <cpu id='5' socket_id='0' die_id='0' core_id='33' 
siblings='5,69'/>
               <cpu id='6' socket_id='0' die_id='0' core_id='34' 
siblings='6,70'/>
               <cpu id='7' socket_id='0' die_id='0' core_id='35' 
siblings='7,71'/>
               <cpu id='8' socket_id='0' die_id='0' core_id='16' 
siblings='8,72'/>
               <cpu id='9' socket_id='0' die_id='0' core_id='17' 
siblings='9,73'/>
               <cpu id='10' socket_id='0' die_id='0' core_id='18' 
siblings='10,74'/>
               <cpu id='11' socket_id='0' die_id='0' core_id='19' 
siblings='11,75'/>
               <cpu id='12' socket_id='0' die_id='0' core_id='48' 
siblings='12,76'/>
               <cpu id='13' socket_id='0' die_id='0' core_id='49' 
siblings='13,77'/>
               <cpu id='14' socket_id='0' die_id='0' core_id='50' 
siblings='14,78'/>
               <cpu id='15' socket_id='0' die_id='0' core_id='51' 
siblings='15,79'/>
               <cpu id='16' socket_id='0' die_id='0' core_id='24' 
siblings='16,80'/>
               <cpu id='17' socket_id='0' die_id='0' core_id='25' 
siblings='17,81'/>
               <cpu id='18' socket_id='0' die_id='0' core_id='26' 
siblings='18,82'/>
               <cpu id='19' socket_id='0' die_id='0' core_id='27' 
siblings='19,83'/>
               <cpu id='20' socket_id='0' die_id='0' core_id='56' 
siblings='20,84'/>
               <cpu id='21' socket_id='0' die_id='0' core_id='57' 
siblings='21,85'/>
               <cpu id='22' socket_id='0' die_id='0' core_id='58' 
siblings='22,86'/>
               <cpu id='23' socket_id='0' die_id='0' core_id='59' 
siblings='23,87'/>
               <cpu id='24' socket_id='0' die_id='0' core_id='8' 
siblings='24,88'/>
               <cpu id='25' socket_id='0' die_id='0' core_id='9' 
siblings='25,89'/>
               <cpu id='26' socket_id='0' die_id='0' core_id='10' 
siblings='26,90'/>
               <cpu id='27' socket_id='0' die_id='0' core_id='11' 
siblings='27,91'/>
               <cpu id='28' socket_id='0' die_id='0' core_id='40' 
siblings='28,92'/>
               <cpu id='29' socket_id='0' die_id='0' core_id='41' 
siblings='29,93'/>
               <cpu id='30' socket_id='0' die_id='0' core_id='42' 
siblings='30,94'/>
               <cpu id='31' socket_id='0' die_id='0' core_id='43' 
siblings='31,95'/>
               <cpu id='64' socket_id='0' die_id='0' core_id='0' 
siblings='0,64'/>
               <cpu id='65' socket_id='0' die_id='0' core_id='1' 
siblings='1,65'/>
               <cpu id='66' socket_id='0' die_id='0' core_id='2' 
siblings='2,66'/>
               <cpu id='67' socket_id='0' die_id='0' core_id='3' 
siblings='3,67'/>
               <cpu id='68' socket_id='0' die_id='0' core_id='32' 
siblings='4,68'/>
               <cpu id='69' socket_id='0' die_id='0' core_id='33' 
siblings='5,69'/>
               <cpu id='70' socket_id='0' die_id='0' core_id='34' 
siblings='6,70'/>
               <cpu id='71' socket_id='0' die_id='0' core_id='35' 
siblings='7,71'/>
               <cpu id='72' socket_id='0' die_id='0' core_id='16' 
siblings='8,72'/>
               <cpu id='73' socket_id='0' die_id='0' core_id='17' 
siblings='9,73'/>
               <cpu id='74' socket_id='0' die_id='0' core_id='18' 
siblings='10,74'/>
               <cpu id='75' socket_id='0' die_id='0' core_id='19' 
siblings='11,75'/>
               <cpu id='76' socket_id='0' die_id='0' core_id='48' 
siblings='12,76'/>
               <cpu id='77' socket_id='0' die_id='0' core_id='49' 
siblings='13,77'/>
               <cpu id='78' socket_id='0' die_id='0' core_id='50' 
siblings='14,78'/>
               <cpu id='79' socket_id='0' die_id='0' core_id='51' 
siblings='15,79'/>
               <cpu id='80' socket_id='0' die_id='0' core_id='24' 
siblings='16,80'/>
               <cpu id='81' socket_id='0' die_id='0' core_id='25' 
siblings='17,81'/>
               <cpu id='82' socket_id='0' die_id='0' core_id='26' 
siblings='18,82'/>
               <cpu id='83' socket_id='0' die_id='0' core_id='27' 
siblings='19,83'/>
               <cpu id='84' socket_id='0' die_id='0' core_id='56' 
siblings='20,84'/>
               <cpu id='85' socket_id='0' die_id='0' core_id='57' 
siblings='21,85'/>
               <cpu id='86' socket_id='0' die_id='0' core_id='58' 
siblings='22,86'/>
               <cpu id='87' socket_id='0' die_id='0' core_id='59' 
siblings='23,87'/>
               <cpu id='88' socket_id='0' die_id='0' core_id='8' 
siblings='24,88'/>
               <cpu id='89' socket_id='0' die_id='0' core_id='9' 
siblings='25,89'/>
               <cpu id='90' socket_id='0' die_id='0' core_id='10' 
siblings='26,90'/>
               <cpu id='91' socket_id='0' die_id='0' core_id='11' 
siblings='27,91'/>
               <cpu id='92' socket_id='0' die_id='0' core_id='40' 
siblings='28,92'/>
               <cpu id='93' socket_id='0' die_id='0' core_id='41' 
siblings='29,93'/>
               <cpu id='94' socket_id='0' die_id='0' core_id='42' 
siblings='30,94'/>
               <cpu id='95' socket_id='0' die_id='0' core_id='43' 
siblings='31,95'/>
             </cpus>
           </cell>
           <cell id='1'>
             <memory unit='KiB'>792658436</memory>
             <pages unit='KiB' size='4'>198164609</pages>
             <pages unit='KiB' size='2048'>0</pages>
             <pages unit='KiB' size='1048576'>0</pages>
             <distances>
               <sibling id='0' value='32'/>
               <sibling id='1' value='10'/>
             </distances>
             <cpus num='64'>
               <cpu id='32' socket_id='1' die_id='0' core_id='0' 
siblings='32,96'/>
               <cpu id='33' socket_id='1' die_id='0' core_id='1' 
siblings='33,97'/>
               <cpu id='34' socket_id='1' die_id='0' core_id='2' 
siblings='34,98'/>
               <cpu id='35' socket_id='1' die_id='0' core_id='3' 
siblings='35,99'/>
               <cpu id='36' socket_id='1' die_id='0' core_id='32' 
siblings='36,100'/>
               <cpu id='37' socket_id='1' die_id='0' core_id='33' 
siblings='37,101'/>
               <cpu id='38' socket_id='1' die_id='0' core_id='34' 
siblings='38,102'/>
               <cpu id='39' socket_id='1' die_id='0' core_id='35' 
siblings='39,103'/>
               <cpu id='40' socket_id='1' die_id='0' core_id='16' 
siblings='40,104'/>
               <cpu id='41' socket_id='1' die_id='0' core_id='17' 
siblings='41,105'/>
               <cpu id='42' socket_id='1' die_id='0' core_id='18' 
siblings='42,106'/>
               <cpu id='43' socket_id='1' die_id='0' core_id='19' 
siblings='43,107'/>
               <cpu id='44' socket_id='1' die_id='0' core_id='48' 
siblings='44,108'/>
               <cpu id='45' socket_id='1' die_id='0' core_id='49' 
siblings='45,109'/>
               <cpu id='46' socket_id='1' die_id='0' core_id='50' 
siblings='46,110'/>
               <cpu id='47' socket_id='1' die_id='0' core_id='51' 
siblings='47,111'/>
               <cpu id='48' socket_id='1' die_id='0' core_id='24' 
siblings='48,112'/>
               <cpu id='49' socket_id='1' die_id='0' core_id='25' 
siblings='49,113'/>
               <cpu id='50' socket_id='1' die_id='0' core_id='26' 
siblings='50,114'/>
               <cpu id='51' socket_id='1' die_id='0' core_id='27' 
siblings='51,115'/>
               <cpu id='52' socket_id='1' die_id='0' core_id='56' 
siblings='52,116'/>
               <cpu id='53' socket_id='1' die_id='0' core_id='57' 
siblings='53,117'/>
               <cpu id='54' socket_id='1' die_id='0' core_id='58' 
siblings='54,118'/>
               <cpu id='55' socket_id='1' die_id='0' core_id='59' 
siblings='55,119'/>
               <cpu id='56' socket_id='1' die_id='0' core_id='8' 
siblings='56,120'/>
               <cpu id='57' socket_id='1' die_id='0' core_id='9' 
siblings='57,121'/>
               <cpu id='58' socket_id='1' die_id='0' core_id='10' 
siblings='58,122'/>
               <cpu id='59' socket_id='1' die_id='0' core_id='11' 
siblings='59,123'/>
               <cpu id='60' socket_id='1' die_id='0' core_id='40' 
siblings='60,124'/>
               <cpu id='61' socket_id='1' die_id='0' core_id='41' 
siblings='61,125'/>
               <cpu id='62' socket_id='1' die_id='0' core_id='42' 
siblings='62,126'/>
               <cpu id='63' socket_id='1' die_id='0' core_id='43' 
siblings='63,127'/>
               <cpu id='96' socket_id='1' die_id='0' core_id='0' 
siblings='32,96'/>
               <cpu id='97' socket_id='1' die_id='0' core_id='1' 
siblings='33,97'/>
               <cpu id='98' socket_id='1' die_id='0' core_id='2' 
siblings='34,98'/>
               <cpu id='99' socket_id='1' die_id='0' core_id='3' 
siblings='35,99'/>
               <cpu id='100' socket_id='1' die_id='0' core_id='32' 
siblings='36,100'/>
               <cpu id='101' socket_id='1' die_id='0' core_id='33' 
siblings='37,101'/>
               <cpu id='102' socket_id='1' die_id='0' core_id='34' 
siblings='38,102'/>
               <cpu id='103' socket_id='1' die_id='0' core_id='35' 
siblings='39,103'/>
               <cpu id='104' socket_id='1' die_id='0' core_id='16' 
siblings='40,104'/>
               <cpu id='105' socket_id='1' die_id='0' core_id='17' 
siblings='41,105'/>
               <cpu id='106' socket_id='1' die_id='0' core_id='18' 
siblings='42,106'/>
               <cpu id='107' socket_id='1' die_id='0' core_id='19' 
siblings='43,107'/>
               <cpu id='108' socket_id='1' die_id='0' core_id='48' 
siblings='44,108'/>
               <cpu id='109' socket_id='1' die_id='0' core_id='49' 
siblings='45,109'/>
               <cpu id='110' socket_id='1' die_id='0' core_id='50' 
siblings='46,110'/>
               <cpu id='111' socket_id='1' die_id='0' core_id='51' 
siblings='47,111'/>
               <cpu id='112' socket_id='1' die_id='0' core_id='24' 
siblings='48,112'/>
               <cpu id='113' socket_id='1' die_id='0' core_id='25' 
siblings='49,113'/>
               <cpu id='114' socket_id='1' die_id='0' core_id='26' 
siblings='50,114'/>
               <cpu id='115' socket_id='1' die_id='0' core_id='27' 
siblings='51,115'/>
               <cpu id='116' socket_id='1' die_id='0' core_id='56' 
siblings='52,116'/>
               <cpu id='117' socket_id='1' die_id='0' core_id='57' 
siblings='53,117'/>
               <cpu id='118' socket_id='1' die_id='0' core_id='58' 
siblings='54,118'/>
               <cpu id='119' socket_id='1' die_id='0' core_id='59' 
siblings='55,119'/>
               <cpu id='120' socket_id='1' die_id='0' core_id='8' 
siblings='56,120'/>
               <cpu id='121' socket_id='1' die_id='0' core_id='9' 
siblings='57,121'/>
               <cpu id='122' socket_id='1' die_id='0' core_id='10' 
siblings='58,122'/>
               <cpu id='123' socket_id='1' die_id='0' core_id='11' 
siblings='59,123'/>
               <cpu id='124' socket_id='1' die_id='0' core_id='40' 
siblings='60,124'/>
               <cpu id='125' socket_id='1' die_id='0' core_id='41' 
siblings='61,125'/>
               <cpu id='126' socket_id='1' die_id='0' core_id='42' 
siblings='62,126'/>
               <cpu id='127' socket_id='1' die_id='0' core_id='43' 
siblings='63,127'/>
             </cpus>
           </cell>
         </cells>
         <interconnects>
           <latency initiator='0' target='0' type='read' value='110'/>
           <latency initiator='0' target='0' type='write' value='110'/>
           <latency initiator='1' target='1' type='read' value='110'/>
           <latency initiator='1' target='1' type='write' value='110'/>
           <bandwidth initiator='0' target='0' type='read' value='353894400' 
unit='KiB'/>
           <bandwidth initiator='0' target='0' type='write' value='353894400' 
unit='KiB'/>
           <bandwidth initiator='1' target='1' type='read' value='353894400' 
unit='KiB'/>
           <bandwidth initiator='1' target='1' type='write' value='353894400' 
unit='KiB'/>
         </interconnects>
       </topology>
       <cache>
         <bank id='0' level='3' type='both' size='32' unit='MiB' 
cpus='0-3,64-67'/>
         <bank id='2' level='3' type='both' size='32' unit='MiB' 
cpus='24-27,88-91'/>
         <bank id='4' level='3' type='both' size='32' unit='MiB' 
cpus='8-11,72-75'/>
         <bank id='6' level='3' type='both' size='32' unit='MiB' 
cpus='16-19,80-83'/>
         <bank id='8' level='3' type='both' size='32' unit='MiB' 
cpus='4-7,68-71'/>
         <bank id='10' level='3' type='both' size='32' unit='MiB' 
cpus='28-31,92-95'/>
         <bank id='12' level='3' type='both' size='32' unit='MiB' 
cpus='12-15,76-79'/>
         <bank id='14' level='3' type='both' size='32' unit='MiB' 
cpus='20-23,84-87'/>
         <bank id='16' level='3' type='both' size='32' unit='MiB' 
cpus='32-35,96-99'/>
         <bank id='18' level='3' type='both' size='32' unit='MiB' 
cpus='56-59,120-123'/>
         <bank id='20' level='3' type='both' size='32' unit='MiB' 
cpus='40-43,104-107'/>
         <bank id='22' level='3' type='both' size='32' unit='MiB' 
cpus='48-51,112-115'/>
         <bank id='24' level='3' type='both' size='32' unit='MiB' 
cpus='36-39,100-103'/>
         <bank id='26' level='3' type='both' size='32' unit='MiB' 
cpus='60-63,124-127'/>
         <bank id='28' level='3' type='both' size='32' unit='MiB' 
cpus='44-47,108-111'/>
         <bank id='30' level='3' type='both' size='32' unit='MiB' 
cpus='52-55,116-119'/>
       </cache>
       <secmodel>
         <model>none</model>
         <doi>0</doi>
       </secmodel>
       <secmodel>
         <model>dac</model>
         <doi>0</doi>
         <baselabel type='kvm'>+0:+0</baselabel>
         <baselabel type='qemu'>+0:+0</baselabel>
       </secmodel>
     </host>
   
     <guest>
       <os_type>hvm</os_type>
       <arch name='i686'>
         <wordsize>32</wordsize>
         <emulator>/usr/libexec/qemu-kvm</emulator>
         <machine maxCpus='240'>pc-i440fx-rhel7.6.0</machine>
         <machine canonical='pc-i440fx-rhel7.6.0' maxCpus='240'>pc</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.0.0</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.5.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.5.0</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.3.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.3.0</machine>
         <machine maxCpus='710'>pc-q35-rhel7.6.0</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.1.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.1.0</machine>
         <machine maxCpus='710'>pc-q35-rhel7.4.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.6.0</machine>
         <machine canonical='pc-q35-rhel8.6.0' maxCpus='710'>q35</machine>
         <machine maxCpus='710'>pc-q35-rhel8.4.0</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.4.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.2.0</machine>
         <machine maxCpus='710'>pc-q35-rhel7.5.0</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.2.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.0.0</machine>
         <machine maxCpus='255'>pc-q35-rhel7.3.0</machine>
         <domain type='qemu'/>
         <domain type='kvm'/>
       </arch>
       <features>
         <pae/>
         <nonpae/>
         <acpi default='on' toggle='yes'/>
         <apic default='on' toggle='no'/>
         <cpuselection/>
         <deviceboot/>
         <disksnapshot default='on' toggle='no'/>
       </features>
     </guest>
   
     <guest>
       <os_type>hvm</os_type>
       <arch name='x86_64'>
         <wordsize>64</wordsize>
         <emulator>/usr/libexec/qemu-kvm</emulator>
         <machine maxCpus='240'>pc-i440fx-rhel7.6.0</machine>
         <machine canonical='pc-i440fx-rhel7.6.0' maxCpus='240'>pc</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.0.0</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.5.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.5.0</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.3.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.3.0</machine>
         <machine maxCpus='710'>pc-q35-rhel7.6.0</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.1.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.1.0</machine>
         <machine maxCpus='710'>pc-q35-rhel7.4.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.6.0</machine>
         <machine canonical='pc-q35-rhel8.6.0' maxCpus='710'>q35</machine>
         <machine maxCpus='710'>pc-q35-rhel8.4.0</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.4.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.2.0</machine>
         <machine maxCpus='710'>pc-q35-rhel7.5.0</machine>
         <machine maxCpus='240'>pc-i440fx-rhel7.2.0</machine>
         <machine maxCpus='710'>pc-q35-rhel8.0.0</machine>
         <machine maxCpus='255'>pc-q35-rhel7.3.0</machine>
         <domain type='qemu'/>
         <domain type='kvm'/>
       </arch>
       <features>
         <acpi default='on' toggle='yes'/>
         <apic default='on' toggle='no'/>
         <cpuselection/>
         <deviceboot/>
         <disksnapshot default='on' toggle='no'/>
       </features>
     </guest>
   
   </capabilities>
   
   
   ### versions
   
   The versions of ACS, hypervisors, storage, network etc..
   
   CloudStack 4.19.1.2 
   
   Cloudstack agent version on KVM
   
   rpm -qa |grep -i cloudstack
   cloudstack-agent-4.19.1.2-1.x86_64
   cloudstack-common-4.19.1.2-1.x86_64
   
   KVM :  
   
   cat /etc/redhat-release
   Red Hat Enterprise Linux release 8.10 (Ootpa)
   
   uname -r
   4.18.0-553.33.1.el8_10.x86_64
   
   
   Storage : NFS (NetApp)
   
   ### The steps to reproduce the bug
   
   1.
   2.
   3.
   ...
   
   
   ### What to do about it?
   
   We did go through the https://github.com/apache/cloudstack/pull/6696 but it 
looks like ACS setup is not going to option 3 and 4 mention in solution and it 
is trying to fetch CPU speed through lscpu command only.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to