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

[XenPPC] virt-manager/virsh connection errors - fixed



After fixing the bad paddr stuff with the workaround the next issue I faced were connection errors:

virt-manager:
Unable to open connection to hypervisor URI 'xen':
virtsh:
virsh: error: failed to connect to the hypervisor

After debugging a bit the problem looks pretty trivial - libvirt tries to access
 /var/lib/xend/xend-socket
But according to netstat -eeapn we have only
unix 2 [ ACC ] STREAM LISTENING 17684 3683/python /var/run/xend/xen-api.sock unix 2 [ ACC ] STREAM LISTENING 17687 3683/python /var/run/xend/xmlrpc.sock

Since there is now a api/rpc this might be a 3.1 change not reflected in libvirt or not configured locally.
In my libvirt src from cvs 01.07. it's still hardcoded in xend_internal.c:
 xenDaemonOpen_unix(conn, "/var/lib/xend/xend-socket");
Still that way in the latest cvs updated today.

The default config of xend as it is currently in the repostitory seems to have the config in /etc/xen/xend-config.sxp default to no and commented out:
 #(xend-unix-server no)
change this to
 (xend-unix-server yes)

--

Grüsse / regards, Christian Ehrhardt

IBM Linux Technology Center, Open Virtualization
+49 7031/16-3385
Ehrhardt@xxxxxxxxxxxxxxxxxx
Ehrhardt@xxxxxxxxxx

IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Johann Weihen Geschäftsführung: Herbert Kircher Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.