sureshanaparti commented on pull request #5506:
URL: https://github.com/apache/cloudstack/pull/5506#issuecomment-1028675146


   Manually verified the CPU speed in CentOS 7.6, Rocky 8.4 and Ubuntu 20.04. 
Looks good.
   
   Log before changes:
   _2022-02-02 16:28:18,088 ERROR [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:e95232e8) Unable to retrieve the CPU speed from 
file [/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq]. Using the value 
[2100] provided by the Libvirt._
   
   Log after changes:
   _2022-02-02 17:00:32,614 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:e3ee9c00) Fetching CPU speed from command "lscpu".
   2022-02-02 17:00:32,639 INFO  [utils.linux.KVMHostInfo] 
(Agent-Handler-1:null) (logid:e3ee9c00) Command [lscpu | grep -i 'Model name' | 
head -n 1 | egrep -o '[[:digit:]].[[:digit:]]+GHz' | sed 's/GHz//g'] resulted 
in the value [2100] for CPU speed._
   
   


-- 
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