Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1434841

Summary: internal error: 'ssh' protocol is not yet supported
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: libvirt-maint, pkrempa, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-23 07:02:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 910269    
Attachments:
Description Flags
log none

Description Richard W.M. Jones 2017-03-22 13:05:32 UTC
Created attachment 1265399 [details]
log

Description of problem:

I'm sure I've seen this bug before, but I cannot find it now ...

$ guestfish --format=raw -a ssh://192.168.0.87/disk.img run
[...]
Original error from libvirt: internal error: 'ssh' protocol is not yet supported [code=1 int1=-1]

In this case 192.168.0.87 is an ssh server which is reachable
using ssh-agent (as is required by the ssh driver in qemu).

It appears this error comes from:

src/qemu/qemu_command.c:qemuBuildNetworkDriveStr

        case VIR_STORAGE_NET_PROTOCOL_SSH:
            virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
                           _("'ssh' protocol is not yet supported"));
            goto cleanup;

Version-Release number of selected component (if applicable):

libvirt-daemon-3.1.0-1.fc27.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Run the guestfish command as above.

Additional info:

Further information about the libvirt XML etc can be found in the
attached log file.

Comment 1 Peter Krempa 2017-03-23 07:02:49 UTC

*** This bug has been marked as a duplicate of bug 1140166 ***