Hi to Everybody,
I'm working with puppet since some months.
I'm managing a medium environment with some hundreds of nodes.
I installed passenger and everything worked fine following this documentation:
Today I tried to install also Dashboard.
The installation seems to complete correctly then I restarted httpd server and still ok.
But when I go on one client and run the command
puppet agent --test --environment vargas
I got this error
err: Could not retrieve catalog from remote server: Error 400 on SERVER: no 'environments' in {:root_environment=>#<Puppet::Node::Environment:0x7f784c700668 @name=:"*root*", @manifest="/usr/share/puppet/rack/puppetmasterd", @modulepath=[]>, :current_environment=>#<Puppet::Node::Environment:0x7f784c700668 @name=:"*root*", @manifest="/usr/share/puppet/rack/puppetmasterd", @modulepath=[]>} at top of []
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
err: Could not send report: Error 400 on SERVER: no 'environments' in {:root_environment=>#<Puppet::Node::Environment:0x7f784c700668 @name=:"*root*", @manifest="/usr/share/puppet/rack/puppetmasterd", @modulepath=[]>, :current_environment=>#<Puppet::Node::Environment:0x7f784c700668 @name=:"*root*", @manifest="/usr/share/puppet/rack/puppetmasterd", @modulepath=[]>} at top of []
same thing if I don't chose the environment.
Instead if I switch off httpd and restart normal puppetmaster everything works fine.
Has anyone already seen this type of error?
Thank you
Cheers.
Luca