![]() ![]() |
#1
|
||||
|
||||
![]()
SMGR is checking the HW resources and it is doing it wrong!
SMGR-8.1.0.0.733078-KVM-47.ova (SMGR81GA007), patched SMGR81GA013, SMGR81GA018 and SMGR81SSP01 /opt/Avaya/vsp/VEProfile/VEProfile.sh:55 Code:
allocated_cpu=`cat /proc/cpuinfo | grep processor | wc -l` ![]() Solution is in including tabulator and colon (additionally matching the word from the beginning of line with ^) in the grep: Code:
cat /proc/cpuinfo | grep -P "^processor\t:" | wc -l ... btw. next issue is that if configuration changes one can’t run the VM and it shuts down itself without warning (lame): ![]() ... and please don't tell me to change CPU type to 'host' ... I already did that but it doesn't change the thing that script is buggy. Last edited by hajek2; 09-17-2019 at 04:53 AM. Reason: sytem info |
#2
|
||||
|
||||
![]()
Good info. Avaya development needs to see this post.
|
![]() |
Tags |
bug, hw detection, kvm, smgr |
Thread Tools | Search this Thread |
Display Modes | |
|
|