I am seeing the following failure while doing a xenguest-install. **************************************************** What is the name of your virtual machine? vm1 How much RAM should be allocated (in megabytes)? 512 What would you like to use as the disk (path)? /var/xen/vm1/hda How large would you like the disk to be (in gigabytes)? 5 What is the install location? http://porkchop.redhat.com/nightly/rawhide-latest/tree-i386/ Starting install... libvir: Xen Daemon error : GET operation failed: No such domain vm1 libvir: Xen Daemon error : POST operation failed: No such domain vm1 Failed to get devices for domain vm1 Traceback (most recent call last): File "/usr/sbin/xenguest-install", line 237, in ? main() File "/usr/sbin/xenguest-install", line 229, in main r = guest.start_install(True) File "/usr/lib/python2.4/site-packages/xeninst/ParaVirtGuest.py", line 183, in start_install self.domain = conn.createLinux(cxml, 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() failed *********************************************************** I did a clean install with the 08/28 build. Kernel is 2.6.17-1.2586.fc6xen. I am running on an IBM x335 with 1.5 GB or Ram and a 32GB SCSI drive. I also see a failure while running virt-manager but that could be a user problem. I am still investigating it. Mark K. Wisner Advisory Software Engineer IBM Linux Technology Center 3039 Cornwallis Rd RTP, NC 27709 Tel. 919-754-4274 Cell 919-649-5813
Daniel P. Berrange
2006-Aug-28 14:42 UTC
Re: [Fedora-xen] xenguest-install problem with 08/28 build
On Mon, Aug 28, 2006 at 10:39:14AM -0400, Mark Wisner wrote:> I am seeing the following failure while doing a xenguest-install. > > **************************************************** > What is the name of your virtual machine? vm1 > How much RAM should be allocated (in megabytes)? 512 > What would you like to use as the disk (path)? /var/xen/vm1/hda > How large would you like the disk to be (in gigabytes)? 5 > What is the install location? > http://porkchop.redhat.com/nightly/rawhide-latest/tree-i386/ > > Starting install... > libvir: Xen Daemon error : GET operation failed: No such domain vm1 > libvir: Xen Daemon error : POST operation failed: No such domain vm1 > Failed to get devices for domain vm1 > Traceback (most recent call last): > File "/usr/sbin/xenguest-install", line 237, in ? > main() > File "/usr/sbin/xenguest-install", line 229, in main > r = guest.start_install(True) > File "/usr/lib/python2.4/site-packages/xeninst/ParaVirtGuest.py", line > 183, in start_install > self.domain = conn.createLinux(cxml, 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() failed > ***********************************************************So the domain failed to start, which suggests the kernel failed to boot successfully. If you check in /var/log/xend.log you may well find some more useful debug information about the problem. Oh, /var/log/xend-debug.log too, and maybe ''xm dmesg'' for the HyperVisor logs. 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 -=|
Daniel Veillard
2006-Aug-28 14:44 UTC
Re: [Fedora-xen] xenguest-install problem with 08/28 build
On Mon, Aug 28, 2006 at 10:39:14AM -0400, Mark Wisner wrote:> I am seeing the following failure while doing a xenguest-install. > > **************************************************** > What is the name of your virtual machine? vm1 > How much RAM should be allocated (in megabytes)? 512 > What would you like to use as the disk (path)? /var/xen/vm1/hda > How large would you like the disk to be (in gigabytes)? 5 > What is the install location? > http://porkchop.redhat.com/nightly/rawhide-latest/tree-i386/ > > Starting install... > libvir: Xen Daemon error : GET operation failed: No such domain vm1 > libvir: Xen Daemon error : POST operation failed: No such domain vm1 > Failed to get devices for domain vm1Sounds like problem that libvirt hit a few weeks ago.> I did a clean install with the 08/28 build. > > Kernel is 2.6.17-1.2586.fc6xen. > > I am running on an IBM x335 with 1.5 GB or Ram and a 32GB SCSI drive. > > I also see a failure while running virt-manager but that could be a user > problem. I am still investigating it.Well you need to update libvirt if you update the kernel and xen. The Xen guys seems to love breaking libvirt by changing hypervisor calls without warnings. Make sure you updated it ! Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
David F Barrera
2006-Aug-28 14:48 UTC
Re: [Fedora-xen] xenguest-install problem with 08/28 build
I am also seeing the same issue. Mark Wisner wrote:> > I am seeing the following failure while doing a xenguest-install. > > **************************************************** > What is the name of your virtual machine? vm1 > How much RAM should be allocated (in megabytes)? 512 > What would you like to use as the disk (path)? /var/xen/vm1/hda > How large would you like the disk to be (in gigabytes)? 5 > What is the install location? > http://porkchop.redhat.com/nightly/rawhide-latest/tree-i386/ > > Starting install... > libvir: Xen Daemon error : GET operation failed: No such domain vm1 > libvir: Xen Daemon error : POST operation failed: No such domain vm1 > Failed to get devices for domain vm1 > Traceback (most recent call last): > File "/usr/sbin/xenguest-install", line 237, in ? > main() > File "/usr/sbin/xenguest-install", line 229, in main > r = guest.start_install(True) > File "/usr/lib/python2.4/site-packages/xeninst/ParaVirtGuest.py", > line 183, in start_install > self.domain = conn.createLinux(cxml, 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() failed > *********************************************************** > > I did a clean install with the 08/28 build. > > Kernel is 2.6.17-1.2586.fc6xen. > > I am running on an IBM x335 with 1.5 GB or Ram and a 32GB SCSI drive. > > I also see a failure while running virt-manager but that could be a > user problem. I am still investigating it. > > > Mark K. Wisner > Advisory Software Engineer > IBM Linux Technology Center > 3039 Cornwallis Rd > RTP, NC 27709 > Tel. 919-754-4274 > Cell 919-649-5813 > ------------------------------------------------------------------------ > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen >-- Regards, David F Barrera Linux Technology Center Systems and Technology Group, IBM "The wisest men follow their own direction. " Euripides
Ricardo Ariel Gorosito
2006-Aug-30 03:18 UTC
Re: [Fedora-xen] xenguest-install problem with 08/28 build
I''m using rawhide''s 2.6.17-1.2597.fc6xen. I get the same problem. These are entries from may xend-debug.log : ERROR: Initial guest OS requires too much space (0x10MB is greater than 0MB limit) (0 = Success) ERROR: Error constructing guest OS Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 77, in op_create dominfo = self.xd.domain_create(config) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 228, in domain_create dominfo = XendDomainInfo.create(config) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 194, in create vm.initDomain() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1330, in initDomain raise VmError(str(exn)) VmError: (22, ''Invalid argument'') David F Barrera escribió:> I am also seeing the same issue. > > > Mark Wisner wrote: >> >> I am seeing the following failure while doing a xenguest-install. >> >> **************************************************** >> What is the name of your virtual machine? vm1 >> How much RAM should be allocated (in megabytes)? 512 >> What would you like to use as the disk (path)? /var/xen/vm1/hda >> How large would you like the disk to be (in gigabytes)? 5 >> What is the install location? >> http://porkchop.redhat.com/nightly/rawhide-latest/tree-i386/ >> >> Starting install... >> libvir: Xen Daemon error : GET operation failed: No such domain vm1 >> libvir: Xen Daemon error : POST operation failed: No such domain vm1 >> Failed to get devices for domain vm1 >> Traceback (most recent call last): >> File "/usr/sbin/xenguest-install", line 237, in ? >> main() >> File "/usr/sbin/xenguest-install", line 229, in main >> r = guest.start_install(True) >> File "/usr/lib/python2.4/site-packages/xeninst/ParaVirtGuest.py", >> line 183, in start_install >> self.domain = conn.createLinux(cxml, 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() failed >> *********************************************************** >> >> I did a clean install with the 08/28 build. >> >> Kernel is 2.6.17-1.2586.fc6xen. >> >> I am running on an IBM x335 with 1.5 GB or Ram and a 32GB SCSI drive. >> >> I also see a failure while running virt-manager but that could be a >> user problem. I am still investigating it. >> >> >> Mark K. Wisner >> Advisory Software Engineer >> IBM Linux Technology Center >> 3039 Cornwallis Rd >> RTP, NC 27709 >> Tel. 919-754-4274 >> Cell 919-649-5813 >> ------------------------------------------------------------------------ >> >> -- >> Fedora-xen mailing list >> Fedora-xen@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-xen >> >
On Wed, 2006-08-30 at 00:18 -0300, Ricardo Ariel Gorosito wrote:> I''m using rawhide''s 2.6.17-1.2597.fc6xen. I get the same problem. These > are entries from may xend-debug.log : > > ERROR: Initial guest OS requires too much space > (0x10MB is greater than 0MB limit) > (0 = Success) > ERROR: Error constructing guest OSMake sure your Domain-0 doesn''t take up all the RAM. For example, my desktop has 2GB, and by default Domain-0 takes 1852MB by default, leaving 150MB for xen systems. I''ve run xm mem-set Domain-0 512 to leave room for other systems and avoid the ERROR shown. Thanks, Mike
Ricardo Ariel Gorosito
2006-Aug-31 02:34 UTC
Re: [Fedora-xen] xenguest-install problem with 08/28 build
dom0 is limited to 200MB and I tried to install a fedora-development from mirrors with 256MB (domU). Computer has 512MB. # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 200 1 r----- 1624.6 # xm info |grep memor total_memory : 511 free_memory : 294 With todays version (kernel-xen-2.6.17-1.2600.fc6) I can install fc6dev correctly. Note that you need to specify --vnc or --nographics to xenguest-install (if not, xenguest-install will ask you forever if you like vnc or not) Ricardo.- MJang escribió:> On Wed, 2006-08-30 at 00:18 -0300, Ricardo Ariel Gorosito wrote: > >> I''m using rawhide''s 2.6.17-1.2597.fc6xen. I get the same problem. These >> are entries from may xend-debug.log : >> >> ERROR: Initial guest OS requires too much space >> (0x10MB is greater than 0MB limit) >> (0 = Success) >> ERROR: Error constructing guest OS >> > > Make sure your Domain-0 doesn''t take up all the RAM. For example, my > desktop has 2GB, and by default Domain-0 takes 1852MB by default, > leaving 150MB for xen systems. I''ve run > > xm mem-set Domain-0 512 > > to leave room for other systems and avoid the ERROR shown. > > Thanks, > Mike > > > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > >