[one-users] Running VMs = -1

samuel samu60 at gmail.com
Wed Jun 29 02:42:47 PDT 2011


Hi folks,

Using opennebula 2.2 on top of ubuntu 11.04 and doing nasty stuff (power
shutdown, network disconnect, migration, etc..) I also got negative virtual
machine counters although onevm list reports none working:

$ onevm list
   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME

$ onehost list
  ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM
STAT
   0 node1             default   -1    800    588    830   47.3G     44G
on
   1 node2             default   -1    800    800    830   39.4G   38.5G
on

It would be hard to tell exactly when the first -1 happened, but I'll try to
pay more attention next time I see it (it happened in another test
installation).

I've not tried to remove hosts, but I think it's the only way to recover the
right vm counters, isn't it?

Best regards,
Samuel.

On 27 June 2011 18:52, Aleksandar Draganov <s1058571 at sms.ed.ac.uk> wrote:

> Hi Steve, hi Carlos,
>
> VMs stay in pending mode, so not allocation(this is propably another
> problem) takes place:
> -bash-4.1$ onevm list
>   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
>   25 oneadmin   one-25 pend   0      0K                 00 00:47:58
>   26 oneadmin   one-26 pend   0      0K                 00 00:28:17
>   27 oneadmin   one-27 pend   0      0K                 00 00:01:14
>
> There's nothing interesting in oned.log - only several methods invocations
> and successfull monitoring of the host1...
>
> I should probably share that I have mounted /srv/cloud/images and
> /srv/cloud0/one/var with folders on other drive(I needed more space) which
> at least for the front-end(host1) worked yesterday.
>
> The version of ONe I am using is 2.2. Unfortunately I can't reproduce all
> the operations I have performed, but I only delete/restart/shutdown VMs and
> enable/disable hosts with the sunstone GUI and I only submit VMs through the
> command line if it makes any difference. If you need some specific log file
> I can send it to you. I also reinstalled libvirt at some point today.
>
> Cheers,
> Sasho
>
>
>
> On 27/06/2011 17:04, Steven Timm wrote:
>
>> What does oned.log say from the monitoring of host1?
>> And what does onevm list say about which VM's it thinks are running where?
>>
>> Steve
>>
>>
>>
>> On Mon, 27 Jun 2011, Aleksandar Draganov wrote:
>>
>>  Hello everybody,
>>>
>>> I am running ONe on 2 hosts both with Scientific Linux 6. Host 1 holds
>>> the front-end, but I also want to run VMs on it.
>>> I added, restarted, deleted some number of VMs while playing with ONe and
>>> at some point I got this:
>>>
>>> -bash-4.1$ onehost list
>>>  ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM
>>> STAT
>>>  3 host1                  default   -1    400    392    500    7.6G
>>>  7G on
>>>  5 host2                  default    0    400    400    400    7.6G
>>>  7.3G on
>>>
>>> As a result from this I can not delete host1. Is there some way to force
>>> it?
>>> I am using KVM. I was also playing a bit with virt-manager - could the
>>> problem be from this?
>>>
>>> Cheers,
>>> Sasho
>>>
>>>
>>>
>>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110629/55fcb806/attachment-0003.htm>


More information about the Users mailing list