Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
None
Description
Discovery works using SSH for first phase but second phase fails.
Libvirt VM: error: Cannot recv data: ssh: connect to host ovz1 port 22: Connection refused: Connection reset by peer
error: failed to connect to the hypervisor
error: Cannot recv data: ssh: connect to host ovz1 port 22: Connection refused: Connection reset by peer
error: failed to connect to the hypervisor
------
hackaround:
discovery/libvirt-vminfo.inc.php
Old: $uri = $method.'://' . $device['hostname'] . '/system';
New: $uri = $method.'://' . $device['hostname'] . ':' . $device['ssh_port'] . '/system';
Old: $uri = $method.'://' . $device['hostname'];
New: $uri = $method.'://' . $device['hostname'] . ':' . $device['ssh_port'];