Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
1ce2bb2f
Commit
1ce2bb2f
authored
Jun 04, 2013
by
JINMEI Tatuya
Browse files
[2964] updated log and error messages in case of unknown datasrc.
parent
3bd3919f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/xfrin/xfrin.py.in
View file @
1ce2bb2f
...
...
@@ -1723,9 +1723,9 @@ class Xfrin:
try:
datasrc_client = clist.find(zone_name, True, False)[0]
if datasrc_client is None: # can happen, so log it separately.
logger.error(XFRIN_
NO_
DATASRC,
logger.error(XFRIN_DATASRC
_UNKNOWN
,
format_zone_str(zone_name, rrclass))
return (1, '
no
data source
for
transfer
ring %s
' %
return (1, 'data source
to
transfer
%s to is unknown
' %
format_zone_str(zone_name, rrclass))
zone_soa = _get_zone_soa(datasrc_client, zone_name, rrclass)
except isc.datasrc.Error as ex: # rare case error, convert (so logged)
...
...
src/bin/xfrin/xfrin_messages.mes
View file @
1ce2bb2f
...
...
@@ -70,6 +70,17 @@ inconsistent state among different modules. If other modules accept
the update but xfrin produces this error, the xfrin module should
probably be restarted.
% XFRIN_DATASRC_UNKNOWN data source to transfer %1 to is unknown
The xfrin daemon received a command that would trigger a transfer,
but could not find a data source where the specified zone belongs.
There can be several reasons for this error: it may be a simple
misspelling in the xfrin or zonemgr configuration, or in the user
supplied parameter if it is triggered by an external command (such as
from bindctl). Another possibility is that this is the initial transfer
for a newly setup secondary zone. In this case at least an initial empty zone
must be created in one of configured data sources. This can be done by
the -e option of b10-loadzone.
% XFRIN_EXITING exiting
The xfrin daemon is exiting.
...
...
@@ -163,17 +174,6 @@ from does not match the master address in the Xfrin configuration. The notify
is ignored. This may indicate that the configuration for the master is wrong,
that a wrong machine is sending notifies, or that fake notifies are being sent.
% XFRIN_NO_DATASRC no data source for transferring %1
The xfrin daemon received a command that would trigger a transfer,
but could not find a data source where the specified zone belong.
There can be several reasons for this error: it may be a simple
misspelling in the xfrin or zonemgr configuration, or in the user
supplied parameter if it is triggered by an external command (such as
from bindctl). Another possibility is that this is the initial transfer
for newly setup secondary zone. In this case at least an initial empty zone
must be created in one of configured data sources. This can be done by
the -e option of b10-loadzone.
% XFRIN_RECEIVED_COMMAND received command: %1
The xfrin daemon received a command on the command channel.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment