qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Consulting questions about "qemu-img read content from ss


From: Yanqiu Zhang
Subject: [Qemu-discuss] Consulting questions about "qemu-img read content from ssh"
Date: Thu, 18 May 2017 06:59:50 -0400 (EDT)

Hi,

   I'm a libvirt qe. I have a few questions about "qemu-img read content from 
ssh". Could you help to figure out this? 

On rhel7.4
qemu-kvm-rhev-2.9.0-5.el7.x86_64

1.#qemu-img info ssh://ibm-x3850x6-03.lab.eng.pek2.redhat.com/tmp/a
qemu-img: Could not open 'ssh://ibm-x3850x6-03.lab.eng.pek2.redhat.com/tmp/a': 
no host key was found in known_hosts: Failed to parse known hosts file (libssh2 
error code: -46)

2.#qemu-img create -f qcow2 -b 'json:{"file.driver":"ssh", 
"file.host":"ibm-x3850x6-03.lab.eng.pek2.redhat.com", "file.path":"/tmp/a", 
"file.user":"root", "file.port":22, "file.host_key_check":"no"}' 
/var/lib/libvirt/images/ssh.img
qemu-img: /var/lib/libvirt/images/ssh.img: failed to connect to ssh-agent: no 
auth sock variable (libssh2 error code: -39)



On rhel7.3
qemu-kvm-rhev-2.6.0-28.el7_3.9.x86_64

1.# qemu-img info ssh://ibm-x3850x6-03.lab.eng.pek2.redhat.com/tmp/a
qemu-img: Could not open 'ssh://ibm-x3850x6-03.lab.eng.pek2.redhat.com/tmp/a': 
no host key was found in known_hosts: Failed to parse known hosts file (libssh2 
error code: -46)

2.# qemu-img create -f qcow2 -b 'json:{"file.driver":"ssh", 
"file.host":"ibm-x3850x6-03.lab.eng.pek2.redhat.com", "file.path":"/tmp/a", 
"file.user":"root", "file.port":22, "file.host_key_check":"no"}' 
/var/lib/libvirt/images/ssh.img
Formatting '/var/lib/libvirt/images/ssh.img', fmt=qcow2 size=10737418240 
backing_file=json:{"file.driver":"ssh",, 
"file.host":"ibm-x3850x6-03.lab.eng.pek2.redhat.com",, "file.path":"/tmp/a",, 
"file.user":"root",, "file.port":22,, "file.host_key_check":"no"} 
encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16

Are there any changes here? How should I change my testing strategy? or if 
there are bugs here?

Looking forward to your reply. Thank you!


Best Regards,
Yanqiu Zhang




reply via email to

[Prev in Thread] Current Thread [Next in Thread]