[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Xen-users] Why the need for "-f" with XL in Xen 4.2 rev-25467



On 6/20/2012 10:07 PM, Rolu wrote:
On Thu, Jun 21, 2012 at 2:34 AM,  <cyberhawk001@xxxxxxxxx> wrote:
Just out of annoyance more than curiosity, but ever since I started using
Xen 4.2-unstable rev-25467, every time I try to run "sudo xl create
<domu_config_file>", or "sudo xl reboot", or "sudo xl destroy", it always
gives me this message:

"xend is running, which prevents xl from working correctly.
If you still want to force the execution of xl please use the -f option"

I am now forced to use the "-f" option anytime i am using the xl toolstack.
It never used to be that way going back to Xen 4.2-unstable rev-25459. I was
reading something about this a while ago on the Xen-devel list, but forget
what.

SOOO, any logical reason for the need to use the FORCE option every time you
run the XL command? AND assuming it is not something on my setup that is
causing it, will it always stay like this in future revisions?

Xend and xl are part of different toolstacks and should not be used
together. You should investigate why you have xend running, most
likely it shouldn't be.

Xen 4.2 and newer have the xl toolstack as default.
Xen 4.1 and older have the xend/xm toolstack as default.

See http://wiki.xen.org/wiki/Choice_of_Toolstacks for more info.

Yes i know the difference between XL and XM toolstacks and have been using Xen 4.2-unstable with XL since the beginning of my Xen journey. As i mentioned before, i never had this issue with a previous Xen 4.2 person as i mentioned it, HOWEVER i have messed around with XCP and different version of Xen on this Debian before, SO very likely i forgot to remove or uninstall something between changes, just trying to figure out how to make it stop asking me to force anything.

I was checking to make sure XEND was stopped by running "sudo /etc/init.d/xend stop" and i get an error message as below:

Traceback (most recent call last):
  file "usr/sbin/xen", line 36, in <module>
    from xen.xend.server import SrvDaemon
ImportError: No module named xen.xend.server


WHICH also happens to be the exact same message i have been getting every time i shut down Dom0 for quite a while now and been meaning to ask about that.

Once i run "sudo update-rc.d xend stop" than i am able to run "sudo xl create" without the FORCE option, but once i reboot the system, it comes back and have to run the "sudo update-rc.d xend stop" all over again. SO wondering how to disable xend from loading at boot time? Or just get rid of whatever remnants floating around that is interfering with things.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.