<Brian_Gautreau@Dell.com>
2006-Aug-01 16:20 UTC
[Fedora-xen] i386 paravirt guest fails to create during install
I''ve been trying to keep up with the current fedora rawhide release but I have run into some problems creating guest domains and can''t seem to find any resolution. The following errors lead me to believe that there is a configuration issue on my system, but the strange thing about this is that I can start a FC development version just fine (granted I have block disk issues later in the install), but any previous release of FC that includes xen (5, 5.90) fail. I''m not sure if I have come across a problem with Xen or if its a /cough user error perhaps someone could help me figure out???? ;-) Another note side note, selinux is disabled, and I am running everything current as of rawhide this AM (8-1-2006) [root@localhost tmp]# rpm -qa | grep -i xen xen-libs-3.0.2-22 xen-3.0.2-22 kernel-xen-2.6.17-1.2462.fc6 kernel-xen-2.6.17-1.2488.fc6 [root@localhost tmp]# rpm -qa | grep libvirt libvirt-0.1.3-4 libvirt-python-0.1.3-4 [root@localhost tmp]# uname -r 2.6.17-1.2488.fc6xen [root@localhost tmp]# getenforce Disabled [root@localhost tmp]# I get the following error when trying to create a domain... [root@localhost ~]# xenguest-install.py -n fc-devel -s 8 -r 1024 -f /data/fc-devel.img -l http://127.0.0.1/pub/redhat/fedora/linux/core/5/i386/os Starting install... libvir: Xen Daemon error : POST operation failed: No such domain fc-devel Failed to get devices for domain fc-devel Traceback (most recent call last): File "/usr/sbin/xenguest-install.py", line 476, in ? main() File "/usr/sbin/xenguest-install.py", line 467, in main start_paravirt_install(name, ram, disk, mac, uuid, bridge, src, options.extra) File "/usr/sbin/xenguest-install.py", line 344, in start_paravirt_install dom = conn.createLinux(cfgxml, 0) File "/usr/lib/python2.4/site-packages/libvirt.py", line 233, in createLinux if ret is None:raise libvirtError(''virDomainCreateLinux() failed'') libvirt.libvirtError: virDomainCreateLinux() failed [root@localhost ~]# I''ve looked through the failures when creating the domain in the xend.log and can not seem to figure out what it is referring to as the problem.... [root@localhost tmp]# xm log | tail -20 [2006-08-01 11:27:12 xend 4528] DEBUG (image:182) ramdisk /var/lib/xen/initrd.img.mmyk4J [2006-08-01 11:27:12 xend 4528] DEBUG (image:183) vcpus = 1 [2006-08-01 11:27:12 xend 4528] DEBUG (image:184) features [2006-08-01 11:27:12 xend.XendDomainInfo 4528] ERROR (XendDomainInfo:198) Domain construction failed Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 191, in create vm.initDomain() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1319, in initDomain raise VmError(str(exn)) VmError: (9, \047Bad file descriptor\047) [2006-08-01 11:27:12 xend.XendDomainInfo 4528] DEBUG (XendDomainInfo:1405) XendDomainInfo.destroy: domid=21 [2006-08-01 11:27:12 xend.XendDomainInfo 4528] DEBUG (XendDomainInfo:1413) XendDomainInfo.destroyDomain(21) [2006-08-01 11:27:13 xend 4528] ERROR (SrvBase:87) Request create failed. Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/web/SrvBase.py", line 85, in perform return op_method(op, req) File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 82, in op_create raise XendError("Error creating domain: " + str(ex)) XendError: Error creating domain: (9, \047Bad file descriptor\047) [root@localhost tmp]# I''ve also tried creating an xml file and using virsh to create the domain, but still get the following... virsh # create /tmp/foo.xml libvir: Xen Daemon error : POST operation failed: No such domain fc-devel2 Failed to get devices for domain fc-devel2 error: Failed to create domain virsh # Any help is appreciated Thanks, Brian Gautreau NOS Team Lead, Enterprise Expert Center 800-945-3355 x728-6364 Dell Services Website http://www.dell.com/services How am I doing? Email my manager Joe Rysdyke at: Joe_Rysdyke@dell.com with any feedback.
Jeremy Katz
2006-Aug-01 17:31 UTC
Re: [Fedora-xen] i386 paravirt guest fails to create during install
On Tue, 2006-08-01 at 11:20 -0500, Brian_Gautreau@Dell.com wrote> The following errors lead me to believe that there is a configuration > issue on my system, but the strange thing about this is that I can > start a FC development version just fine (granted I have block disk > issues later in the install), but any previous release of FC that > includes xen (5, 5.90) fail. I''m not sure if I have come across a > problem with Xen or if its a /cough user error perhaps someone could > help me figure out???? ;-)Due to switching to using PAE kernels for x86, you unfortunately can''t create an FC5 guest from a rawhide host. Jeremy>