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-users

Re: [Xen-users] Problem creating a domU using virt-install: --connect is

To: Mark Pryor <tlviewer@xxxxxxxxx>
Subject: Re: [Xen-users] Problem creating a domU using virt-install: --connect issue
From: Flavio <fbcyborg@xxxxxxxxx>
Date: Mon, 3 Oct 2011 21:56:43 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Oct 2011 12:59:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=lhB+d55c4g/IwsUagn0fO9XPjy2wgFO89fos1gZT3HQ=; b=bDD7+eVZbxBHWCE+azHeccHZ/wqCOoZKak8LW6FG9GqV1tZ8tQzZj5n3VWren+cbr7 foGhSj7pu+lQD6etAl5c1VA+l1DQcrR1RXDRU5QOlq2XVZ846iiPoUsjC6rA7eYFObj0 pu/QsW+f8+3R9kGlIe99tYuwWx66GtYcNz8tI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1317671403.4955.YahooMailNeo@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <CAP8Jb=qhF48cRsTm6Od6JPte7AX2Og_UZT4CE0bmf1qDDJtyFQ@xxxxxxxxxxxxxx> <1317664509.33590.YahooMailNeo@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <CAP8Jb=qYiz-THTos-om1yhWTJvFQs12-PJ_E9RXesEx6AJkheg@xxxxxxxxxxxxxx> <1317671403.4955.YahooMailNeo@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 3 October 2011 21:50, Mark Pryor <tlviewer@xxxxxxxxx> wrote:
> If virt-install can't connect to your xen install with or without the 
> --connect flag,
The --debug option doesn't say nothing to me, even with the connect flag.

Here's the output:
Mon, 03 Oct 2011 21:53:56 DEBUG    Requesting libvirt URI default
Mon, 03 Oct 2011 21:53:56 ERROR    no connection driver available for
No connection for URI (null)
Mon, 03 Oct 2011 21:53:56 DEBUG    Traceback (most recent call last):
  File "/usr/bin/virt-install-2.7", line 995, in <module>
    sys.exit(main())
  File "/usr/bin/virt-install-2.7", line 975, in main
    conn = cli.getConnection(options.connect)
  File "/usr/lib64/python2.7/site-packages/virtinst/cli.py", line 327,
in getConnection
    conn = open_connection(uri)
  File "/usr/lib64/python2.7/site-packages/virtinst/cli.py", line 342,
in open_connection
    open_flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: no connection driver available for No connection for URI (null)

> then perhaps
> /proc/xen is not mounted.
I think it is mounted:
# ls /proc/xen/
capabilities  privcmd  xenbus

-- 
Flavio

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