pluginsync errors on client puppet 3.7

618 views
Skip to first unread message

Tim Dunphy

unread,
Sep 20, 2014, 11:10:13 AM9/20/14
to puppet...@googlegroups.com
Hey all,

I'm getting some errors on my client when doing puppet runs that seem related to pluginsync:

Error: /File[/var/lib/mydomain/facts.d]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Not authorized to call search on /file_metadata/pluginfacts with {:ignore=>[".svn", "CVS", ".git"], :recurse=>true, :links=>"manage", :checksum_type=>"md5"}

Error: /File[/var/lib/mydomain/facts.d]: Could not evaluate: Could not retrieve file metadata for mydomain://mydomain.jokefire.com/pluginfacts: Error 400 on SERVER: Not authorized to call find on /file_metadata/pluginfacts with {:source_permissions=>"use", :links=>"manage"}

Wrapped exception:

Error 400 on SERVER: Not authorized to call find on /file_metadata/pluginfacts with {:source_permissions=>"use", :links=>"manage"}


Which is odd. Because from what I can tell, puginsync is not being used on the server host!

[root@puppet:/etc/puppet] #puppet master --configprint pluginsync
false

So I'm wondering how I can go about troubleshooting and correcting the above error. 

Another error that I find confusing is this one on the client:

Warning: Local environment: "production" doesn't match server specified environment "none", restarting agent run with environment "none"

Could I get some help with that one too?

Both the client and the server are on puppet 3.7.

Thanks!
Tim

Warning: Local environment: "production" doesn't match server specified environment "none", restarting agent run with environment "none"

--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

Tim Dunphy

unread,
Sep 20, 2014, 11:17:45 AM9/20/14
to puppet...@googlegroups.com
Just a brief follow up. I tried disabling pluginsync in the puppet conf.

[root@puppet:/etc/puppet] #grep pluginsync puppet.conf
    pluginsync    = false

But the error stays the same:

Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Not authorized to call search on /file_metadata/pluginfacts with {:ignore=>[".svn", "CVS", ".git"], :recurse=>true, :links=>"manage", :checksum_type=>"md5"}
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://puppet.jokefire.com/pluginfacts: Error 400 on SERVER: Not authorized to call find on /file_metadata/pluginfacts with {:source_permissions=>"use", :links=>"manage"}
Wrapped exception:
Error 400 on SERVER: Not authorized to call find on /file_metadata/pluginfacts with {:source_permissions=>"use", :links=>"manage"}

Please help! :)

Thanks
Tim
Reply all
Reply to author
Forward
0 new messages