Puppet Master not responding

116 views
Skip to first unread message

Naveen Desu

unread,
Dec 9, 2013, 11:45:17 PM12/9/13
to puppet...@googlegroups.com
Hi,

While I was trying to access Puppet REST API [https://<PuppetHost>:8140/production/facts/<ClientHost>], getting the below error.

I am not sure the issue here & could not find any specific log to further troubleshoot. Any help will be appreciated.


Web application could not be started

exit (SystemExit)
  /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:525:in `exit'
  /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:525:in `rescue in exit_on_fail'
  /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:511:in `exit_on_fail'
  /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:364:in `run'
  /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:132:in `run'
  /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:86:in `execute'
  config.ru:28:in `block in <main>'
  /opt/puppet/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
  /opt/puppet/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `<main>'
  /opt/puppet/share/phusion_passenger/helper-scripts/rack-preloader.rb:105:in `eval'
  /opt/puppet/share/phusion_passenger/helper-scripts/rack-preloader.rb:105:in `preload_app'
  /opt/puppet/share/phusion_passenger/helper-scripts/rack-preloader.rb:150:in `<module:App>'
  /opt/puppet/share/phusion_passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
  /opt/puppet/share/phusion_passenger/helper-scripts/rack-preloader.rb:28:in `<main>'

Application root
/var/opt/lib/pe-puppetmaster
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV and PASSENGER_ENV)
production
PS: The server was working fine until the REST API DELETE https://<PuppetHost>:8140/production/certificate_status/{hostname} was run.

Thanks,
Naveen.

Sean Keery

unread,
May 6, 2014, 3:08:37 PM5/6/14
to puppet...@googlegroups.com
I just had this happen to me today.  Turns out that I had pasted some database settings into the puppet.conf instead of the database.ini while using screen and having too many windows open.  Luckily I had some cert warnings so I ran puppet cert list --all and got an error about the puppet.conf file having an invalid line.  There you go,

Sean
Reply all
Reply to author
Forward
0 new messages