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

Fix PuppetDB storage of catalogs with resource kind attribute

    XMLWordPrintable

Details

    • Hide
      • Drop unrecognized attributes with a warning
      • Drop kind attribute without a warning - this is an Agent/Server communication implementation detail that we don't need to store
      • Update catalog test example data to include kind attribute
      • Update benchmark dataset to include kind
      Show
      Drop unrecognized attributes with a warning Drop kind attribute without a warning - this is an Agent/Server communication implementation detail that we don't need to store Update catalog test example data to include kind attribute Update benchmark dataset to include kind
    • HA
    • 3
    • HA 2021-11-03
    • Automated Test
    • 49770
    • 1
    • Security Fix
    • due to a security fix in PuppetDB, catalog resources have an additional field. This was not handled by previous versions of PuppetDB, which will be incompatible with Puppet Agent catalogs that contain the additional field.
    • Needs Assessment

    Description

      To fix a CVE, resources now have a kind attribute. Catalogs with this attribute cause PuppetDB to error on command storage.

      To allow the Puppet Agent to make additions to the Catalog without needing a simultaneous upgrade of PuppetDB to add a database column, we should ignore unrecognized catalog resource attributes.

      Attachments

        Activity

          People

            austin.blatt Austin Blatt
            austin.blatt Austin Blatt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support