Jira (PDB-4342) Add basis for making node lifetimes configurable

9 views
Skip to first unread message

Rob Browning (JIRA)

unread,
Jul 25, 2019, 12:20:03 PM7/25/19
to puppe...@googlegroups.com
Rob Browning updated an issue
 
PuppetDB / Improvement PDB-4342
Add basis for making node lifetimes configurable
Change By: Rob Browning
Summary: Add a basis for making node lifetime timestamp, affected by configure expiration lifetimes configurable
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Rob Browning (JIRA)

unread,
Jul 25, 2019, 12:26:04 PM7/25/19
to puppe...@googlegroups.com
Rob Browning updated an issue
Make nodes lifetimes configurable like factset's are.  When expiration is set to false, the node should not be expired, even if it otherwise would have been, i.e. even if all of its reports, catalog, factset, etc. are gone.

Add a node "timestamp" and boolean (perhaps in the certnames table) that will behave like the other lifetime-related timestamps, i.e. the factsets/reports timestamps, and adjust the configure expiration command to affect it the two values when the "expires" field includes "node"., i.e. {"certname": ... "expire": {"node": <boolean>} ...}.  (Not sure yet whether configure expiration should initially allow more than one field in expires, i.e. "facts" and "node" -- not critical for now.).  The configure expiration command should behave like it does for facts, maybe reactivating the node, etc.

(If the boolean ends up in the certnames table, not sure what to call it -- "expire" and "expire_updated" would more or less match facts, and be accurate, but might be confusing?  Given the existing "expired" column.)

This ticket only needs to cover the schema/migration, command adjustment, and attendant docs (e.g. the configure expiration wire format, and possibly information about the new node timestamp).  Related tickets will cover the remaining work.

Zachary Kent (JIRA)

unread,
Oct 1, 2019, 6:42:06 PM10/1/19
to puppe...@googlegroups.com

Rob Browning (Jira)

unread,
May 11, 2020, 12:30:04 PM5/11/20
to puppe...@googlegroups.com
Rob Browning updated an issue
Change By: Rob Browning
Labels: pdb/suspended
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages