Distinguish between ssh failure and "Could not find information driver im_kvm"
|Assignee:||Ruben S. Montero||% Done:|
|Target version:||Release 3.6|
|Affected Versions:||OpenNebula 3.0|
For several month we're running a medium sized HPC cluster
on top of ONE-3.0, OS ubuntu 10.10, KVM, im_shared.
I just repaired (several) error states of hosts. The underlying problem
was that the NFSv4 shared directory /srv/one lost the proper idmap
on several clients, resulting in ownership nobody:nogroup for the
/srv/one/.ssh/authorized_keys files, which in turn caused passwordless ssh
for oneadmin to fail.
The error "Could not find information driver im_kvm" in the logfiles
was quite misleading, so I'd like to propose that ONE should distinguish
between ssh failures and "real" failures.
#4 Updated by Carlos Martín about 9 years ago
- Status changed from New to Closed
- Resolution set to worksforme
I can't reproduce this problem, this is what I get in oned.log:
Wed Apr 11 15:30:28 2012 [InM][I]: Monitoring host localhost (0) Wed Apr 11 15:30:28 2012 [InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 0 localhost; else exit 42; fi' Wed Apr 11 15:30:28 2012 [InM][I]: Permission denied, please try again. Wed Apr 11 15:30:28 2012 [InM][I]: Permission denied, please try again. Wed Apr 11 15:30:28 2012 [InM][I]: Permission denied (publickey,password). Wed Apr 11 15:30:28 2012 [InM][I]: ExitCode: 255 Wed Apr 11 15:30:28 2012 [InM][E]: Error monitoring host 0 : MONITOR FAILURE 0 -
It also looks like that error message, "Could not find information driver", is only logged if the driver MAD is not found, before the monitoring action is triggered.