<br>Hi Zaina<br>Thank you so much.^^<br><div class="gmail_quote">On Tue, Mar 8, 2011 at 7:12 PM, Zaina AFOULKI <span dir="ltr"><<a href="mailto:zaina.afoulki@ensi-bourges.fr">zaina.afoulki@ensi-bourges.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Khoa,<br>
<br>
You just have to edit the file $ONE_LOCATION/bin/onehost. Search for the<br>
line<br>
<div class="im">"if host['HOST_SHARE/RUNNING_VMS'].to_i != 0"<br>
</div>and replace it by this one :<br>
"if false":<br>
<br>
For me $ONE_LOCATION is /srv/cloud/one<br>
<br>
hope it helps (I'm a newbie as well ;) )<br>
<font color="#888888"><br>
--<br>
Zaina<br>
<br>
On Mon, 7 Mar 2011 22:46:01 +0700, Khoa Nguyen <<a href="mailto:vankhoa011@gmail.com">vankhoa011@gmail.com</a>><br>
wrote:<br>
</font><div><div></div><div class="h5">> Hi Zaina<br>
> I have already check this post. But I don't see how to remove host.<br>
> He just talk about<br>
><br>
> As indicated by Javier Fontan, the problem has been solved by changing<br>
the<br>
> line 330 of onehost from<br>
> if host['HOST_SHARE/RUNNING_VMS'].to_i != 0<br>
> to if false<br>
><br>
> You can tell me more about it. I'm newbie. Thank for advance.<br>
><br>
> On Mon, Mar 7, 2011 at 3:06 PM, Zaina AFOULKI<br>
> <<a href="mailto:zaina.afoulki@ensi-bourges.fr">zaina.afoulki@ensi-bourges.fr</a><br>
>> wrote:<br>
><br>
>> Hi Khoa,<br>
>><br>
>> I had the same problem a while back, check this post [1]<br>
>> hope it helps.<br>
>><br>
>> [1]<br>
>><br>
>><br>
<a href="http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2011-February/003951.html" target="_blank">http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2011-February/003951.html</a><br>
>><br>
>> --<br>
>> Zaina<br>
>><br>
>> On 03/07/2011 05:31 AM, Khoa Nguyen wrote:<br>
>> > Hi all.<br>
>> > I have a problem when I want to delete host.<br>
>> > It display some information. I see RVM = -1 field , I don't know<br>
why<br>
>> > Help me?<br>
>> ><br>
>> > oneadmin1@oneadmin-desktop:~$ onehost list<br>
>> > ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM<br>
>> > FMEM<br>
>> > STAT<br>
>> > 0 172.29.70.137 default -1 200 199 210 1.9G<br>
>> > 1.8G<br>
>> > on<br>
>> > oneadmin1@oneadmin-desktop:~$ onehost delete 0<br>
>> > Host still has associated VMs, aborting delete.<br>
>> ><br>
>> ><br>
>> > thank for advance.<br>
>> ><br>
>> ><br>
>> ><br>
>> ><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><br>
>><br>
>><br>
>> --<br>
>> Zaina<br>
>><br>
</div></div></blockquote></div><br>