Error on my puppet Agent

134 views
Skip to first unread message

twm...@gmail.com

unread,
May 7, 2014, 4:31:03 PM5/7/14
to puppet...@googlegroups.com
Hi, 

I am very new to Puppet. I am running 3.5.1 via Foreman proxy. 

I unfortunately getting the following error on my client when I attempt to register its cert with the master.  

#  puppet agent --server myserver.domain --waitforcert 60 --test
Error: Could not request certificate: Error 400 on SERVER: no 'environments' in {:current_environment=>#<Puppet::Node::Environment:0x7f33c50554b0 @name=:"*root*", @manifest="/etc/puppet/rack", @modulepath=[]>, :root_environment=>#<Puppet::Node::Environment:0x7f33c50554b0 @name=:"*root*", @manifest="/etc/puppet/rack", @modulepath=[]>} at top of []

Clearly I have something I have not setup or configured, but it is not clear based on the error what that might be. 

Anyone have any suggestions on how I might proceed?

Thanks,

Terrence

twm...@gmail.com

unread,
May 7, 2014, 7:50:05 PM5/7/14
to puppet...@googlegroups.com
So I think the issue may be some where in the Foreman proxy configuration. I am basing that assumption on the output of the following commands. 

[root@cabinet-4-4-0 puppet]#   curl -k -H "Content-Type:application/json" -H "Accept:application/json" https://t2gw03.t2.ucsd.edu:8443/puppet/environments
["development","production"]

[root@cabinet-4-4-0 puppet]#   curl -k -H "Content-Type:application/json" -H "Accept:application/json" https://t2gw03.t2.ucsd.edu:8140/puppet/environments
no 'environments' in {:current_environment=>#<Puppet::Node::Environment:0x7f39ad859bf0 @name=:"*root*", @manifest="/etc/puppet/rack", @modulepath=[]>, :root_environment=>#<Puppet::Node::Environment:0x7f39ad859bf0 @name=:"*root*", @manifest="/etc/puppet/rack", @modulepath=[]>} at top of []

Foreman version is 1.4.2. 



Reply all
Reply to author
Forward
0 new messages