I am getting authentication errors when trying to get monitoring data from newly added onehosts. I've created 'oneadmin' local account using same UID/GID on every server. Passwordless ssh configured on all servers for oneadmin account. Also, somehow /var/tmp/one directory was missing on opennebula fron-end server so I copied from one of the kvm hosts. When I try manually run run_probes I get following:
pam_authenticated failed: User not known to the underlying authentication module oneadmin@hb09:~> onehost show 6 HOST 6 INFORMATION ID : 6 NAME : hb09-vmn.cluster.net CLUSTER : fte STATE : ERROR IM_MAD : im_kvm VM_MAD : vmm_kvm VN_MAD : dummy LAST MONITORING TIME : 1340225872 HOST SHARES MAX MEM : 0 USED MEM (REAL) : 0 USED MEM (ALLOCATED) : 0 MAX CPU : 0 USED CPU (REAL) : 0 USED CPU (ALLOCATED) : 0 MAX DISK : 0 USED DISK (REAL) : 0 USED DISK (ALLOCATED) : 0 RUNNING VMS : 0 MONITORING INFORMATION ERROR=[ MESSAGE="Error monitoring host 6 : MONITOR FAILURE 6 Error executing kvm.rb ", TIMESTAMP="Wed Jun 20 16:57:52 2012" ] oneadmin@hb37:~> /var/tmp/one/im/run_probes kvm 5 hb09 error: authentication failed error: failed to connect to the hypervisor ERROR MESSAGE --8<------ Error executing kvm.rb ERROR MESSAGE ------>8-- ARCH=x86_64 MODELNAME="Intel(R) Xeon(TM) CPU 3.50GHz" polkit-grant-helper-pam: pam_authenticated failed: User not known to the underlying authentication module oned.log: Wed Jun 20 16:57:35 2012 [ReM][D]: ClusterPoolInfo method invoked Wed Jun 20 16:57:39 2012 [ReM][D]: ImagePoolInfo method invoked Wed Jun 20 16:57:42 2012 [ReM][D]: VirtualNetworkPoolInfo method invoked Wed Jun 20 16:57:46 2012 [ReM][D]: AclInfo method invoked Wed Jun 20 16:57:52 2012 [InM][I]: Monitoring host hb09-vmn.cluster.net (6) Wed Jun 20 16:57:52 2012 [ReM][D]: HostPoolInfo method invoked Wed Jun 20 16:57:52 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Wed Jun 20 16:57:52 2012 [ReM][D]: AclInfo method invoked Wed Jun 20 16:57:52 2012 [InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 6 hb 09-vmn.cluster.net; else exit 42; fi' Wed Jun 20 16:57:52 2012 [InM][I]: error: authentication failed Wed Jun 20 16:57:52 2012 [InM][I]: error: failed to connect to the hypervisor Wed Jun 20 16:57:52 2012 [InM][E]: Error executing kvm.rb Wed Jun 20 16:57:52 2012 [InM][I]: ExitCode: 255 Wed Jun 20 16:57:52 2012 [InM][E]: Error monitoring host 6 : MONITOR FAILURE 6 Error executing kvm.rb _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
