Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-954

SSH as parameter virsh

    XMLWordPrintable

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

          People

            sid3windr Tom Laermans
            wgfreewill William Groh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: