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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem creating a domU using virt-install: --connect issue
From: Flavio <fbcyborg@xxxxxxxxx>
Date: Mon, 3 Oct 2011 17:58:16 +0200
Delivery-date: Mon, 03 Oct 2011 09:28:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=uhGokx6I9ES6va+mm2+kz/fC5rWLtu2FfmRftOrNfwE=; b=D4592mzxzv5Y8rSb6kUYQl9Lx3rcg5LRNHA5AW7VQ2lKsGPI601pwk1ZuLK0mjJGgr nc4w6HrBe7+7Iffgc/p1O2YlZ1J4vO0LqS1ImQAKikeA6h6PcSlmGEYl2W7Q1qycdV5u LvIbaKflUs6swBnRBzRQUAHRBXRTNtSHj1fSI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,
I am trying to use virt-install to setup a CentOS domU but I am
blocket due to the following error:
ERROR    no connection driver available for No connection for URI (null)

This is the command I am typing:
virt-install -n centos-6.0 -r 1024 -f
/mnt/data/xen/vmstore/centos-6.0/centos-6.0.img --vnc --location
http://mi.mirror.garr.it/mirrors/CentOS/6/os/x86_64/

As far as we may read from the virt-install man page the --connect
option should be passed to virt-install,
but if I do that (i.e. adding the "--connect xen" to the end of the
command line) I get the following:
ERROR    no connection driver available for No connection for URI xen:///

I don't understand what to do.
As we may see in the following video, the --connect parameter seems to
be not necessary:
http://www.youtube.com/watch?v=e-3Iuq5UQbg

My OS is Gentoo Linux 10.0 x86_64
Kernel: gentoo-sources-3.0.4
xen: 4.1.1-r2
xen-tools: 4.1.1-r5
libvirt: 0.9.3-r1
virt-manager: 0.9.0-r1
virtinst: 0.600.0


Can somebody help me please?

-- 
Flavio

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