Hi folks,<br><br>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:<br>
<br>$ onevm list<br> ID USER NAME STAT CPU MEM HOSTNAME TIME<br><br>$ onehost list<br> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT<br> 0 node1 default -1 800 588 830 47.3G 44G on<br>
1 node2 default -1 800 800 830 39.4G 38.5G on<br><br>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).<br>
<br>I've not tried to remove hosts, but I think it's the only way to recover the right vm counters, isn't it?<br><br>Best regards,<br>Samuel.<br><br><div class="gmail_quote">On 27 June 2011 18:52, Aleksandar Draganov <span dir="ltr"><<a href="mailto:s1058571@sms.ed.ac.uk">s1058571@sms.ed.ac.uk</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 Steve, hi Carlos,<br>
<br>
VMs stay in pending mode, so not allocation(this is propably another problem) takes place:<br>
-bash-4.1$ onevm list<br>
ID USER NAME STAT CPU MEM HOSTNAME TIME<br>
25 oneadmin one-25 pend 0 0K 00 00:47:58<br>
26 oneadmin one-26 pend 0 0K 00 00:28:17<br>
27 oneadmin one-27 pend 0 0K 00 00:01:14<br>
<br>
There's nothing interesting in oned.log - only several methods invocations and successfull monitoring of the host1...<br>
<br>
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.<br>
<br>
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.<br>
<br>
Cheers,<br>
Sasho<div class="im"><br>
<br>
<br>
On 27/06/2011 17:04, Steven Timm wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What does oned.log say from the monitoring of host1?<br>
And what does onevm list say about which VM's it thinks are running where?<br>
<br>
Steve<br>
<br>
<br>
<br>
On Mon, 27 Jun 2011, Aleksandar Draganov wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello everybody,<br>
<br>
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.<br>
I added, restarted, deleted some number of VMs while playing with ONe and at some point I got this:<br>
<br>
-bash-4.1$ onehost list<br>
ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT<br>
3 host1 default -1 400 392 500 7.6G 7G on<br>
5 host2 default 0 400 400 400 7.6G 7.3G on<br>
<br>
As a result from this I can not delete host1. Is there some way to force it?<br>
I am using KVM. I was also playing a bit with virt-manager - could the problem be from this?<br>
<br>
Cheers,<br>
Sasho<br>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
-- <br></div><div class="im">
The University of Edinburgh is a charitable body, registered in<br>
Scotland, with registration number SC005336.<br>
<br>
______________________________<u></u>_________________<br></div><div><div></div><div class="h5">
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</div></div></blockquote></div><br>