Eric Doutreleau
2007-Feb-05 08:21 UTC
[Fedora-xen] problem with xenguest-install@redhat.com
hi i m trying to build a new guest on my fc5 enabled machine the kernel is 2.6.18-1.2257.fc5xen0 xen version is xen-3.0.3-3.fc5 when i run /usr/sbin/xenguest-install.py I got What is the name of your virtual machine? ntp1 How much RAM should be allocated (in megabytes)? 256 What would you like to use as the disk (path)? /var/xen/ntp1.img How large would you like the disk to be (in gigabytes)? 10 What is the install location? http://yum.int-evry.fr/core/fc5 Traceback (most recent call last): File "/usr/sbin/xenguest-install.py", line 460, in ? main() File "/usr/sbin/xenguest-install.py", line 451, in main start_paravirt_install(name, ram, disk, mac, uuid, src, options.extra) File "/usr/sbin/xenguest-install.py", line 324, in start_paravirt_install conn = libvirt.open(None) File "/usr/lib/python2.4/site-packages/libvirt.py", line 39, in open if ret is None:raise libvirtError(''virConnectOpen() failed'') libvirt.libvirtError: virConnectOpen() failed i have read on the list some had the same problems month ago but i didn''t see any answer on the list. Thanks in advance for any help
Kanwar Ranbir Sandhu
2007-Feb-06 18:00 UTC
Re: [Fedora-xen] problem with xenguest-install@redhat.com
On Mon, 2007-02-05 at 09:21 +0100, Eric Doutreleau wrote:> What is the name of your virtual machine? ntp1 > How much RAM should be allocated (in megabytes)? 256 > What would you like to use as the disk (path)? /var/xen/ntp1.img > How large would you like the disk to be (in gigabytes)? 10 > What is the install location? http://yum.int-evry.fr/core/fc5 > > Traceback (most recent call last): > File "/usr/sbin/xenguest-install.py", line 460, in ? > main() > File "/usr/sbin/xenguest-install.py", line 451, in main > start_paravirt_install(name, ram, disk, mac, uuid, src, options.extra) > File "/usr/sbin/xenguest-install.py", line 324, in start_paravirt_install > conn = libvirt.open(None) > File "/usr/lib/python2.4/site-packages/libvirt.py", line 39, in open > if ret is None:raise libvirtError(''virConnectOpen() failed'') > libvirt.libvirtError: virConnectOpen() failedWhen I try to install a CentOS 4 domU with virt-install (xenguest-install is a symlink to the virt-install tool), I get this error: ERROR: Invalid URL location given: [Errno 14] HTTP Error 404: Content-Length: 345 Date: Tue, 06 Feb 2007 17:30:34 GMT Accept-Ranges: bytes Content-Type: text/html Server: lighttpd/1.3.16 Here''s the command I used: virt-install -n aserisk -r 128 -f /dev/vg00/asterisk -s 1.2 -b xenbr0 -p -l http://mirror.linux.duke.edu/pub/centos/4.4/os/i386/CentOS/RPMS/ I''ve tried a number of different locations, but everything fails. I have yet to find an example "path/to/tree" example that would help me understand what I''m doing wrong. Having said that, I do have running domUs, but I didn''t set them up the "fedora" way. That''s what I''m attempting to do now. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.19-1.2895.fc6 i686 GNU/Linux 12:56:42 up 6 days, 17:58, 2 users, load average: 0.18, 0.45, 0.50
Kanwar Ranbir Sandhu
2007-Feb-06 18:09 UTC
Re: [Fedora-xen] problem with xenguest-install@redhat.com
On Tue, 2007-02-06 at 13:00 -0500, Kanwar Ranbir Sandhu wrote:> I''ve tried a number of different locations, but everything fails. I > have yet to find an example "path/to/tree" example that would help me > understand what I''m doing wrong.Never fails...I think I found the answer in this thread (to my problem anyway - not sure if it applies to the thread starter): http://www.redhat.com/archives/fedora-xen/2007-January/msg00088.html That explains what''s going on. Guess I''ll have to wait until CentOS 4.5 is out before I can try out the virt-install tool. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.19-1.2895.fc6 i686 GNU/Linux 13:07:13 up 6 days, 18:09, 2 users, load average: 0.25, 0.28, 0.37
Daniel P. Berrange
2007-Feb-06 18:10 UTC
Re: [Fedora-xen] problem with xenguest-install@redhat.com
On Tue, Feb 06, 2007 at 01:00:00PM -0500, Kanwar Ranbir Sandhu wrote:> On Mon, 2007-02-05 at 09:21 +0100, Eric Doutreleau wrote: > > What is the name of your virtual machine? ntp1 > > How much RAM should be allocated (in megabytes)? 256 > > What would you like to use as the disk (path)? /var/xen/ntp1.img > > How large would you like the disk to be (in gigabytes)? 10 > > What is the install location? http://yum.int-evry.fr/core/fc5 > > > > Traceback (most recent call last): > > File "/usr/sbin/xenguest-install.py", line 460, in ? > > main() > > File "/usr/sbin/xenguest-install.py", line 451, in main > > start_paravirt_install(name, ram, disk, mac, uuid, src, options.extra) > > File "/usr/sbin/xenguest-install.py", line 324, in start_paravirt_install > > conn = libvirt.open(None) > > File "/usr/lib/python2.4/site-packages/libvirt.py", line 39, in open > > if ret is None:raise libvirtError(''virConnectOpen() failed'') > > libvirt.libvirtError: virConnectOpen() failed > > When I try to install a CentOS 4 domU with virt-install > (xenguest-install is a symlink to the virt-install tool), I get this > error: > > ERROR: Invalid URL location given: [Errno 14] HTTP Error 404: > Content-Length: 345 > Date: Tue, 06 Feb 2007 17:30:34 GMT > Accept-Ranges: bytes > Content-Type: text/html > Server: lighttpd/1.3.16 > > Here''s the command I used: > > virt-install -n aserisk -r 128 -f /dev/vg00/asterisk -s 1.2 -b xenbr0 -p > -l http://mirror.linux.duke.edu/pub/centos/4.4/os/i386/CentOS/RPMS/ > > I''ve tried a number of different locations, but everything fails. I > have yet to find an example "path/to/tree" example that would help me > understand what I''m doing wrong.The CentOS 4 distro does not suppport paravirtualization. You will have to do full virtualizated installs, which require local ISO image / CDROM. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
Kanwar Ranbir Sandhu
2007-Feb-06 21:42 UTC
Re: [Fedora-xen] problem with xenguest-install@redhat.com
On Tue, 2007-02-06 at 18:10 +0000, Daniel P. Berrange wrote:> The CentOS 4 distro does not suppport paravirtualization. You will have to > do full virtualizated installs, which require local ISO image / CDROM.I''m running two CentOS 4.4 domU on a FC6 dom0 right now, though they weren''t created with the virt-install tool. I want to setup two more CentOS 4.4 domU, but this time with virt-install - that''s when I had problems. I suspect there are some problems though because udev fails to start when the domU boot. Also, I have to manually kill nash-hotplugd because it eats 99% of the CPU. I didn''t have this problem at all when dom0 was FC5. When CentOS 5 is out, I''m going to use it as dom0. That should run paravirtualized CentOS 4 domU well (as far as I know). I want to get a new server so I can have full virtualized domUs. But, it''s not in the budget - maybe in a couple of years. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.19-1.2895.fc6 i686 GNU/Linux 16:35:01 up 6 days, 21:37, 2 users, load average: 0.74, 0.81, 0.61