collector crashes because it tries to delete generator that is not in redis
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
Medium
|
Arvind | |||
R3.0.3.x |
Fix Committed
|
Medium
|
Arvind | |||
R3.1 |
Fix Committed
|
Medium
|
Arvind | |||
R3.2 |
Fix Committed
|
Medium
|
Arvind | |||
Trunk |
Fix Committed
|
Medium
|
Arvind |
Bug Description
Received DisconnectSession from a generator, which results in DeleteUVEs call.
But redis is unable to locate the generator in the NGENERATORS and collector
crashed because of that.
The reason for redis not having the generator in its GENERATORS set is
because it adds to the set and then somehow the redis gets flushed.
The following was observed in the redis log:
root@a6s9:
[7662] 02 Mar 11:58:12.264 * GetSeq for a6s1:Database:
[7662] 02 Mar 11:58:12.264 * GetSeq for a6s1:Database:
[7662] 02 Mar 11:58:12.265 * WARNING: Flushing Redis UVE DB
[7662] 02 Mar 11:58:12.265 * WARNING: Flushing Redis UVE DB done
[7662] 02 Mar 11:58:12.273 * DelRequest for a6s1:Database:
Here is the collector BT, It was observed in mainline build 3043.
Using host libthread_db library "/lib/x86_
Core was generated by `/usr/bin/
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f59be6ebc37 in __GI_raise (sig=sig@entry=6)
at ../nptl/
56 ../nptl/
(gdb) bt
#0 0x00007f59be6ebc37 in __GI_raise (sig=sig@entry=6)
at ../nptl/
#1 0x00007f59be6ef028 in __GI_abort () at abort.c:89
#2 0x00007f59be6e4bf6 in __assert_fail_base (
fmt=
assertion=
file=
line=
function=
#3 0x00007f59be6e4ca2 in __GI___assert_fail (assertion=0x7f3eee "0",
file=0x813318 "controller/
function=
#4 0x00000000005ba55d in RedisProcessorE
redis_
module=
delReply=
at controller/
#5 0x0000000000618dfd in OpServerProxy:
module=
at controller/
#6 0x00000000005ad1e1 in SandeshGenerato
this=
---Type <return> to continue, or q <return> to quit---
at controller/
#7 0x000000000059ca7f in Collector:
session=
#8 0x00000000007545dd in SandeshServerCo
0x1437cd0) at tools/sandesh/
#9 0x0000000000751200 in ssm::Establishe
at tools/sandesh/
Changed in juniperopenstack: | |
importance: | Undecided → Medium |
information type: | Proprietary → Public |
Review in progress for https:/ /review. opencontrail. org/29420
Submitter: Arvind (<email address hidden>)