Failed to generate additional resources using 'eval_generate'

6,703 views
Skip to first unread message

Tim Dunphy

unread,
Mar 15, 2014, 8:04:01 PM3/15/14
to puppet...@googlegroups.com
Hey all,

 I'm getting the following error on only one of my puppet hosts:

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 {:links=>"manage", :checksum_type=>"md5", :ignore=>[".svn", "CVS", ".git"], :recurse=>true}
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 {:links=>"manage", :source_permissions=>"use"}
Wrapped exception:
Error 400 on SERVER: Not authorized to call find on /file_metadata/pluginfacts with {:links=>"manage", :source_permissions=>"use"}

The client is an ubuntu 13.10 host running puppet agent version 3.5.0 against a puppet master 2.7.3

Could someone give me a hand in how to handle this error?

Thanks
Tim

--
GPG me!!

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

Felix Frank

unread,
Mar 18, 2014, 10:38:27 AM3/18/14
to puppet...@googlegroups.com
Hi,

this smells of something funny related to pluginsync.

You will want to carefully diff this agent's config against its peers.
Beyond that, I'd try and play with the pluginsync settings and work from
there.

HTH,
Felix

On 03/16/2014 01:04 AM, Tim Dunphy wrote:
> Hey all,
>
> I'm getting the following error on only one of my puppet hosts:
>
> 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 {:links=>"manage",
> :checksum_type=>"md5", :ignore=>[".svn", "CVS", ".git"], :recurse=>true}
> Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not
> retrieve file metadata for puppet://puppet.jokefire.com/pluginfacts
> <http://puppet.jokefire.com/pluginfacts>: Error 400 on SERVER: Not

José Luis Ledesma

unread,
Mar 18, 2014, 12:36:30 PM3/18/14
to puppet...@googlegroups.com

I think I have read somewhere that puppet master should always be at least at the same version  that the agents.

Regards,

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAOZy0emE3%2Bvj8tC3opXD%3D2qHgXzn9Qke6tFoXWg_W8ToQt%2BgXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

José Luis Ledesma

unread,
Mar 18, 2014, 2:44:56 PM3/18/14
to puppet...@googlegroups.com

http://docs.puppetlabs.com/guides/upgrading.html

Master version should not be lower than agent version

Regards

Bret Wortman

unread,
Mar 28, 2014, 11:29:21 AM3/28/14
to puppet...@googlegroups.com
Were you able to solve this? It's started happening to me now and I can't for the life of me figure it out....

jcbollinger

unread,
Mar 28, 2014, 3:55:54 PM3/28/14
to puppet...@googlegroups.com


On Friday, March 28, 2014 10:29:21 AM UTC-5, Bret Wortman wrote:
Were you able to solve this? It's started happening to me now and I can't for the life of me figure it out....



Though the OP did not report back, I am reasonably confident that his issue was as Jose suggested: his agent was a newer version than his master (much newer, in fact).  If that's not the case for you then your problem is likely different, and in that case some details would help.


John

hand...@gmail.com

unread,
Aug 26, 2015, 9:45:16 AM8/26/15
to Puppet Users
in this file :/etc/puppet/fileserver.conf ,use allow + domain name is ok ,use allow + ip isn't ok .
[files]
path /etc/

在 2014年3月16日星期日 UTC+8上午8:04:01,bluethundr写道:
Reply all
Reply to author
Forward
0 new messages