<div dir="ltr"><div class="gmail_default"><div class="gmail_default">On Mon, Feb 3, 2014 at 10:40 PM, Doron Fediuck <span dir="ltr"><<a href="mailto:dfediuck@redhat.com" target="_blank">dfediuck@redhat.com</a>></span> wrote:<br>
</div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><br>
<br>
----- Original Message -----<br>
> From: "Andrew Lau" <<a href="mailto:andrew@andrewklau.com">andrew@andrewklau.com</a>><br>
</div><div><div class="h5">> To: "Doron Fediuck" <<a href="mailto:dfediuck@redhat.com">dfediuck@redhat.com</a>><br>
> Cc: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>>, "Jiri Moskovcak" <<a href="mailto:jmoskovc@redhat.com">jmoskovc@redhat.com</a>>, "Greg Padgett" <<a href="mailto:gpadgett@redhat.com">gpadgett@redhat.com</a>><br>
> Sent: Monday, February 3, 2014 1:35:01 PM<br>
> Subject: Re: [Users] Hosted Engine always reports "unknown stale-data"<br>
><br>
> On Mon, Feb 3, 2014 at 9:53 PM, Doron Fediuck <<a href="mailto:dfediuck@redhat.com">dfediuck@redhat.com</a>> wrote:<br>
><br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Andrew Lau" <<a href="mailto:andrew@andrewklau.com">andrew@andrewklau.com</a>><br>
> > > To: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
> > > Sent: Monday, February 3, 2014 12:32:45 PM<br>
> > > Subject: [Users] Hosted Engine always reports "unknown stale-data"<br>
> > ><br>
> > > Hi,<br>
> > ><br>
> > > I was wondering if anyone has this same notice when they run:<br>
> > > hosted-engine --vm-status<br>
> > ><br>
> > > The "engine status" will always be "unknown stale-data" even when the VM<br>
> > is<br>
> > > powered on and the engine is online. engine-health will actually report<br>
> > the<br>
> > > correct status.<br>
> > ><br>
> > > eg.<br>
> > ><br>
> > > --== Host 1 status ==--<br>
> > ><br>
> > > Status up-to-date : False<br>
> > > Hostname : 172.16.0.11<br>
> > > Host ID : 1<br>
> > > Engine status : unknown stale-data<br>
> > ><br>
> > > Is it some sort of blocked port causing this or is this by design?<br>
> > ><br>
> > > Thanks,<br>
> > > Andrew<br>
> > ><br>
> > > _______________________________________________<br>
> > > Users mailing list<br>
> > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> > > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> > ><br>
> ><br>
> > Hi Andrew,<br>
> > it looks like an issue with the time stamp.<br>
> > Which time stamp do you have? How relevant is it?<br>
> ><br>
><br>
> timestamps seem to be outdated by a lot, interesting error in the broker.log<br>
><br>
> Thread-24::INFO::2014-02-03<br>
> 22:33:14,801::engine_health::90::engine_health.CpuLoadNoEngine::(action) VM<br>
> not running on this host, status down<br>
> Thread-22::INFO::2014-02-03<br>
> 22:33:14,834::mem_free::53::mem_free.MemFree::(action) memFree: 27382<br>
> Thread-23::ERROR::2014-02-03<br>
> 22:33:14,922::cpu_load_no_engine::156::cpu_load_no_engine.EngineHealth::(update_stat_file)<br>
> Failed to getVmStats: 'pid'<br>
> Thread-23::INFO::2014-02-03<br>
> 22:33:14,923::cpu_load_no_engine::121::cpu_load_no_engine.EngineHealth::(calculate_load)<br>
> System load total=0.0124, engine=0.0000, non-engine=0.0124<br>
><br>
> I'm assuming that update_stat_file is the metadata file the vm-status is<br>
> getting pulled from?<br>
><br>
<br>
</div></div>Yep.<br>
Can you please verify the time your host actually has?<br>
ie- we have a known issue with time, since we assume all<br>
hosts are in sync. So if one of your hosts has a time sync<br>
issue, this can explain the problem you see.<br></blockquote><div><br></div><div class="gmail_default"><font face="tahoma, sans-serif">--== Host 1 status ==--</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br>
</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Status up-to-date : False</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Hostname : 172.16.0.11</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif">Host ID : 1</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Engine status : unknown stale-data</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif">Score : 0</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Local maintenance : False</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif">Host timestamp : 1391417611</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default">
<font face="tahoma, sans-serif"><div class="gmail_default">--== Host 2 status ==--</div><div class="gmail_default"><br></div><div class="gmail_default">Status up-to-date : False</div><div class="gmail_default">
Hostname : 172.16.0.12</div><div class="gmail_default">Host ID : 2</div><div class="gmail_default">Engine status : unknown stale-data</div><div class="gmail_default">
Score : 0</div><div class="gmail_default">Local maintenance : False</div><div class="gmail_default">Host timestamp : 1391417171</div><div><br></div></font></div>
<div style="font-family:tahoma,sans-serif"><br></div><div><div><font face="tahoma, sans-serif"><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline"></div></font>[root@hv01 ~]# date +%s │[root@hv02 ~]# date +%s</div>
<div><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline"></div>1391427754 │139142775<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">
5</div></div></div><div><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"></div></div><br></div></div>