Hi,<div><br></div><div>If I recall correctly, that was fixed in 3.4.x versions.</div><div>If that was a one-time bug and you just need to reset the values, you can stop opennebula and edit the host_pool entry in the DB. The body column contains the complete XML you get with 'onehost show -x'.</div>
<div><br></div><div>Regards</div><div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Wed, Jun 13, 2012 at 4:06 AM, David <span dir="ltr"><<a href="mailto:david1228@foxmail.com" target="_blank">david1228@foxmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi,</div><div> I am using OpenNebula version is 3.2.1。</div><div> The following strange usage values still exist in this release version, and there is no virtual machine of the same name.</div><div> </div><div>
I saw a virtual machine used memory value is 4G, but It takes up belongs to host mem_usage value is 1G, this is very strange.</div><div> </div><div><u></u><div> What is the solution In this version ? thanks!</div>
<div><br></div><div>Regards.</div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ 原始邮件 ------------------</div><div style="font-size:12px;background:#efefef;padding:8px">
<div><b>发件人:</b> "Carlos Martín Sánch"<<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>>;</div><div><b>发送时间:</b> 2012年6月12日(星期二) 晚上10:11</div><div><b>收件人:</b> "刘德伟"<<a href="mailto:david1228@foxmail.com" target="_blank">david1228@foxmail.com</a>>; <u></u></div>
<div><b>抄送:</b> "users"<<a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a>>; <u></u></div><div><b>主题:</b> Re: [one-users] Host resources statistical error!</div></div>
<div><div class="h5"><div><br></div>Hi,<div><br></div><div>What OpenNebula version are you using? There was a bug in older versions that sometimes caused these strange usage values. It was triggered when several VMs had the same name.</div>
<div><br></div><div>
Regards</div><div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Mon, Jun 11, 2012 at 7:47 AM, 刘德伟 <span dir="ltr"><<a href="mailto:david1228@foxmail.com" target="_blank">david1228@foxmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi, <br> [oneadmin@container-16 ~]$ onehost list<br> ID NAME RVM TCPU FCPU ACPU TMEM FMEM AMEM STAT<br> <span style="background-color:rgb(255,0,0)"></span> 9 vm-container-16 4 1600 1473 1200 16G 12.5G 19.4G on<br>
AMEM(19.4G) greater than TMEM(16G), this phenomenon often appear in other environment.<br> It leads to obtain XML data was wrong. <br> <HOST_SHARE><br> <DISK_USAGE>0</DISK_USAGE><br> <span style="background-color:rgb(128,128,128)"> <MEM_USAGE>-32243712</MEM_USAGE></span><br>
<CPU_USAGE>0</CPU_USAGE><br> <MAX_DISK>0</MAX_DISK><br> <MAX_MEM>8046480</MAX_MEM><br> <MAX_CPU>400</MAX_CPU><br> <FREE_DISK>0</FREE_DISK><br>
<FREE_MEM>7633692</FREE_MEM><br> <FREE_CPU>399</FREE_CPU><br> <USED_DISK>0</USED_DISK><br> <USED_MEM>412788</USED_MEM><br> <USED_CPU>0</USED_CPU><br>
<RUNNING_VMS>0</RUNNING_VMS><br> </HOST_SHARE><br> MEM_USAGE become negative , at the same time the virtual machine scheduling is affected, also we call to XML-RPC have an effect.<br> What was the reason for the cases above ? <br>
<br>regards!<br>David.<br><br></div><br>_______________________________________________<br>
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/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div><u></u></div></div></div></blockquote></div><br></div>