Build R3.0.2 Build 46
contrail database node manager service is exiting due to the following issue.
= 8 num_core_per_socket = 4 num_thread_per_core = 2 >> >>
06/01/2016 09:41:39 PM [contrail-database-nodemgr]: Discarding event[EvSandeshUVESend] in state[Idle]
06/01/2016 09:41:39 PM [contrail-database-nodemgr]: Processing event[EvSandeshUVESend] in state[Idle]
06/01/2016 09:41:39 PM [contrail-database-nodemgr]: SANDESH: [DROP: WrongClientSMState] NodeStatusUVE: data = << name = b4s342 process_status = [ << module_id = contrail-database-nodemgr instance_id = 0 state = Functional description = >>, ] build_info = {"build-info" : [{"build-version" : "3.0.2.0", "build-time" : "2016-06-01 23:34:31.817829", "build-user" : "contrail-builder", "build-hostname" : "contrail-ec-build20.juniper.net", "build-id" : "3.0.2.0-46", "build-number" : "46"}]} >>
06/01/2016 09:41:39 PM [contrail-database-nodemgr]: Discarding event[EvSandeshUVESend] in state[Idle]
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Starting Introspect on HTTP Port 8103
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Cannot write http_port 8103 to /tmp/contrail-database-nodemgr.9270.http_port
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Received discovery update [{u'partcount': u'{ "1":[0,1], "2":[1,2], "3":[3,4], "4":[7,4], "5":[11,4]}', u'@publisher-id': u'b4s342', u'pid': u'21351', u'ip-address': u'10.84.24.32', u'redis-gen': u'1', u'port': u'8086'}, {u'partcount': u'{ "1":[0,1], "2":[1,2], "3":[3,4], "4":[7,4], "5":[11,4]}', u'@publisher-id': u'b4s343', u'pid': u'28180', u'ip-address': u'10.84.24.33', u'redis-gen': u'1', u'port': u'8086'}] for collector service
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Processing event[EvCollectorChange] in state[Idle]
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Session Event: TCP Connected
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Sandesh Client: Event[EvCollectorChange] => State[Idle] -> State[Connect]
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Processing event[EvTcpConnected] in state[Connect]
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Sandesh Client: Event[EvTcpConnected] => State[Connect] -> State[ClientInit]
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Processing event[EvSandeshUVESend] in state[ClientInit]
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Processing event[EvSandeshCtrlMessageRecv] in state[ClientInit]
06/01/2016 09:41:40 PM [contrail-database-nodemgr]: Sandesh Client: Event[EvSandeshCtrlMessageRecv] => State[ClientInit] -> State[Established]
wokeup and found a line
Exception AssertionError: AssertionError() in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
Exception AssertionError: AssertionError() in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
Exception AssertionError: AssertionError() in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
Exception AssertionError: AssertionError() in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/nodemgr/database_nodemgr/database_event_manager.py", line 341, in runforever
self.database_periodic()
File "/usr/lib/python2.7/dist-packages/nodemgr/database_nodemgr/database_event_manager.py", line 246, in database_periodic
self.send_database_status()
File "/usr/lib/python2.7/dist-packages/nodemgr/database_nodemgr/database_event_manager.py", line 265, in send_database_status
self.get_pending_compaction_count(op)
AttributeError: 'NoneType' object has no attribute 'pending_compaction_tasks'
<Greenlet at 0x7fa3c5859d70: <bound method DatabaseEventManager.runforever of <nodemgr.database_nodemgr.database_event_manager.DatabaseEventManager object at 0x7fa3c637cf10>>> failed with AttributeError
Review in progress for https:/ /review. opencontrail. org/20894
Submitter: Arvind (<email address hidden>)