Puppet Error Failure during provision command during the puppet agent run on replica 2 Failed to generate additional resources using eval generate Error 500 on SERVER Server Error

0 votes
Failure during provision command during the puppet agent run on replica 2: 
Failed to generate additional resources using 'eval_generate': Error 500 on SERVER: Server Error: 
Not authorized to call search on /file_metadata/pe_modules with {:rest=>"pe_modules", :links=>"manage", :recurse=>true, :source_permissions=>"ignore", :checksum_type=>"md5"} Source: /Stage[main]/Puppet_enterprise::Profile::Primary_master_replica/File[/opt/puppetlabs/server/share/installer/modules]File: /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/profile/primary_master_replica.ppLine: 64

While provisioning replica to serve as backup I am geting this error. How do i resolve it?

Aug 1, 2019 in Puppet by liana
1,198 views

1 answer to this question.

0 votes
  • The provision command triggers an error if you try to provision a replica node that's connected to a compiler. 

  • The error that you have got is similar to the error that the provision command triggers.

In order to resolve this:

  • On the replica you want to provision, edit /etc/puppetlabs/puppet.conf so that the server and server_list settings use a master, rather than a compiler.

This should help!

answered Aug 1, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

+2 votes
1 answer

How do I trigger the puppet agent on slave to install docker using jenkins?

Hey @Mercy, you will have to write ...READ MORE

answered Aug 17, 2020 in Puppet by Karan
• 19,610 points
1,049 views
0 votes
1 answer

Docker with Puppet: How do i run the following command "docker build -t ubuntu /tmp/ubuntu_image" using puppet code?

 Hey @Liana, Including the docker_dir parameter is equivalent to ...READ MORE

answered Aug 16, 2019 in Puppet by Sirajul
• 59,230 points
680 views
0 votes
1 answer

Error: Puppet not found, when trying to run puppet config command.

This is because you have not added ...READ MORE

answered Sep 18, 2019 in Puppet by Sirajul
• 59,230 points
4,261 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,458 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP