After adding a host I get this error:
Error monitoring Host naraj (8): shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied ERROR MESSAGE --8<------ Error executing kvm.rb ERROR MESSAGE ------>8-- ARCH=x86_64 MODELNAME="Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz"
The files exist in the /var/tmp/one folder
SSH is working with the public key. The user oneadmin on the node is added to libvirt group.
Not sure what to do from here as the error is not clear on what folder is not accessible.
If I login to the node server as oneadmin and run ruby /var/tmp/one/im/kvm-probes.d/kvm.rb I get this result:
HYPERVISOR=kvm
TOTALCPU=800
CPUSPEED=4098
TOTALMEMORY=32718864
USEDMEMORY=13148444
FREEMEMORY=19570420
FREECPU=776
USEDCPU=24
NETRX=21621101753
NETTX=19316397622