Ask Your Question

puppet kick failed: Error 400 on SERVER: no 'environments'

asked 2014-10-16 16:38:24 -0600

liang gravatar image

I wanna push change to the node. It works at the first time and second, but It will be failed when I use puppet kick at third time. If I restart puppet agent, it will work at first two times and still be failed at third time.

Puppet version is 3.7.1

[root@ana-poc-07 puppet]# puppet kick -p 10 --host
Warning: Puppet kick is deprecated. See
Warning: Failed to load ruby LDAP library. LDAP functionality will not be available
Error: Host failed: Error 400 on SERVER: no 'environments' in {:root_environment=>#<Puppet::Node::Environment:0x7ff86e1f5248 @watching=true, @name=:"*root*", @config_version=nil, @manifest=:no_manifest, @modulepath=[]>, :current_environment=>#<Puppet::Node::Environment:0x7ff86e1f5248 @watching=true, @name=:"*root*", @config_version=nil, @manifest=:no_manifest, @modulepath=[]>} at top of [[0, nil, nil]]

On puppet agent, I change two config files:


server =
certname =
listen = true
runinterval = 999999999


path /run
auth any
method save

Anyone knows what may cause this problem?

edit retag flag offensive close merge delete


Is there a chance you're using a reserved environment name, such as master? This often happens with dynamic environments based on GIT branches since GIT creates a master branch by default.

cbarbour gravatar imagecbarbour ( 2014-10-20 15:03:03 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-18 03:25:26 -0600

same problem here. Is there any solution for this problem?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-10-16 16:33:13 -0600

Seen: 661 times

Last updated: Oct 16 '14