Puppet-enterprise installation fails saying : "puppet agent test run failed"

asked 2014-12-15 11:01:42 -0600

trekker63 gravatar image

Hi,

I performed a guided installation of PE 3.7.0 on a fresh Centos 6.5 machine.

On the web Interaface summary view I see this :


Installing your deployment

Installing Puppet Enterprise on puppet-master.test.com .

Verifying that Puppet Enterprise is functioning on puppet-master.test.com .

[puppet-master.test.com] The puppet agent test run failed.

[puppet-master.test.com] pe-activemq service is running.

[puppet-master.test.com] pe-mcollective service is running.

[puppet-master.test.com] pe-puppetserver service is running.

[puppet-master.test.com] pe-puppetdb service is running.

[puppet-master.test.com] pe-memcached service is running.

[puppet-master.test.com] pe-puppet-dashboard-workers service is running.

[puppet-master.test.com] pe-console-services service is running.

[puppet-master.test.com] pe-postgresql service is running.

[puppet-master.test.com] pe-puppet service is running.

[puppet-master.test.com] Successfully connected to puppet-master.test.com:8081.

[puppet-master.test.com] Successfully connected to puppet-master.test.com:443.

[puppet-master.test.com] Successfully connected to puppet-master.test.com:8140.

[puppet-master.test.com] Successfully connected to puppet-master.test.com:61613.

[puppet-master.test.com] Is allowing connections from puppet-master.test.com on port 8140.

[puppet-master.test.com] Is allowing connections from puppet-master.test.com on port 61613.

[puppet-master.test.com] Is allowing connections from puppet-master.test.com on port 8140.

[puppet-master.test.com] Is allowing connections from puppet-master.test.com on port 8081.

[puppet-master.test.com] Is allowing connections from puppet-master.test.com on port 8081.

[puppet-master.test.com] Is allowing connections from puppet-master.test.com on port 443.

[puppet-master.test.com] Is allowing connections from puppet-master.test.com on port 5432.

[puppet-master.test.com] Is allowing connections from puppet-master.test.com on port 5432.

*[puppet-master.test.com] An error occured while performing verify_puppet_puppet-master.test.com : Puppet Test Run Failed.. *

Verify that MCollective is functioning.

Backing up installer log files to puppet-master.test.com .

If I expand the log I can see this :

[localhost/puppet-master.test.com] /opt/puppet/bin/puppet agent --test

Info: Retrieving pluginfacts

Info: Retrieving plugin

Info: Loading facts

Info: Caching catalog for puppet-master.test.com

Info: Applying configuration version '1418634807'

Notice: /Stage[main]/Puppetenterprise::Profile::Master/File[/opt/puppet/share/puppetenterprise/pemodules/install.sh]: Dependency File[/opt/puppet/share/puppetenterprise/pe_modules] has failures: true

Notice: /Stage[main]/Puppetenterprise::Profile::Master/Exec[Extract PE Modules]: Dependency File[/opt/puppet/share/puppetenterprise/pe_modules] has failures: true

Notice: Finished catalog run in 43.50 seconds

**Error: /Stage[main]/Puppetenterprise::Profile::Master/File[/opt/puppet/share/puppetenterprise/pemodules]: Failed to generate additional resources using 'evalgenerate': Error 400 on SERVER: Not authorized to call search on /filemetadata/pemodules with {:links=>"manage", :recurse=>true, :checksum_type=>"md5"}

Error: /Stage[main]/Puppetenterprise::Profile::Master/File[/opt/puppet/share/puppetenterprise/pemodules]: Could not evaluate: Could not retrieve file metadata for puppet:///pemodules: Error 400 on SERVER: Not authorized to call find on /filemetadata/pemodules with {:links=>"manage", :source_permissions=>"use"}**

Wrapped exception:

Error 400 on SERVER: Not authorized to call find on /filemetadata/pemodules with {:links=>"manage", :source_permissions ...

(more)
edit retag flag offensive close merge delete

Comments

Hi Marco, Were you able to find out the root cause? I am having exactly the same issue with PE 3.7.1 on CentOS 6.5 an still no hope. Cheers, Mehdi

Martin gravatar imageMartin ( 2015-01-15 18:17:14 -0600 )edit

I am having the exact same problem. Did you get a fix to your problem?

Matos64 gravatar imageMatos64 ( 2015-01-27 11:04:28 -0600 )edit