WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

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

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx, Jerone Young <jyoung5@xxxxxxxxxx>
Subject: [XenPPC] virt-manager/virsh connection errors - fixed
From: Christian Ehrhardt <ehrhardt@xxxxxxxxxxxxxxxxxx>
Date: Thu, 05 Jul 2007 10:22:12 +0200
Delivery-date: Thu, 05 Jul 2007 01:19:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20070301)
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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] virt-manager/virsh connection errors - fixed, Christian Ehrhardt <=