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'];
Attachments
Activity
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: classic default workflow [ 11814 ] | New: Observium workflow [ 12997 ] |
Assignee | Original: Adam Armstrong [ adama ] | New: Tom Laermans [ sid3windr ] |