Issue #8872 has been updated by Nan Liu.
Status changed from Unreviewed to Needs Decision
If you do this puppet master crashes immediately and indicate an issue with
fileserver.rb.
puppet master -d --no-daemonize
notice: Starting Puppet master version 2.6.4 (Puppet Enterprise 1.0)
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:270:in
`readconfig': undefined method `name' for nil:NilClass (NoMethodError)
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:256:in
`each'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:256:in
`readconfig'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:253:in
`open'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:253:in
`readconfig'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:115:in
`initialize'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:135:in `new'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:135:in
`xmlrpc_servlet'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:131:in
`collect'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:131:in
`xmlrpc_servlet'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:126:in
`setup_handlers'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:36:in `listen'
from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/server.rb:127:in
`listen'
from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/server.rb:142:in
`start'
from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/daemon.rb:124:in `start'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/master.rb:114:in `main'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in
`run_command'
from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in
`run'
from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:393:in
`exit_on_fail'
from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in
`run'
from
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:55:in `execute'
from /usr/local/bin/puppet:4
I think there's sufficient info, but I'll leave this to product manager to
determine whether to accept or reject.
----------------------------------------
Bug #8872: Silent puppetmaster crash with invalid fileserver.conf
https://projects.puppetlabs.com/issues/8872
Author: Simon Lodal
Status: Needs Decision
Priority: Normal
Assignee:
Category: server
Target version: 2.7.x
Affected Puppet version:
Keywords: crash
Branch:
I accidentally copied auth.conf over fileserver.conf. The result is that
puppetmaster crashes during startup, and worse, does so without a word. The
daemon just disappears, silently. No warnings, errors or any other kind of clue
in logs or on command line.
Quite annoying as it took me a while to figure out the cause. I would say the
config parser could use some more robustness.
puppetmaster-2.7.1 (debian testing).
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.