IM ssh driver fails to report poll error if the host is unreachable
|Assignee:||Javi Fontan||% Done:|
|Category:||Drivers - Auth|
|Target version:||Release 3.0|
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
[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