[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Problem creating a domU using virt-install: --connect issue
----- Original Message ----- From: Flavio <fbcyborg@xxxxxxxxx> To: xen-users@xxxxxxxxxxxxxxxxxxx Cc: Sent: Monday, October 3, 2011 8:58 AM Subject: [Xen-users] Problem creating a domU using virt-install: --connect issue 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? ----------------------------- To see the actual trouble you need to read the OSDistro.py script from package python-virtinst.noarch This script is called by virt-install to build the final URL for the xen image folder. The path for centos is hardcoded (./image/xen) Our friends in the Centos project didn't create this subfolder, so no netboot vmlinuz/initrd.img are provided for virt-install. The bad news is that without patching OSDistro.py (not recommended) virt-install will fail for C6 installs. I have requested via ML that the Centos project add this subfolder (./images/xen) and populate it with the vmlinuz/initrd.img from the isolinux folder. Your workaround (for now) is to drop using virt-install and use `xm create domU kernel=xx ramdisk=yy`, where xx and yy are sourced as above. -- Mark _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |