[one-users] MONITOR FAILURE 6 Error executing kvm.rb
Javier Fontan
jfontan at opennebula.org
Thu Jun 21 03:01:31 PDT 2012
OpenNebula does not need remotes in the frontend to be located in
/var/tmp/one. They are locatrd at /var/lib/one/remotes and copied to
the nodes.
The error you are having look like you have authentication enabled for
libvirt socket connections. These are the parameters I have configured
in /etc/libvirt/libvirtd.conf
--8<------
listen_tls = 0
listen_tcp = 1
unix_sock_group = "libvirtd"
unix_sock_rw_perms = "0770"
mdns_adv = 0
auth_unix_ro = "none"
auth_unix_rw = "none"
------>8--
Most probably the problems are with auth_unix_* configuration, make
sure they say none.
On Wed, Jun 20, 2012 at 11:08 PM, Andrei Vakhnin
<andrey.a.vakhnin at nasa.gov> wrote:
> 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 at 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 at 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
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula
More information about the Users
mailing list