Issue #8704 has been reported by Matt Robinson.
----------------------------------------
Bug #8704: Puppetmaster fails to start with bad fileserver.conf
https://projects.puppetlabs.com/issues/8704
Author: Matt Robinson
Status: Accepted
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
We should either handle a bad fileserver conf by ignoring it and continuing, or
give a better error.
A user created a bad fileserver.conf like this:
allow 127.0.0.1/24
When starting the puppet master this resulted in:
notice: Starting Puppet master version 2.7.2
/Users/matthewrobinson/work/puppet/lib/puppet/network/handler/fileserver.rb:285:in
`readconfig': undefined method `info' for nil:NilClass (NoMethodError)
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/handler/fileserver.rb:283:in
`each'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/handler/fileserver.rb:283:in
`readconfig'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/handler/fileserver.rb:258:in
`each'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/handler/fileserver.rb:258:in
`readconfig'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/handler/fileserver.rb:255:in
`open'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/handler/fileserver.rb:255:in
`readconfig'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/handler/fileserver.rb:117:in
`initialize'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/http/webrick.rb:135:in
`new'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/http/webrick.rb:135:in
`xmlrpc_servlet'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/http/webrick.rb:131:in
`collect'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/http/webrick.rb:131:in
`xmlrpc_servlet'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/http/webrick.rb:126:in
`setup_handlers'
from
/Users/matthewrobinson/work/puppet/lib/puppet/network/http/webrick.rb:36:in
`listen'
from /Users/matthewrobinson/work/puppet/lib/puppet/network/server.rb:127:in
`listen'
from /Users/matthewrobinson/work/puppet/lib/puppet/network/server.rb:142:in
`start'
from /Users/matthewrobinson/work/puppet/lib/puppet/daemon.rb:124:in `start'
from
/Users/matthewrobinson/work/puppet/lib/puppet/application/master.rb:202:in
`main'
from
/Users/matthewrobinson/work/puppet/lib/puppet/application/master.rb:144:in
`run_command'
from /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:307:in
`run'
from /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:411:in
`hook'
from /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:307:in
`run'
from /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:402:in
`exit_on_fail'
from /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:307:in
`run'
from /Users/matthewrobinson/work/puppet/sbin/puppetmasterd:4
--
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.