Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10581

Puppet lookup --compile issues in PE2019.8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: PUP 6.16.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
      PUP Bug Template
    • Master Config:
      Monolithic
    • Master OS:
      RHEL 7 (x86_64)
    • Method Found:
      Needs Assessment
    • CS Priority:
      Reviewed
    • Zendesk Ticket IDs:
      39917
    • Zendesk Ticket Count:
      1
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 6.16 (PE 2019.8)
      Puppet Server Version: 6.12.0
      *OS Name/Version:*RHEL 7

      Customer is using the --compile flag with the `puppet lookup` command and they are receiving the following error:

      Error: Could not run: Could not retrieve resources from the PuppetDB at **hostname**:8140: [400 Bad Request] Malformed JSON for query: %5B%22and%22%2C%5B%22%3D%22%2C%22type%22%2C%22Host6%22%5D%2C%5B%22%3D%22%2C%22exported%22%2Ctrue%5D%2C%5B%22not%22%2C%5B%22%3D%22%2C%22certname%22%2C%22**hostname**%22%5D%5D%2C%5B%22%3D%22%2C%22tag%22%2C%22**hostname**%22%5D%5D
      

      This is a bit strange as the exported resources can be queried and returned from the db just fine. This was also working before upgrading to 2019.8

      Desired Behavior: no errors relating to exported resources when using the --compile flag

      Actual Behavior: receiving the above 400 Bad Request] Malformed JSON

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              patrick.grant Patrick Grant
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support