Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Incomplete
-
PUP 4.10.0
-
None
-
None
-
None
-
Centos7, Puppet 4.10.0, Puppetserver 2.7.2
-
Coremunity
-
Reviewed
-
Needs Assessment
Description
When running puppet for the first time in an environment, after the environment cache has been cleared (e.g. r10k webhook run) and after puppet generate types has been run the following error pops up once:
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/file_line: Attempt to redefine entity 'http://puppet.com/2016.1/runtime/type/file_line'. Set at unknown location at
|
/etc/puppetlabs/code/environments/ENV/modules/MODULE/manifests/master/MANIFEST.pp:364:5 on node
|
SERVER
|
After running the agent once more, the error is gone. This only happens after the Puppet 4.10.0 update.
Howto reproduce
- run r10k
- run puppet generate types on all environments
- clean environment cache (curl -X DELETE https://localhost:8140/puppet-admin-api/v1/environment-cache)
Code causing the issue / reported by error message:
File_line <| tag == 'thisismytag' |> ~> Service['puppetserver']
|
Attachments
Issue Links
- relates to
-
PUP-9602 puppet 6 apply fails if puppet types have been generated
-
- Resolved
-
-
MODULES-4226 Rabbitmq Error while evaluating a Virtual Query, Could not autoload puppet/type/rabbitmq_plugin: Attempt to redefine entity
-
- Open
-