Dear,<br><br>One piece of advice from my side is:-<br> <br>Your nodes & front ends both must have password less ssh access from both sides.<br><br><div class="gmail_quote">On Fri, Apr 15, 2011 at 2:37 PM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@gmail.com">jfontan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Could you tell us what was the action that was being performed to the<br>
VM when it failed? To me it looks like stop but I am not sure about<br>
it.<br>
<br>
It would be also helpful to take a peek into $ONE_LOCATION/var/config<br>
(delete any password it may contain before sending it).<br>
<br>
Also the VM directory in the frontend for self contained installation<br>
is always $ONE_LOCATION/var, if you want to have the images for<br>
running VMs stored in another place you can symlink that dir (var) to<br>
the desired directory.<br>
<div><div></div><div class="h5"><br>
On Thu, Apr 14, 2011 at 11:28 PM, John Nyhuis <<a href="mailto:jnyhuis@rim.com">jnyhuis@rim.com</a>> wrote:<br>
> Greetings,<br>
><br>
> I am trying to troubleshoot our OpenNebula 2.0 installation (w/ kvm) and would appreciate some help.<br>
> When we run onevm shutdown <VID> or onevm stop <VID>, the VM fails to stop and enters the 'fail' state. Once in this state, it can not be restarted using onevm restart or repaired in any way. We have been deleting the vm and creating it again, which is time consuming and wasteful. (We are using the $one_location=/srv/vm/ self contained option).<br>
><br>
><br>
> Examination of the vm.log of a failed vm reveals:<br>
> Mon Apr 11 18:46:21 2011 [TM][I]: ERROR MESSAGE --8<------<br>
> Mon Apr 11 18:46:21 2011 [TM][I]: mv: cannot stat `/srv/cloud/var/600/images': No such file or directory<br>
> Mon Apr 11 18:46:21 2011 [TM][I]: ERROR MESSAGE ------>8--<br>
> Mon Apr 11 18:46:21 2011 [TM][I]: ExitCode: 1<br>
> Mon Apr 11 18:46:21 2011 [TM][I]: tm_mv.sh: Moving /srv/cloud/var/600/images<br>
> Mon Apr 11 18:46:21 2011 [TM][I]: tm_mv.sh: ERROR: Command "mv /srv/cloud/var/600/images /srv/vm/600/images" failed.<br>
> Mon Apr 11 18:46:21 2011 [TM][I]: tm_mv.sh: ERROR: mv: cannot stat `/srv/cloud/var/600/images': No such file or directory<br>
> Mon Apr 11 18:46:21 2011 [TM][E]: Error excuting image transfer script: mv: cannot stat `/srv/cloud/var/600/images': No such file or directory<br>
> Mon Apr 11 18:46:21 2011 [DiM][I]: New VM state is FAILED<br>
><br>
> For some reason, onevm thinks the images are located at /srv/cloud/var/600/images. The images are located in /srv/vm/<VID>/images/. The create and delete options for onevm know how to find them there, but for some reason, the stop and shutdown options keep looking in the wrong place.<br>
><br>
> I could manually create a link to the images directory to solve this, but with over 600 vm's, that's a bit painful, and we would have to remember to re-create the link with every new vm.<br>
><br>
> Does anyone know where this location is set for onevm stop and onevm shutdown, as it is not in oned.conf or the env?<br>
> The tm_mv.sh script is accepting the source and destination locations via stdin, but I don't know what is calling the tm_mv.sh script.<br>
><br>
><br>
> Thanks,<br>
><br>
> John Nyhuis,<br>
> <a href="mailto:jnyhuis@rim.com">jnyhuis@rim.com</a><br>
> Infrastructure Engineering Specialist<br>
> Desk: (813)-60556<br>
> External: (425)-208-0556<br>
> Desk #2073<br>
><br>
><br>
><br>
> ---------------------------------------------------------------------<br>
> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="WRCShowContent({'rating':{'value':100,'weight':15},'flags':{},'ttl':3600,'expireTime':'20110415035814'}, this.className);" class="wrc11" style="padding-right: 16px; width: 16px; height: 16px;"></span><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher<br>
DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="WRCShowContent({'rating':{'value':100,'weight':15},'flags':{},'ttl':3600,'expireTime':'20110415035814'}, this.className);" class="wrc11" style="padding-right: 16px; width: 16px; height: 16px;"></span><br>
Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="WRCShowContent({'rating':{'value':-1,'weight':-1},'flags':{},'ttl':3600,'expireTime':'20110415035814'}, this.className);" class="wrc0" style="padding-right: 16px; width: 16px; height: 16px;"></span><br>
OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="WRCShowContent({'rating':{'value':100,'weight':15},'flags':{},'ttl':3600,'expireTime':'20110415035814'}, this.className);" class="wrc11" style="padding-right: 16px; width: 16px; height: 16px;"></span><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="WRCShowContent({'rating':{'value':100,'weight':15},'flags':{},'ttl':3600,'expireTime':'20110415035814'}, this.className);" class="wrc11" style="padding-right: 16px; width: 16px; height: 16px;"></span><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>From,<br><br>Vivek Shrivastava</div><br>
<div onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="cancel = true;" style="" id="wrchoverdiv"><div class="wrc_container wrc_header"><div class="wrc_logo">WebRep</div></div><img class="hline" src="chrome://wrc/skin/png/line-dark-horizontal.png"><div class="wrc_title">
Overall rating</div><img class="hline" src="chrome://wrc/skin/png/line-dark-horizontal.png"><div id="wrc_bigscore"></div><div id="wrc_txtrating" class="wrc_txtrating"></div><div class="wrc_container"><img id="wrccat_shopping" height="30" width="30"><img id="wrccat_social" height="30" width="30"><img id="wrccat_news" height="30" width="30"><img id="wrccat_it" height="30" width="30"><img id="wrccat_corporate" height="30" width="30"></div>
<div class="wrc_container"><img id="wrccat_pornography" height="30" width="30"><img id="wrccat_violence" height="30" width="30"><img id="wrccat_gambling" height="30" width="30"><img id="wrccat_drugs" height="30" width="30"><img id="wrccat_illegal" height="30" width="30"></div>
<img class="hline" src="chrome://wrc/skin/png/line-dark-horizontal.png"><div> </div></div>