Submitted by Arvi89 on Tue, 06/23/2015 - 07:48
Hello!
I wanted to try xen cloudmin today, I managed to install and configure and install everything, but when I create a vm (centos 7 here), first I have to set manually the IP address (192.168.1.2) otherwise it says it can't create in the range (from 192.168.1.1 to 192.168.1.254, 1st is used by br0 that I created), but more importantly it can't run because it says:
"Starting up new Xen instance .. .. failed to start : ERROR: A different toolstack (xl) have been selected!"
I couldn't find a way to fix this.
Thank you! :)
Status:
Active
Comments
Submitted by JamieCameron on Tue, 06/23/2015 - 15:26 Comment #1
Which Xen version are you running there, and where did you install it from?
Submitted by Arvi89 on Tue, 06/23/2015 - 20:08 Comment #2
I just installed from the script cloudmin GPL (mm, maybe I can't post here then, I bought virtualmin but not cloudmin), it all installed automatically. I thing it's xen-hypervisor-4.4 (something like that).
Submitted by JamieCameron on Wed, 06/24/2015 - 19:35 Comment #3
If you SSH into your system as root and run
xm info
andxm list
, what does it output?Submitted by Arvi89 on Wed, 06/24/2015 - 22:00 Comment #4
ERROR: A different toolstack (xl) have been selected!
xl info gives me information.
my /etc/default/xen has TOOLSTACK=xl
Submitted by JamieCameron on Wed, 06/24/2015 - 22:30 Comment #5
Try changing that to
TOOLSTACK=xm
Submitted by Arvi89 on Thu, 06/25/2015 - 00:39 Comment #6
Not working:
Registering Xen configuration file .. .. failed : WARNING: xend/xm is deprecated. Unexpected error: Please report to xen-devel@lists.xen.org Traceback (most recent call last): File "/usr/lib/xen-4.4/bin/xm", line 21, in main.main(sys.argv) File "/usr/lib/xen-4.4/bin/../lib/python/xen/xm/main.py", line 3946, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib/xen-4.4/bin/../lib/python/xen/xm/main.py", line 3970, in _run_cmd return True, cmd(args) File "", line 1, in File "/usr/lib/xen-4.4/bin/../lib/python/xen/xm/main.py", line 1516, in xm_importcommand cmd = import(command, globals(), locals(), 'xen.xm') File "/usr/lib/xen-4.4/bin/../lib/python/xen/xm/new.py", line 26, in from xen.xm.xenapi_create import * File "/usr/lib/xen-4.4/bin/../lib/python/xen/xm/xenapi_create.py", line 24, in from lxml import etree ImportError: No module named lxml
Submitted by Arvi89 on Thu, 06/25/2015 - 01:56 Comment #7
I typed this : xen-create-image --hostname=test2 --memory=1024mb --vcpus=2 --ip=192.168.1.89 --pygrub --dist=trusty --dir=/xen
It worked. Of course I'm missing a lot of options so I can't connect and can't see in cloudmin (bridge and a lot of other stuff) but I didn't get any error while creating the image.
Submitted by JamieCameron on Thu, 06/25/2015 - 20:21 Comment #8
You may need to install an older version of the Xen packages in which the
xm
command works, like 4.3.Submitted by Arvi89 on Thu, 06/25/2015 - 20:28 Comment #9
mm ok... Is this because the scripts in cloudmin can't work with xl? I like to have a not to old version, I might try kvm then :) Anyway, thx!
Submitted by JamieCameron on Fri, 06/26/2015 - 00:46 Comment #10
Yes, we haven't migrated to the
xl
commands yet.KVM is actually a better option, as it is supported out of the box on CentOS with no additional packages or kernel needed.