[libvirt-users] qemu+ssh fails with "packet received from server too large"

Trey Dockendorf treydock at gmail.com
Sat Oct 1 00:48:49 UTC 2011


I'm attempting to connect to my KVM host from a remote system, but am unable
to connect using virsh.  I'm able to connect if I disable sasl on the KVM
host...

The KVM host is on CentOS 6 x86_64 with libvirt-0.8.1

Here's the command I'm using,
---------
$ virsh -c qemu+ssh://kvmhost.tld/system
error: packet received from server too large
error: failed to connect to the hypervisor


Here's the uncommented lines in my /etc/libvirt/libvirtd.conf
-----------
listen_tls = 1
listen_tcp = 0
listen_addr = "...." (set to eth0)
key_file = "/var/lib/puppet/ssl/private_keys/kvmhost.tld.pem"
cert_file = "/var/lib/puppet/ssl/certs/kvmhost.tld.pem"
ca_file = "/var/lib/puppet/ssl/certs/ca.pem"
log_level = 1
log_filters="1:remote 1:event"
log_outputs="1:syslog:libvirtd 1:file:/var/log/libvirt/libvirtd.log"


There is no output in /var/log/libvirt/libvirtd.log while trying to connect
remotely through virsh.  The only logs that are generated are
/var/log/secure,
--------------
Sep 30 19:34:53 kvmhost sshd[20074]: Accepted publickey for foreman from
10.1.0.1 port 55269 ssh2
Sep 30 19:34:53 kvmhost sshd[20074]: pam_unix(sshd:session): session opened
for user foreman by (uid=0)
Sep 30 19:34:53 kvmhost sshd[20074]: pam_unix(sshd:session): session closed
for user foreman

I've also opened up the port through iptables,
1    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp
dpt:16514


And I don't see anything being blocked by SELinux during these connection
attempts.

Is there possibly a log filter I could enable to shed more light on this?
 Any help is greatly appreciated.

Thanks
- Trey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110930/04a6501d/attachment.htm>


More information about the libvirt-users mailing list