BIND 10 #1153: zonemgr exits on empty zones
BIND 10 Development
do-not-reply at isc.org
Tue Jul 19 10:02:51 UTC 2011
#1153: zonemgr exits on empty zones
-------------------------------------+-------------------------------------
Reporter: shane | Owner:
Type: | Status: new
defect | Milestone: New Tasks
Priority: major | Resolution:
Component: | Sensitive: 0
secondary manager | Sub-Project: DNS
Keywords: | Estimated Difficulty: 0
Defect Severity: | Total Hours: 0
Medium |
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Description changed by shane:
Old description:
> I copied my BIND 10 config file from one secondary to another. It had a
> zone that did not exist in the SQLite database. When I started BIND 10,
> the zonemgr exited with the following error:
>
> {{{
> File "/opt/bind10/libexec/bind10-devel/b10-zonemgr", line 648, in
> <module>
> zonemgrd = Zonemgr()
> File "/opt/bind10/libexec/bind10-devel/b10-zonemgr", line 488, in
> __init__
> self._zone_refresh = ZonemgrRefresh(self._cc, self._db_file,
> self._slave_soc
> ket, self._config_data)
> File "/opt/bind10/libexec/bind10-devel/b10-zonemgr", line 109, in
> __init__
> self.update_config_data(config_data)
> File "/opt/bind10/libexec/bind10-devel/b10-zonemgr", line 461, in
> update_config_data
> self.zonemgr_add_zone(name_class)
> File "/opt/bind10/libexec/bind10-devel/b10-zonemgr", line 198, in
> zonemgr_add_zone
> raise ZonemgrException("[b10-zonemgr] zone (%s, %s) doesn't have
> soa." % zone_name_class)
> __main__.ZonemgrException: [b10-zonemgr] zone (time-
> travellers.nl.eu.org., IN) doesn't have soa.
> [bind10] Process b10-zonemgr (PID 3483) terminated, exit status = 256
> }}}
>
> This should be logged as a warning or perhaps an error, but should not
> cause zonemgr to terminate.
New description:
I copied my BIND 10 config file from one secondary to another. It had a
zone that did not exist in the SQLite database. When I started BIND 10,
the zonemgr exited with the following error:
{{{
File "/opt/bind10/libexec/bind10-devel/b10-zonemgr", line 648, in
<module>
zonemgrd = Zonemgr()
File "/opt/bind10/libexec/bind10-devel/b10-zonemgr", line 488, in
__init__
self._zone_refresh = ZonemgrRefresh(self._cc, self._db_file,
self._slave_soc
ket, self._config_data)
File "/opt/bind10/libexec/bind10-devel/b10-zonemgr", line 109, in
__init__
self.update_config_data(config_data)
File "/opt/bind10/libexec/bind10-devel/b10-zonemgr", line 461, in
update_config_data
self.zonemgr_add_zone(name_class)
File "/opt/bind10/libexec/bind10-devel/b10-zonemgr", line 198, in
zonemgr_add_zone
raise ZonemgrException("[b10-zonemgr] zone (%s, %s) doesn't have soa."
% zone_name_class)
__main__.ZonemgrException: [b10-zonemgr] zone (time-travellers.nl.eu.org.,
IN) doesn't have soa.
[bind10] Process b10-zonemgr (PID 3483) terminated, exit status = 256
}}}
This should be logged as a warning or perhaps an error, but should not
cause zonemgr to terminate.
Note that once the zone had been transferred everything restarted and is
working fine.
--
--
Ticket URL: <http://bind10.isc.org/ticket/1153#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list