Description of problem: Add the libssh transport in the error info about wrong url Version-Release number of selected component (if applicable): libvirt-5.5.0-1.module+el8.1.0+3580+d7f6488d.x86_64 How reproducible: 100% Steps to Reproduce: 1.# virsh -c qemu+libssh://10.73.73.110/system Accept SSH host key with hash '8b:c6:2b:0b:a2:8f:ac:ff:dc:db:16:69:8a:5f:4f:4c:3f:2b:f5:72' for host '10.73.73.110:22' (y/n)?: y Enter root's password for 10.73.73.110: Welcome to virsh, the virtualisation interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh # 2.#virsh -c qemu+libssh3://10.73.73.110/system error: failed to connect to the hypervisor error: invalid argument: remote_open: transport in URL not recognised (should be tls|unix|ssh|ext|tcp|libssh2) Actual results: no libssh transport in the error info about wrong url Expected results: Since libssh is supported, so it's better to add the libssh transport in the error info about wrong url, such as: error: invalid argument: remote_open: transport in URL not recognised (should be tls|unix|ssh|ext|tcp|libssh2|libssh) Additional info:
Patch sent: https://www.redhat.com/archives/libvir-list/2019-July/msg00157.html
Fixed upstream with: commit cfec206e84d6151007a38a9228e10a23b8df57a8 (HEAD -> master, origin/master, origin/HEAD) Author: Pino Toscano <ptoscano> AuthorDate: Thu Jul 4 12:38:26 2019 +0200 Commit: Pino Toscano <ptoscano> CommitDate: Thu Jul 4 13:16:46 2019 +0200 remote: mention libssh in error message Mention libssh as possible transport in the error message of an unrecognized transport. https://bugzilla.redhat.com/show_bug.cgi?id=1727013 Signed-off-by: Pino Toscano <ptoscano> Reviewed-by: Daniel P. Berrangé <berrange>
Verify this bug with: libvirt-daemon-5.6.0-1.module+el8.1.0+3890+4d3d259c.x86_64 qemu-kvm-4.0.0-6.module+el8.1.0+3736+a2aefea3.x86_64 Steps: # virsh -c qemu+abc://10.73.*.*/system error: failed to connect to the hypervisor error: invalid argument: remote_open: transport in URL not recognised (should be tls|unix|ssh|ext|tcp|libssh2|libssh) 'libssh' is included in error info now. Since the result is as expected, mark this bug as verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3723