[Libguestfs] vmx+ssh conversion failure -- read failed: would block

Tomáš Golembiovský tgolembi at redhat.com
Tue May 22 14:33:02 UTC 2018


Hi,

I noticed some issues with the ssh transport mode where the virt-v2v
would fail because of issue with libssh2. I see a lot of following
errors before the conversion terminates:

> commandrvf: /usr/sbin/update-initramfs -v -c -k 4.9.0-4-amd64
> read failed: would block (libssh2 error code: -37, sftp error code: 0)
> /usr/sbin/mkinitramfs: 265: /usr/sbin/mkinitramfs: dirname: Exec format error

Full log attached. The command used to run the conversion was:

> '/usr/bin/virt-v2v' '-v' '-x' 'ssh://root@x.x.x.x/vmfs/volumes/datastore/tg-mini/tg-mini.vmx' '-of' 'raw' '--bridge' 'ovirtmgmt' '-i' 'vmx' '-it' 'ssh' '-o' 'rhv-upload' '-oc' 'https://ovirt-engine42.kvm/ovirt-engine/api' '-os' 'data' '-op' '/tmp/tmpAEJ9LA.v2v' '-oo' 'rhv-cafile=/etc/pki/vdsm/certs/cacert.pem' '-oo' 'rhv-cluster=Default' '-oo' 'rhv-direct' '-oa' 'sparse' '--bridge' 'VM Network:ovirtmgmt' '--bridge' 'TG_Network:testnet'

Is this bug in qemu or are we simply using it wrong?

    Tomas

-- 
Tomáš Golembiovský <tgolembi at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2v-import-20180522T152842-11076.log
Type: text/x-log
Size: 867785 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20180522/dbbcb97a/attachment.bin>


More information about the Libguestfs mailing list