Out of sync shows hosts with last report 30 minutes

Hi,

We have puppet_interval to the default setting (30 minutes) and the
hosts runs Puppet every 1800 seconds.
But the out of sync report show hosts with 30 minutes since last report.
Since the hosts runs Puppet every 30 minutes and it takes some time to
run it, I don't think Foreman should show hosts with 30 minutes.
Maybe it should be 'last_report <= "30 minutes ago" and status.enabled
= true' instead of 'last_report < "30 minutes ago" and status.enabled
= true' ?

··· -- Kai Stian Olstad

you are right that both error and active add a few minutes on top of the
run interval, i see no reason why out of sync behaves differently…

please open an issue, and we would love to fix it asap.

Ohad

··· On Mon, 2011-06-20 at 13:41 +0200, Kai Stian Olstad wrote: > Hi, > > We have puppet_interval to the default setting (30 minutes) and the > hosts runs Puppet every 1800 seconds. > But the out of sync report show hosts with 30 minutes since last report. > Since the hosts runs Puppet every 30 minutes and it takes some time to > run it, I don't think Foreman should show hosts with 30 minutes. > Maybe it should be 'last_report <= "30 minutes ago" and status.enabled > = true' instead of 'last_report < "30 minutes ago" and status.enabled > = true' ?

Issue created and it got a nice round number :slight_smile:
http://theforeman.org/issues/1000

··· On Mon, Jun 20, 2011 at 2:05 PM, Ohad Levy wrote: > you are right that both error and active add a few minutes on top of the > run interval, i see no reason why out of sync behaves differently.. > > please open an issue, and we would love to fix it asap.


Kai Stian Olstad