On Mon, Feb 3, 2014 at 9:53 PM, Doron Fediuck <dfediuck@redhat.com> wrote:


----- Original Message -----
> From: "Andrew Lau" <andrew@andrewklau.com>
> To: "users" <users@ovirt.org>
> Sent: Monday, February 3, 2014 12:32:45 PM
> Subject: [Users] Hosted Engine always reports "unknown stale-data"
>
> Hi,
>
> I was wondering if anyone has this same notice when they run:
> hosted-engine --vm-status
>
> The "engine status" will always be "unknown stale-data" even when the VM is
> powered on and the engine is online. engine-health will actually report the
> correct status.
>
> eg.
>
> --== Host 1 status ==--
>
> Status up-to-date : False
> Hostname : 172.16.0.11
> Host ID : 1
> Engine status : unknown stale-data
>
> Is it some sort of blocked port causing this or is this by design?
>
> Thanks,
> Andrew
>
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>

Hi Andrew,
it looks like an issue with the time stamp.
Which time stamp do you have? How relevant is it?

timestamps seem to be outdated by a lot, interesting error in the broker.log

Thread-24::INFO::2014-02-03 22:33:14,801::engine_health::90::engine_health.CpuLoadNoEngine::(action) VM not running on this host, status down
Thread-22::INFO::2014-02-03 22:33:14,834::mem_free::53::mem_free.MemFree::(action) memFree: 27382
Thread-23::ERROR::2014-02-03 22:33:14,922::cpu_load_no_engine::156::cpu_load_no_engine.EngineHealth::(update_stat_file) Failed to getVmStats: 'pid'
Thread-23::INFO::2014-02-03 22:33:14,923::cpu_load_no_engine::121::cpu_load_no_engine.EngineHealth::(calculate_load) System load total=0.0124, engine=0.0000, non-engine=0.0124

I'm assuming that update_stat_file is the metadata file the vm-status is getting pulled from?