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

Confusing ArgumentError exception message when using future parser

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Incomplete
    • Affects Version/s: PUP 3.5.0
    • Fix Version/s: PUP 3.7.2
    • Component/s: Compiler
    • Labels:
    • Template:

      Description

      The file in which the ArgumentError is raise is not noted in the error message.

      Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::Compiler failed with error ArgumentError: Received incomplete information - no value provided for parameter gid on node fw
      Warning: Not using cache on failed catalog
      Error: Could not retrieve catalog; skipping run
      

      Exception raised here: /usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb on line 170.

      I added @file and @line to the message and was able to then track down my problem. I would like to see this error message improved.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            asedge Sean Edge
            QA Contact:
            Kurt Wall Kurt Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support