You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
I have some systems that were deliberately changed to a time in the future for testing, then changed back to normal when done. They work with puppet fine now, but their puppetdb reports have timestamps in the future and new reports will not be added. They show up in puppetboard with the inaccurate status of their 'last' report (which is/was in the future), and I am unable to get rid of the reports with 'puppet node deactivate'. How can I get rid of these reports? Normally, one would toy around with the report-ttl setting, but that is not working for me. Will this require a postgresql command?
Wyatt Alt
unread,
Dec 31, 2014, 2:28:36 AM12/31/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com, Ryan Anderson
Hey Ryan,
That makes sense, though I'd guess that new reports are being stored and
are available through the API, they just aren't reflected as "latest"
since that's determined by the end_time stamp. report-ttl will be
ineffective without resetting to the future, and then you'd be deleting
reports you may want to keep.
Best bet would be to clear them manually in psql:
delete from reports where end_time > current_timestamp;