BIND 10 #468: shutdown command doesn't work

BIND 10 Development do-not-reply at isc.org
Fri Dec 31 19:20:29 UTC 2010


#468: shutdown command doesn't work
-----------------------+----------------------------------------------------
  Reporter:  jinmei    |            Owner:                       
      Type:  defect    |           Status:  new                  
  Priority:  critical  |        Milestone:  y2 12 month milestone
 Component:  bind-ctl  |         Keywords:                       
 Sensitive:  0         |   Estimatedhours:  0                    
     Hours:  0         |         Billable:  1                    
Totalhours:  0         |         Internal:  0                    
-----------------------+----------------------------------------------------
 If I try "Boss shutdown" with bindctl on the latest trunk I get:
 {{{
 > Boss shutdown
 send the command to cmd-ctrld
 Error!
 Fail to connect with b10-cmdctl module, is it running?
 }}}

 And b10-cmdctl dumps a stack trace:
 {{{
   File "/Users/jinmei/src/isc/bind10/trunk-
 reload/src/bin/cmdctl/b10-cmdctl", line 140, in do_POST
     rcode, reply = self._handle_post_request()
   File "/Users/jinmei/src/isc/bind10/trunk-
 reload/src/bin/cmdctl/b10-cmdctl", line 205, in _handle_post_request
     rcode, reply = self.server.send_command_to_module(mod, cmd, param)
   File "/Users/jinmei/src/isc/bind10/trunk-
 reload/src/bin/cmdctl/b10-cmdctl", line 549, in send_command_to_module
     return self.cmdctl.send_command_with_check(module_name, command_name,
 params)
   File "/Users/jinmei/src/isc/bind10/trunk-
 reload/src/bin/cmdctl/b10-cmdctl", line 382, in send_command_with_check
     if not spec_obj.validate_command(command_name, params, errors):
   File "/Users/jinmei/src/isc/bind10/trunk-
 reload/src/lib/python/isc/config/module_spec.py", line 116, in
 validate_command
     return _validate_spec_list(cmd['command_args'], True, cmd_params,
 errors)
   File "/Users/jinmei/src/isc/bind10/trunk-
 reload/src/lib/python/isc/config/module_spec.py", line 342, in
 _validate_spec_list
     for item_name in data:
 TypeError: 'NoneType' object is not iterable
 }}}

 "sendstats" resulted in the same error.  I suspect there's a regression
 for commands that don't take arguments.

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


More information about the bind10-tickets mailing list