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

`puppetdb export` fails on failed or unchanged reports

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDB 2.1.0
    • Fix Version/s: PDB 2.2.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      2
    • Sprint:
      20140702 to 20140716

      Description

      This is caused by the post assertion in export.clj/events-for-report-hash. When reports are failed or unchanged there is no associated event.

      To reproduce, run puppet agent against a fresh database with a blank manifest, then try to export to a file. You should see an AssertionError from export.clj. The same thing will happen if the manifest ensures the presence of an existing file.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                wyatt Wyatt Alt
                Reporter:
                wyatt Wyatt Alt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: