Hi Steve,
The plugins error is likely harmless. It looks from your log file that
your puppetmaster is running an older version (perhaps 2.7 if you're
using EPEL) so this error is expected and is harmless if there aren't
any plugins for the agent to download. If both agent and server are on
Puppet 3 then this warning won't be shown.
The real problem in your log output is this:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find class ldap for dell-ubuntu.domain.name on node
dell-ubuntu.domain.name
It's unable to find one of the classes that Foreman has specified should
be used.
Check on your puppetmaster that this is defined in
/etc/puppet/environments/production/modules/ldap/manifests/init.pp by
default - the module layout is quite specific.
Regards,
···
-- Dominic Cleal Red Hat EngineeringOn 22/05/14 20:11, Steve Dainard wrote:
Hello,
New install of foreman 1.5 on CentOS 6.5. The hostname is puppetmaster.
When I ‘Run Puppet’ from the foreman UI on the forman/puppetmaster host,
I get the following error:
["failed to execute puppetrun: ERF12-4252 [ProxyAPI::ProxyException]:
Unable to execute Puppet run ([RestClient::InternalServerError]: 500
Internal Server Error) for proxy https://puppetmaster.domain.name:8443When I run from cli I get:
[root@puppetmaster]# puppet agent --test
info: Retrieving plugin
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Caching catalog for puppetmaster.domain.name
info: Applying configuration version '1400775337’
notice: Finished catalog run in 0.07 secondsWhich seems to be ok.
When I run from a provisioned host I get:
root@dell-ubuntu:~# puppet agent --test
Notice: Using less secure serialization of reports and query parameters
for compatibility
Notice: with older puppet master. To remove this notice, please upgrade
your master(s)
Notice: to Puppet 3.3 or newer.
Notice: See http://links.puppetlabs.com/deprecate_yaml_on_network for
more information.
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not
retrieve information from environment Engineering_Desktops source(s)
puppet://puppetmaster.domain.name/plugins
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find class ldap for dell-ubuntu.domain.name on node
dell-ubuntu.domain.name
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping runI created the environment “Engineering_Desktops” in foreman, and then
manually created in the puppet directory and imported the ldap class
from this project https://forge.puppetlabs.com/torian/ldap. But I think
the “Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not
retrieve information from environment Engineering_Desktops…” is
probably the first issue to tackle.I don’t see anything related in the logs.
Any help appreciated,
Steve–
You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.