svc_monitor get InvalidSessionID from ifmap when ifmap restarted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenContrail |
Fix Committed
|
Undecided
|
Sylvain Afchain |
Bug Description
Just after a restart of the ifmap process the svc_monitor gets InvalidSessionID errors from the recreated ifmap connection and flood the ifmap server.
below the traceback
the original traceback:
Traceback (most recent call last):
File "/usr/local/
load_
File "/opt/stack/
main()
File "/opt/stack/
run_
File "/usr/local/
self.
File "/usr/local/
func(*args, **kwargs)
File "/usr/local/
func(*args, **kwargs)
File "/opt/stack/
gevent.
File "/usr/local/
wait(greenlets, timeout=timeout)
File "/usr/local/
return list(iwait(objects, timeout))
File "/usr/local/
item = waiter.get()
File "/usr/local/
return self.hub.switch()
File "/usr/local/
return greenlet.
KeyboardInterrupt
safchain@
File "/opt/stack/
monitor.
File "/opt/stack/
result_list = parse_poll_
File "/usr/local/
raise exceptions.
InvalidSessionID: <errorResult xmlns:ns2="http://
Changed in opencontrail: | |
assignee: | nobody → Sylvain Afchain (sylvain-afchain) |
tags: | added: config |
Changed in opencontrail: | |
status: | New → Fix Committed |
Reviewed: https:/ /review. opencontrail. org/3290 github. org/Juniper/ contrail- controller/ commit/ 3aa871fa29bdc25 1c207235867662b a1d02e966f
Committed: http://
Submitter: Zuul
Branch: master
commit 3aa871fa29bdc25 1c207235867662b a1d02e966f
Author: Sylvain Afchain <email address hidden>
Date: Tue Sep 30 12:30:22 2014 +0200
Fixes InvalidSessionID when restarting ifmap
This patch fixes an issue when the ifmap server
is restarted. In that case the svc_monitor gets
InvalidSessionID error from the newly ifmap connection
and starts to flood the ifmap server.
Closes-bug #1375696
Change-Id: Ibec3f7e1fe253c 3a0e81ed812f028 b302b986f3c