Hi all,
I am trying to install a FC6 guest from the DVD on a FC5 xen system. Xen runs
(xm list show the dom-0), and I am trying to install with
xenguest-install.py, but it gives the error below. Any ideas? I cannot find
anything usefull anywhere. I am searching and trying for days now.
Regards,
Jeroen
---
What is the name of your virtual machine? fc6
How much RAM should be allocated (in megabytes)? 512
What would you like to use as the disk (path)? /home/vms/fc6
How large would you like the disk to be (in gigabytes)? 6
What is the install location? ftp://localhost/pub
Starting install...
libvir: error : operation virDomainCreateLinux forbidden for read only access
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 331, in
start_paravirt_install
dom = conn.createLinux(cfgxml, 0)
File "/usr/lib/python2.4/site-packages/libvirt.py", line 249, in
createLinux
if ret is None:raise libvirtError(''virDomainCreateLinux()
failed'')
libvirt.libvirtError: virDomainCreateLinux() faile
Daniel P. Berrange
2006-Oct-28 19:03 UTC
Re: [Fedora-xen] Xenguest-install.py doesnt seem to work
On Sat, Oct 28, 2006 at 07:52:07PM +0200, J.L. Coenders wrote:> Hi all, > > I am trying to install a FC6 guest from the DVD on a FC5 xen system. Xen runs > (xm list show the dom-0), and I am trying to install with > xenguest-install.py, but it gives the error below. Any ideas? I cannot find > anything usefull anywhere. I am searching and trying for days now.Yep, that''s a bug in xenguest-install.py using a read only connection to libvirt. It''ll need to be fixed in a xen RPM errata - since I have one scheduled very soon, it should easy to slip this in too. In the meanwhile just edit the xenguest-install.py script and at line 324 change conn = libvirt.openReadOnly(None) To conn = libvirt.open(None) Regards, 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 -=|