self.connect(self._master_addrinfo[2])
return True
except socket.error as e:
- logger.error(XFRIN_CONNECT_MASTER, self.tsig_key_name,
+ if self._tsig_key is None:
+ tsig_str = ""
+ else:
+ tsig_str = " (with TSIG %s)" % self._tsig_key
+ logger.error(XFRIN_CONNECT_MASTER,
self._master_addrinfo[2],
+ tsig_str,
+ self._zone_name.to_text(),
str(e))
return False
There was an error while the given command was being processed. The
error is given in the log message.
-% XFRIN_CONNECT_MASTER (with TSIG %1) error connecting to master at %2: %3
-There was an error opening a connection to the master. The error is
-shown in the log message.
+% XFRIN_CONNECT_MASTER error connecting to master at %1%2 for %3: %4
+There was an error opening a connection to the master for the specified
+zone. The error is shown in the log message.
% XFRIN_DATASRC_CONFIG_ERROR failed to update data source configuration: %1
Configuration for the global data sources is updated, but the update