BIND 10 #1829: CC Session timeouts / ConfigManager not responding (on OpenBSD)
BIND 10 Development
do-not-reply at isc.org
Thu Mar 22 19:23:39 UTC 2012
#1829: CC Session timeouts / ConfigManager not responding (on OpenBSD)
-------------------------------------+-------------------------------------
Reporter: jreed | Owner:
Type: defect | Status: new
Priority: medium | Milestone: New
Component: Unclassified | Tasks
Sensitive: 0 | Keywords:
Sub-Project: Core | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
When I try to use master (at commit
51b3f091d6a750ad4a65825c4f36bb7c05dddbcb) on OpenBSD by running
./src/bin/bind10/run_bind10.sh --verbose I get the following:
{{{
2012-03-22 19:11:30.685 DEBUG [b10-auth.cc] CC_ESTABLISH trying to
establish connection with message queue daemon at
/home/jreed/src/bind10/msgq_socket
2012-03-22 19:11:30.686 DEBUG [b10-auth.cc] CC_ESTABLISHED successfully
connected to message queue daemon
2012-03-22 19:11:34.6212012-03-22 19:11:34.622 ERROR [b10-xfrin.xfrin]
XFRIN_UNKNOWN_ERROR unknown error: CC Session timeout waiting for
configuration manager
2012-03-22 19:11:34.632 ERROR [b10-xfrout.xfrout]
XFROUT_MODULECC_SESSION_ERROR error encountered by configuration/command
module: No answer from ConfigManager when asking about Remote module Auth
2012-03-22 19:11:34.643Traceback (most recent call last):
File "/home/jreed/src/bind10/src/lib/python/isc/cc/session.py", line
203, in _receive_full_buffer
ERRORINFO [ b10-cmdctl.cmdctl [] b10-boss.bossCMDCTL_COMMAND_ERROR error
in command get_module_spec to module ConfigManager: Module 'ConfigManager'
not responding]
BIND10_PROCESS_ENDED process 407 of b10-xfrout ended with status 0
2012-03-22 19:11:34.644 ERROR [b10-boss.boss] BIND10_COMPONENT_FAILED
component b10-xfrout (pid 407) failed: process exited normally with exit
status 0
2012-03-22 19:11:34.645 INFO [b10-boss.boss] BIND10_PROCESS_ENDED process
29542 of b10-xfrin ended with status 0
2012-03-22 19:11:34.645 ERROR [b10-boss.boss] BIND10_COMPONENT_FAILED
component b10-xfrin (pid 29542) failed: process exited normally with exit
status 0
self._receive_len_data()
File "/home/jreed/src/bind10/src/lib/python/isc/cc/session.py", line
163, in _receive_len_data
new_data = self._receive_bytes(self._recv_len_size)
File "/home/jreed/src/bind10/src/lib/python/isc/cc/session.py", line
149, in _receive_bytes
data = self._socket.recv(size)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jreed/src/bind10/src/bin/stats/b10-stats-httpd", line 828,
in <module>
stats_httpd = StatsHttpd()
File "/home/jreed/src/bind10/src/bin/stats/b10-stats-httpd", line 187,
in __init__
self.open_mccs()
File "/home/jreed/src/bind10/src/bin/stats/b10-stats-httpd", line 199,
in open_mccs
SPECFILE_LOCATION, self.config_handler, self.command_handler)
File "/home/jreed/src/bind10/src/lib/python/isc/config/ccsession.py",
line 188, in __init__
self._session = Session(socket_file)
File "/home/jreed/src/bind10/src/lib/python/isc/cc/session.py", line 57,
in __init__
env, msg = self.recvmsg(False)
File "/home/jreed/src/bind10/src/lib/python/isc/cc/session.py", line
121, in recvmsg
data = self._receive_full_buffer(nonblock)
File "/home/jreed/src/bind10/src/lib/python/isc/cc/session.py", line
218, in _receive_full_buffer
raise SessionTimeout("recv() on cc session timed out")
isc.cc.session.SessionTimeout: recv() on cc session timed out
Exception AttributeError: "'ModuleCCSession' object has no attribute
'_session'" in <bound method ModuleCCSession.__del__ of
<isc.config.ccsession.ModuleCCSession object at 0x20258f150>> ignored
2012-03-22 19:11:34.664 INFO [b10-boss.boss] BIND10_PROCESS_ENDED process
5312 of b10-stats-httpd ended with status 256
2012-03-22 19:11:34.664 ERROR [b10-boss.boss] BIND10_COMPONENT_FAILED
component b10-stats-httpd (pid 5312) failed: process exited normally with
exit status 256
2012-03-22 19:11:34.691 ERROR [b10-auth.cc] CC_TIMEOUT timeout reading
data from command channel
2012-03-22 19:11:34.692 DEBUG [b10-auth.cc] CC_DISCONNECT disconnecting
from message queue daemon
2012-03-22 19:11:34.692 FATAL [b10-auth.auth] AUTH_SERVER_FAILED server
failed: Timeout while reading data from cc session
2012-03-22 19:11:34.693 DEBUG [b10-auth.datasrc] DATASRC_CACHE_DESTROY
destroying the hotspot cache
2012-03-22 19:11:34.696 INFO [b10-boss.boss] BIND10_PROCESS_ENDED process
25879 of b10-auth ended with status 256
2012-03-22 19:11:34.696 ERROR [b10-boss.boss] BIND10_COMPONENT_FAILED
component b10-auth (pid 25879) failed: process exited normally with exit
status 256
2012-03-22 19:11:34.696 FATAL [b10-boss.boss] BIND10_COMPONENT_UNSATISFIED
component b10-auth is required to run and failed
2012-03-22 19:11:34.697 INFO [b10-boss.boss] BIND10_SHUTDOWN stopping the
server
}}}
Earlier with same code I was able to run it (not usable though) and
received:
{{{
2012-03-22 16:55:27.550 ERROR [b10-zonemgr.zonemgr]
ZONEMGR_CCSESSION_ERROR command channel session error: No answer from
ConfigManager when asking about Remote module Logging
}}}
and other failures and tracebacks, but bind10 kept running. I was able to
run it earlier and even connect bindctl to cmdctl. bindctl crashed when
used after that though; whenever sending a command (like help or Stats
show):
{{{
File "/home/jreed/src/bind10/src/lib/python/isc/config/ccsession.py",
line 508, in request_current_config
raise ModuleCCSessionError("Bad config version")
isc.config.ccsession.ModuleCCSessionError: Bad config version
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/1829>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list