BIND 10 #77: Catch schema error exceptions

BIND 10 Development do-not-reply at isc.org
Wed Feb 15 11:03:54 UTC 2012


#77: Catch schema error exceptions
-------------------------------------------+----------------------------
                   Reporter:  jreed        |                 Owner:
                       Type:  defect       |                Status:  new
                   Priority:  minor        |             Milestone:
                  Component:  data source  |            Resolution:
                   Keywords:               |             Sensitive:  0
            Defect Severity:  N/A          |           Sub-Project:  DNS
Feature Depending on Ticket:               |  Estimated Difficulty:  0
        Add Hours to Ticket:               |           Total Hours:
                  Internal?:  0            |
-------------------------------------------+----------------------------
Changes (by shane):

 * priority:  major => minor
 * subproject:   => DNS
 * internal:   => 0
 * type:  enhancement => defect
 * severity:   => N/A


Comment:

 Seems like this is still a potential problem. I broke the schema version
 to see what happens now, and I see:

 {{{
 2012-02-15 12:00:14.988 INFO  [b10-xfrout.xfrout] XFROUT_NEW_CONFIG_DONE
 Update xfrout configuration done
 Traceback (most recent call last):
   File "/tmp/bind10/libexec/bind10-devel/b10-xfrout", line 1040, in
 <module>
     xfrout_server = XfroutServer()
   File "/tmp/bind10/libexec/bind10-devel/b10-xfrout", line 925, in
 __init__
     self._start_notifier()
   File "/tmp/bind10/libexec/bind10-devel/b10-xfrout", line 939, in
 _start_notifier
     self._notifier = notify_out.NotifyOut(datasrc)
   File "/tmp/bind10/lib64/python3.2/site-
 packages/isc/notify/notify_out.py", line 139, in __init__
     self._init_notify_out(datasrc_file)
   File "/tmp/bind10/lib64/python3.2/site-
 packages/isc/notify/notify_out.py", line 154, in _init_notify_out
     for zone_name, zone_class in sqlite3_ds.get_zones_info(datasrc_file):
   File "/tmp/bind10/lib64/python3.2/site-
 packages/isc/datasrc/sqlite3_ds.py", line 190, in get_zones_info
     conn, cur = open(dbfile)
   File "/tmp/bind10/lib64/python3.2/site-
 packages/isc/datasrc/sqlite3_ds.py", line 119, in open
     raise Sqlite3DSError("Bad database schema version")
 isc.datasrc.sqlite3_ds.Sqlite3DSError: Bad database schema version
 }}}

 I am going to lower the priority, since it seems not that important - it
 only causes ugliness, and only for broken setups.

-- 
Ticket URL: <http://bind10.isc.org/ticket/77#comment:4>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list