Simon Jones
2013-May-03 13:44 UTC
ERROR: Toolstack not specifed and nothing detected, bailing out!
I have just installed Xen by following http://wiki.xen.org/wiki/Xen_Beginners_Guide All in all pretty good, however it mentions using the xl toolset but when I first installed only the xm toolset would work. This was great for creating linux based domains but it gave me an error about hvm when I tried creating a Windows domain. I then apt-get install xen-tools-common and edited /etc/default/xen to specify the xl toolset, rebooted and tried again. This time when doing xl info the system returned: WARING: Can''t find toolstack xl, fallback to default! ERROR: A different toolstack (xm) have been selected! So I did apt-get remove xen-tools-common and rebooted and set /etc/default/xen to defaults. Now when I try xl or xm info I get: "ERROR: Toolstack not specifed and nothing detected, bailing out!" And I''m stuck, I''ve googled the error but can''t find anything and am not sure what to check now. Thank you. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Simon Jones
2013-May-03 13:55 UTC
Re: ERROR: Toolstack not specifed and nothing detected, bailing out!
From: xen-users-bounces@lists.xen.org [mailto:xen-users-bounces@lists.xen.org] On Behalf Of Simon Jones Sent: 03 May 2013 14:44 To: xen-users@lists.xen.org Subject: [Xen-users] ERROR: Toolstack not specifed and nothing detected, bailing out! I have just installed Xen by following http://wiki.xen.org/wiki/Xen_Beginners_Guide All in all pretty good, however it mentions using the xl toolset but when I first installed only the xm toolset would work. This was great for creating linux based domains but it gave me an error about hvm when I tried creating a Windows domain. I then apt-get install xen-tools-common and edited /etc/default/xen to specify the xl toolset, rebooted and tried again. This time when doing xl info the system returned: WARING: Can''t find toolstack xl, fallback to default! ERROR: A different toolstack (xm) have been selected! So I did apt-get remove xen-tools-common and rebooted and set /etc/default/xen to defaults. Now when I try xl or xm info I get: "ERROR: Toolstack not specifed and nothing detected, bailing out!" And I''m stuck, I''ve googled the error but can''t find anything and am not sure what to check now. Thank you. Ok now I did apt-get remove xen-tools then reinstalled, rebooted and now xm works ok, when I try create a windows host I''m back to the following: root@xen-1:~# xm create /etc/xen/windows8.cfg Using config file "/etc/xen/windows8.cfg". Error: Errors were found at line 2 while processing /etc/xen/windows8.cfg: builder=''hvm'' I''m sure this is because the guide I was following was using the xl toolstack but it didn''t say how they enabled it..
Ian Campbell
2013-May-03 13:56 UTC
Re: ERROR: Toolstack not specifed and nothing detected, bailing out!
On Fri, 2013-05-03 at 14:44 +0100, Simon Jones wrote:> I have just installed Xen by following > http://wiki.xen.org/wiki/Xen_Beginners_Guide > > > > All in all pretty good, however it mentions using the xl toolset but > when I first installed only the xm toolset would work.Some of that wiki page strikes me as a bit odd, it looks a bit like someone has done a search and replace xm->xl without considering the context (Debian Squeeze, which uses xm by default) Which Debian release are you using? If you are using Squeeze then IMHO you should stick with xm. You might have better luck with: http://wiki.debian.org/Xen> This was great for creating linux based domains but it gave me an > error about hvm when I tried creating a Windows domain.If on Squeeze did you install the qemu-dm-xen package?> I then apt-get install xen-tools-common and edited /etc/default/xen to > specify the xl toolset, rebooted and tried again. This time when > doing xl info the system returned:Do you mean xen-utils-common? xen-tools-common is not a package which exists in Debian and xen-tools is a 3rd party set of utilities for working with Xen once you have it installed and working. Even if you meant xen-utils-common I''m a bit confused what you have done here, are you trying to mix and match an installation from source with the Debian binary package xen-tools-common? That isn''t going to work, xen-tools-common is for use with the Debian binary package of Xen. If you are installing from Debian packages only then I don''t understand why you needed to install xen-tools-common by hand, since it should have been pulled in by the dependencies when you install the xen-linux-system package. Likewise I don''t see how you were able to remove xen-utils-common without also removing other critical xen packages. Ian.
Simon Jones
2013-May-03 14:09 UTC
Re: ERROR: Toolstack not specifed and nothing detected, bailing out!
-----Original Message----- From: Ian Campbell [mailto:Ian.Campbell@citrix.com] Sent: 03 May 2013 14:56 To: Simon Jones Cc: xen-users@lists.xen.org Subject: Re: [Xen-users] ERROR: Toolstack not specifed and nothing detected, bailing out! On Fri, 2013-05-03 at 14:44 +0100, Simon Jones wrote:> I have just installed Xen by following > http://wiki.xen.org/wiki/Xen_Beginners_Guide > > > > All in all pretty good, however it mentions using the xl toolset but > when I first installed only the xm toolset would work.Some of that wiki page strikes me as a bit odd, it looks a bit like someone has done a search and replace xm->xl without considering the context (Debian Squeeze, which uses xm by default) Which Debian release are you using? If you are using Squeeze then IMHO you should stick with xm. You might have better luck with: http://wiki.debian.org/Xen> This was great for creating linux based domains but it gave me an > error about hvm when I tried creating a Windows domain.If on Squeeze did you install the qemu-dm-xen package?> I then apt-get install xen-tools-common and edited /etc/default/xen to > specify the xl toolset, rebooted and tried again. This time when > doing xl info the system returned:Do you mean xen-utils-common? xen-tools-common is not a package which exists in Debian and xen-tools is a 3rd party set of utilities for working with Xen once you have it installed and working. Even if you meant xen-utils-common I''m a bit confused what you have done here, are you trying to mix and match an installation from source with the Debian binary package xen-tools-common? That isn''t going to work, xen-tools-common is for use with the Debian binary package of Xen. If you are installing from Debian packages only then I don''t understand why you needed to install xen-tools-common by hand, since it should have been pulled in by the dependencies when you install the xen-linux-system package. Likewise I don''t see how you were able to remove xen-utils-common without also removing other critical xen packages. Ian. Thanks Ian, Got it working again and am back to the original error: root@xen-1:~# xm create /etc/xen/windows8.cfg Using config file "/etc/xen/windows8.cfg". Error: Errors were found at line 2 while processing /etc/xen/windows8.cfg: builder=''hvm'' here''s the config file: kernel = "/usr/lib/xen-4.0/boot/hvmloader" builder=''hvm'' memory = 4096 vcpus=4 name = "ovm-1734" vif = [''bridge=xenbr0''] disk = [''phy:/dev/vg1/windows8,hda,w'',''file:/usr/src/windows8.iso,hdc:cdrom,r''] acpi = 1 device_model = ''qemu-dm'' boot="d" sdl=0 serial=''pty'' vnc=1 vnclisten="" vncpasswd="" I''m still getting my head around the system (clearly!) so apologies if I''m messing up something too obvious...
Ian Campbell
2013-May-03 14:16 UTC
Re: ERROR: Toolstack not specifed and nothing detected, bailing out!
On Fri, 2013-05-03 at 15:09 +0100, Simon Jones wrote:> -----Original Message----- > From: Ian Campbell [mailto:Ian.Campbell@citrix.com] > Sent: 03 May 2013 14:56 > To: Simon Jones > Cc: xen-users@lists.xen.org > Subject: Re: [Xen-users] ERROR: Toolstack not specifed and nothing detected, bailing out! >[...]> Thanks Ian,Please can you arrange to use normal > quoting. Otherwise it is hard to spot your new material.> Got it working again and am back to the original error: > > root@xen-1:~# xm create /etc/xen/windows8.cfg > Using config file "/etc/xen/windows8.cfg". > Error: Errors were found at line 2 while processing /etc/xen/windows8.cfg: > builder=''hvm'' > > here''s the config file: > > kernel = "/usr/lib/xen-4.0/boot/hvmloader" > builder=''hvm'' > memory = 4096 > vcpus=4xm apparently doesn''t tolerate leading spaces. Which was news to me but when I removed a few experimentally it seemed to accept those lines. Oh wait, since xm parses these files as Python code its obvious why it is whitespace sensitive. Stupid language... Ian.
Simon Jones
2013-May-03 14:22 UTC
Re: ERROR: Toolstack not specifed and nothing detected, bailing out!
-----Original Message----- From: Ian Campbell [mailto:Ian.Campbell@citrix.com] Sent: 03 May 2013 15:17 To: Simon Jones Cc: xen-users@lists.xen.org Subject: Re: [Xen-users] ERROR: Toolstack not specifed and nothing detected, bailing out! On Fri, 2013-05-03 at 15:09 +0100, Simon Jones wrote:> -----Original Message----- > From: Ian Campbell [mailto:Ian.Campbell@citrix.com] > Sent: 03 May 2013 14:56 > To: Simon Jones > Cc: xen-users@lists.xen.org > Subject: Re: [Xen-users] ERROR: Toolstack not specifed and nothing detected, bailing out! >[...]> Thanks Ian,Please can you arrange to use normal > quoting. Otherwise it is hard to spot your new material.> Got it working again and am back to the original error: > > root@xen-1:~# xm create /etc/xen/windows8.cfg Using config file > "/etc/xen/windows8.cfg". > Error: Errors were found at line 2 while processing /etc/xen/windows8.cfg: > builder=''hvm'' > > here''s the config file: > > kernel = "/usr/lib/xen-4.0/boot/hvmloader" > builder=''hvm'' > memory = 4096 > vcpus=4xm apparently doesn''t tolerate leading spaces. Which was news to me but when I removed a few experimentally it seemed to accept those lines. Oh wait, since xm parses these files as Python code its obvious why it is whitespace sensitive. Stupid language... Ian. Aargh! As simple as that, you are a star - thank you!
Apparently Analagous Threads
- fresh install of xen, problems booting qemu-dm
- Using XL toolstack (Xen) with DRBD
- Using XL toolstack (Xen) with DRBD
- Bug#727100: Bug#727100: domain doesn't reboot with xl toolstack
- How to auto-start Guests when using 'xl' toolstack? 'old' configs in /etc/xen/auto/ are ignored without xend service active.