[one-users] can't delete host
Zaina AFOULKI
zaina.afoulki at ensi-bourges.fr
Tue Mar 8 04:12:39 PST 2011
Hi Khoa,
You just have to edit the file $ONE_LOCATION/bin/onehost. Search for the
line
"if host['HOST_SHARE/RUNNING_VMS'].to_i != 0"
and replace it by this one :
"if false":
For me $ONE_LOCATION is /srv/cloud/one
hope it helps (I'm a newbie as well ;) )
--
Zaina
On Mon, 7 Mar 2011 22:46:01 +0700, Khoa Nguyen <vankhoa011 at gmail.com>
wrote:
> Hi Zaina
> I have already check this post. But I don't see how to remove host.
> He just talk about
>
> As indicated by Javier Fontan, the problem has been solved by changing
the
> line 330 of onehost from
> if host['HOST_SHARE/RUNNING_VMS'].to_i != 0
> to if false
>
> You can tell me more about it. I'm newbie. Thank for advance.
>
> On Mon, Mar 7, 2011 at 3:06 PM, Zaina AFOULKI
> <zaina.afoulki at ensi-bourges.fr
>> wrote:
>
>> Hi Khoa,
>>
>> I had the same problem a while back, check this post [1]
>> hope it helps.
>>
>> [1]
>>
>>
http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2011-February/003951.html
>>
>> --
>> Zaina
>>
>> On 03/07/2011 05:31 AM, Khoa Nguyen wrote:
>> > Hi all.
>> > I have a problem when I want to delete host.
>> > It display some information. I see RVM = -1 field , I don't know
why
>> > Help me?
>> >
>> > oneadmin1 at oneadmin-desktop:~$ onehost list
>> > ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM
>> > FMEM
>> > STAT
>> > 0 172.29.70.137 default -1 200 199 210 1.9G
>> > 1.8G
>> > on
>> > oneadmin1 at oneadmin-desktop:~$ onehost delete 0
>> > Host still has associated VMs, aborting delete.
>> >
>> >
>> > thank for advance.
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opennebula.org
>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>> --
>> Zaina
>>
More information about the Users
mailing list