BIND 10 #457: Stats show and exception

BIND 10 Development do-not-reply at isc.org
Tue Dec 28 14:45:13 UTC 2010


#457: Stats show and exception
---------------------------+------------------------------------------------
  Reporter:  jreed         |            Owner:     
      Type:  defect        |           Status:  new
  Priority:  major         |        Milestone:     
 Component:  Unclassified  |         Keywords:     
 Sensitive:  0             |   Estimatedhours:  0  
     Hours:  0             |         Billable:  1  
Totalhours:  0             |         Internal:  0  
---------------------------+------------------------------------------------
 Using bindctl:

 {{{

 > Stats show
 send the command to cmd-ctrld
 Error!
 Fail to connect with b10-cmdctl module, is it running?

 }}}

 It is running.

 This kills bindctl at next input there.

 I also get the following from the server (not bindctl) when the error
 happens:

 {{{

 Exception happened during processing of request from ('127.0.0.1', 63380)
 Traceback (most recent call last):
   File "/usr/pkg/lib/python3.1/socketserver.py", line 558, in
 process_request_thread
     self.finish_request(request, client_address)
   File "/usr/pkg/lib/python3.1/socketserver.py", line 320, in
 finish_request
     self.RequestHandlerClass(request, client_address, self)
   File "/usr/pkg/lib/python3.1/socketserver.py", line 614, in __init__
     self.handle()
   File "/usr/pkg/lib/python3.1/http/server.py", line 352, in handle
     self.handle_one_request()
   File "/usr/pkg/lib/python3.1/http/server.py", line 346, in
 handle_one_request
     method()
   File "/home/reed/opt/bind10/libexec/bind10-devel/b10-cmdctl", line 140,
 in do_POST
     rcode, reply = self._handle_post_request()
   File "/home/reed/opt/bind10/libexec/bind10-devel/b10-cmdctl", line 205,
 in _handle_post_request
     rcode, reply = self.server.send_command_to_module(mod, cmd, param)
   File "/home/reed/opt/bind10/libexec/bind10-devel/b10-cmdctl", line 549,
 in send_command_to_module
     return self.cmdctl.send_command_with_check(module_name, command_name,
 params)
   File "/home/reed/opt/bind10/libexec/bind10-devel/b10-cmdctl", line 382,
 in send_command_with_check
     if not spec_obj.validate_command(command_name, params, errors):
   File "/home/reed/opt/bind10/lib/python3.1/site-
 packages/isc/config/module_spec.py", line 116, in validate_command
     return _validate_spec_list(cmd['command_args'], True, cmd_params,
 errors)
   File "/home/reed/opt/bind10/lib/python3.1/site-
 packages/isc/config/module_spec.py", line 342, in _validate_spec_list
     for item_name in data:
 TypeError: 'NoneType' object is not iterable
 ----------------------------------------

 }}}

 But cmdctl is still running. It never stopped (same process start time).

 And cmdctl still works fine for other things. I can use bindctl fine other
 than the "Stats show" (but I didn't try every combination).

-- 
Ticket URL: <http://bind10.isc.org/ticket/457>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list