Luca Mazzaferro
2014-May-08 15:38 UTC
[Puppet Users] Error 400 on SERVER: no 'environments' in {:root_environment=>#<Puppet::Node::Environment:0x7f784c700668 @name=:"*root*", @manifest="/usr/share/puppet/rack/puppetmasterd", @modulepath=[]>
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:
http://docs.puppetlabs.com/guides/passenger.html#example-vhost-configuration
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
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/f361650b-d6e9-4d10-98ed-d437f6e1173f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.