From alertmanager https://prometheus-alerts.wmcloud.org:
alertname: PuppetAgentStaleLastRun project: cloudinfra summary: Last Puppet run was over 24 hours ago on instance cloud-puppetmaster-03 in project cloudinfra 2 hours ago instance: cloud-puppetmaster-03 job: node severity: warn
Trying to run puppet manually complains with the lockfile existing:
root@cloud-puppetmaster-03:~# run-puppet-agent Notice: Run of Puppet configuration client already in progress; skipping (/var/lib/puppet/state/agent_catalog_run.lock exists)
But when doing an ls of the file it does not show up:
root@cloud-puppetmaster-03:~# ls -la /var/lib/puppet/state/agent_catalog_run.lock ls: cannot access '/var/lib/puppet/state/agent_catalog_run.lock': No such file or directory
Weird thing is, when lsing the dir you get it:
root@cloud-puppetmaster-03:~# ls -l /var/lib/puppet/state ls: cannot access '/var/lib/puppet/state/agent_catalog_run.lock': No such file or directory total 2640 -????????? ? ? ? ? ? agent_catalog_run.lock ...
Might be some filesystem issue, looking