Raj K SHK
2013-May-17 15:56 UTC
[Puppet Users] puppet agent fail error 400 not authorized to call find on /file_metadata
hi,
I have upgraded puppet from 2.7 to 3.0 and reinstalled puppetdb and
converted the new certs to truststore.jks and keystore.jks under the
correct directory.
I am using activeMq with mcollective
below is
puppet.conf
[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
pluginsync = true
certname = puppet.srv.my.net.uk
certdnsname = puppet.srv.my.net.uk
certificate_revocation = false
[agent]
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
pluginsync = true
report = true
archive_files = true
[master]
ssl_client_header = HTTP_X_SSL_SUBJECT
ssl_client_verify_header = SSL_CLIENT_VERIFY
reports = store, http
reporturl = http://puppet.srv.my.net.uk/reports/upload
storeconfigs = true
storeconfigs_backend = puppetdb
certname = puppet.srv.my.net.uk
certdnsname = puppet.srv.my.net.uk
I ran puppetmaster in daemon verbose mode and get this error
Error: Permission denied - /root at
/etc/puppet/modules/motd/manifests/config.pp:2 on node bladon.srv.my.net.uk
Wrapped exception:
Permission denied - /root
Error: Permission denied - /root at
/etc/puppet/modules/motd/manifests/config.pp:2 on node bladon.srv.my.net.uk
Error: Permission denied - /root at
/etc/puppet/modules/motd/manifests/config.pp:2 on node bladon.srv.my.net.uk
Error: Report processor failed: Connection refused - connect(2)
Info: Caching node for bladon.srv.my.net.uk
Info: ''replace facts'' command for bladon.srv.my.net.uk
submitted to
PuppetDB with UUID bcd26215-f3ce-4434-8da2-fcc7e818723b
Info: Caching node for bladon.srv.my.net.uk
Notice: Compiled catalog for bladon.srv.my.net.uk in environment
production in 1.98 seconds
Info: Caching catalog for bladon.srv.my.net.uk
Info: ''replace catalog'' command for bladon.srv.my.net.uk
submitted to
PuppetDB with UUID f03476d3-0e73-4629-a385-fff466d84269
Info: Could not find file_bucket_file for
''md5/2cb091b0a500c609b3feebd040703400/etc/motd''
Info: FileBucket adding {md5}2cb091b0a500c609b3feebd040703400
Error: Not authorized to call find on /file_metadata/utils/o2prop.rb
Error: Not authorized to call search on
/file_metadata/mcollective/mcollective with {:links=>"manage",
:recurse=>true, :checksum_type=>"md5"}
Error: Not authorized to call find on
/file_metadata/mcollective/mcollective
Error: Report processor failed: Connection refused - connect(2)
can anyone suggest me the steps to fix the issue?
kshk
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.