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

Could not find declared class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: PUP 3.6.2
    • Fix Version/s: PUP 3.3.0
    • Component/s: None
    • Labels:
    • Environment:

      RHEL6.5/7 AWS/EC2

    • Template:

      Description

      When running puppet agent -t from agents (or from master it self) getting consistent but intermittent errors that the defined class can not be found. The class name varies, and is not consistent.

      Using PE, this issue is resolvable on an adhoc basis by simply navigating to the "Classes" page on the PE console and then running puppet agent -t again. The exact error I get is:

      "Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class <insert class name and path>"

      The fact I can resolve this by simply navigating in the PE console makes me think this is not a class issue, but rather some form of caching issue?

      Thanks
      Paul

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gibsop1 Paul Gibson
            QA Contact:
            Eric Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support