BIND 10 #1100: Incorrect constant for logging message in xfrin

BIND 10 Development do-not-reply at isc.org
Thu Jul 7 21:03:49 UTC 2011


#1100: Incorrect constant for logging message in xfrin
-------------------------------+-----------------------------------------
            Reporter:  shane   |                        Owner:
                Type:  defect  |                       Status:  new
            Priority:  major   |                    Milestone:  New Tasks
           Component:  xfrin   |                     Keywords:
           Sensitive:  0       |              Defect Severity:  Low
         Sub-Project:  DNS     |  Feature Depending on Ticket:
Estimated Difficulty:  0       |          Add Hours to Ticket:  0
         Total Hours:  0       |                    Internal?:  0
-------------------------------+-----------------------------------------
 I just got the following exception:

 {{{
 2011-07-07 20:07:59.566 INFO  [b10-xfrout.xfrout] XFROUT_NOTIFY_COMMAND
 received command to send notifies for time-travellers.nl.eu.org./IN
 Exception in thread Thread-92:
 Traceback (most recent call last):
   File "/opt/bind10/libexec/bind10-devel/b10-xfrin", line 152, in
 connect_to_master
     self.connect(self._master_address)
   File "/usr/lib/python3.1/asyncore.py", line 343, in connect
     raise socket.error(err, errorcode[err])
 socket.error: [Errno 113] EHOSTUNREACH

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "/usr/lib/python3.1/threading.py", line 516, in _bootstrap_inner
     self.run()
   File "/usr/lib/python3.1/threading.py", line 469, in run
     self._target(*self._args, **self._kwargs)
   File "/opt/bind10/libexec/bind10-devel/b10-xfrin", line 404, in
 process_xfrin
     if conn.connect_to_master():
   File "/opt/bind10/libexec/bind10-devel/b10-xfrin", line 155, in
 connect_to_master
     logger.error(CONNECT_MASTER, self._master_address, str(e))
 NameError: global name 'CONNECT_MASTER' is not defined
 }}}

 This should be XFRIN_CONNECT_MASTER. It is the only logging constant where
 this has been left off:

 {{{
 [shane at shane-desktop xfrin]$ grep logger. * | grep -v XFRIN
 xfrin.py.in:logger = isc.log.Logger("xfrin")
 xfrin.py.in:            logger.error(CONNECT_MASTER, self._master_address,
 str(e))
 }}}

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


More information about the bind10-tickets mailing list