[one-users] haizea with ON | Enactment error when starting VMs
prashanth.srinivas at wipro.com
prashanth.srinivas at wipro.com
Mon Jun 15 05:57:48 PDT 2009
Hi Borja,
I found the solution for the following issue, though should share with others as well
That is if the haizea is throwing following error:
-----------------------------------------
"[2009-06-13 13:31:38.10] RPOOL Enactment of start VM failed: Error when running 'onevm deploy'
(status=256, output='/opt/nebula/bin/onevm:30:in `require': nosuch file to load -- one (LoadError) from /opt/nebula/bin/onevm:30')"
--------------------------------------------------
Solution: Which means haizea is trying to invoke onevm command, and not able to find the same. So append the path of $ONE_LOCATION to $PATH, by executing export command.
"export PATH=$ONE_LOCATION/bin:$PATH"
Thanks again for your timely help
Thanks & regards,
Prashanth
________________________________
From: Prashanth Srinivas (WT01 - Business Technology Services (ES))
Sent: Fri 6/12/2009 9:17 PM
To: Borja Sotomayor; users at lists.opennebula.org
Subject: RE: [one-users] haizea with ON | Enactment error when starting VMs
Hi Borja,
Thanks for the response. Now I have installed Nebula 1.2, but the same problem still persists. Your suggestion on this is much appreciated
Log trace:
---------------
[2009-06-13 13:29:37.80] ENACT.ONE.INFO Fetched 1 nodes from ONE db
[2009-06-13 13:29:37.80] RM Starting resource manager
[2009-06-13 13:29:37.80] RPCSERVER RPC server started on port 42493
[2009-06-13 13:29:37.80] CLOCK Starting clock
[2009-06-13 13:29:37.80] CLOCK Waking up to manage resources
.
.
[2009-06-13 13:30:38.06] CLOCK Wake-up time recorded as 2009-06-13 13:30:38.00
[2009-06-13 13:30:38.12] LSCHED Lease #1 has been requested and is pending.
[2009-06-13 13:30:38.12] LSCHED Scheduling AR lease #1, 1 nodes from 2009-06-13
13:31:38.00 to 2009-06-13 13:41:38.00.
[2009-06-13 13:30:38.12] LSCHED AR lease #1 has been accepted.
[2009-06-13 13:30:38.12] CLOCK Going back to sleep. Waking up at 2009-06-13 13
:31:38.00 to handle slot table event.
[2009-06-13 13:31:38.06] CLOCK Waking up to manage resources
[2009-06-13 13:31:38.06] CLOCK Wake-up time recorded as 2009-06-13 13:31:38.00
/usr/local/lib/python2.6/dist-packages/haizea/resourcemanager/enact/opennebula.p
y:36: DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
self.message = "Error when running '%s' (status=%i, output='%s')" % (cmd, stat
us, output)
/usr/local/lib/python2.6/dist-packages/haizea/resourcemanager/scheduler/resource
pool.py:53: DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
self.logger.error("Enactment of start VM failed: %s" % exc.message)
[2009-06-13 13:31:38.10] RPOOL Enactment of start VM failed: Error when runnin
g 'onevm deploy' (status=256, output='/opt/nebula/bin/onevm:30:in `require': no
such file to load -- one (LoadError)
from /opt/nebula/bin/onevm:30')
[2009-06-13 13:31:38.10] VMSCHED Enactment error when starting VMs.
[2009-06-13 13:31:38.10] CLOCK Going back to sleep. Waking up at 2009-06-13 13
:32:38.00 to see if something interesting has happened by then.
-----------------------------
Thanks & regards,
Prashanth
________________________________
From: users-bounces at lists.opennebula.org on behalf of Borja Sotomayor
Sent: Thu 6/4/2009 4:09 PM
To: users at lists.opennebula.org
Subject: Re: [one-users] haizea with ON | Enactment error when starting VMs
Hi,
> For info: I am using haizea1.3, Nebula1185, python2.6
Does this mean you're using OpenNebula 1.1.85? (the development version
before 1.2) If you don't know what version you're using, you can find
out by running "oned -v".
In any case, Haizea TP1.3 has only been tested with OpenNebula 1.2. The
error you're getting indicates that OpenNebula is failing unexpectedly
(there seems to be an actual error in code, as opposed to an "expected
error": a VM fails to deploy, etc.) This could be due to Haizea using
calls and template syntax consistent with ONE 1.2, but which do not work
with ONE 1.1.85.
Cheers!
--Borja
_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090615/af6c04d8/attachment-0003.htm>
More information about the Users
mailing list