Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-3300

Add command for deleting node data


    • CS Priority:
    • CS Frequency:
      2 - 5-25% of Customers
    • CS Severity:
      4 - Major
    • CS Business Value:
      4 - $$$$$
    • CS Impact:
      The workarounds for this(dropping node-ttl) impact all node data not just the one you are targeting. Customers have cases where they want to delete exported resources for example but not delete all old node records.
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Added a delete node command to the admin endpoint which allows for deactivation and immediate GC of data related to a specific certname.
    • QA Risk Assessment:
      Needs Assessment


      PuppetDB supports many commands, one of which is node deactivate, which causes the query API to stop returning results for a node. However, no data is actually removed until a GC sweep occurs. There are occasions when an immediate deletion of node data is desired and the only current option is to hit the DB directly with SQL statements, which is not great. Some examples are:

      • Removing problematic exported resources.
      • Removing old PE infrastructure nodes after migrating data from an old PE installation.
      • Quickly clearing node data during testing.

      PuppetDB should provide a command that allows for deactivation and immediate GC of data related to a specific certname, or certname pattern.


          Issue Links



              • Assignee:
                zachary.kent Zachary Kent
                chuck Charlie Sharpsteen
              • Votes:
                3 Vote for this issue
                17 Start watching this issue


                • Created:

                  Zendesk Support