I have this exact same problem with a fresh install and passenger. I am 
kinda happy someone else has seen this issue, though I wish I knew why it 
was. 

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




On Thursday, May 8, 2014 8:38:47 AM UTC-7, Luca Mazzaferro wrote:
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/2dc402d9-e68d-435b-b502-d4a2521bf6f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to