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

"Attempt to redefine entity" caused by using a resource collector

    XMLWordPrintable

Details

    • Coremunity
    • Needs Assessment
    • Major
    • 1 - 1-5% of Customers
    • 3 - Serious
    • 35324
    • 1
    • Bug Fix
    • When compiling a catalog, Puppet sometimes raised the error "Attempt to redefine entity." This issue has been fixed with an update to the internal logic.
    • Needs Assessment

    Description

      See PUP-7650 for the root cause of the issue. This behaviour is also sometimes (indeterminately) cause by using a resource collector, and that does not seem to be corrected by the patch linked in PUP-7650.

      The error thrown is:

      Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Virtual Query, Could not autoload puppet/type/pe_ini_setting: Attempt to redefine entity 'http://puppet.com/2016.1/runtime/type/pe_ini_setting'. Set at unknown location at /etc/puppetlabs/code/modules/classroom/manifests/master/student_environment.pp:51:3 on node superdog.puppetlabs.vm
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ben.ford Ben Ford
              Votes:
              0 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support