Bug #630
IM ssh driver fails to report poll error if the host is unreachable
Status: | Closed | Start date: | 05/11/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | Drivers - Auth | |||
Target version: | Release 3.0 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: |
Description
If a Host with no route to it is created, the driver should return FAILURE.
Instead, it logs the 'scp' command error and doesn't return either FAILURE or SUCCESS.
$ onehost create node_kvm im_kvm vmm_dummy tm_dummy
from oned.log
[InM][I]: Monitoring host node_kvm (3) [InM][I]: Command execution fail: scp -r /install/var/remotes//. node_kvm:/var/tmp/one [InM][I]: STDERR follows. [InM][I]: ssh: Could not resolve hostname node_kvm: Name or service not known [InM][I]: lost connection [InM][I]: ExitCode: 1
Associated revisions
bug #630: host monitoring gives an error when the remotes could not be updated
History
#1 Updated by Javi Fontan about 10 years ago
It also does not give error when the remotes directory is not there:
Tue Jun 28 11:46:44 2011 [InM][E]: Could not stat remotes directory, will not update remotes.
#2 Updated by Ruben S. Montero almost 10 years ago
- Target version set to Release 3.0
#3 Updated by Carlos Martín almost 10 years ago
- Status changed from New to Closed
- Resolution set to fixed