control-node assertion in IFMapExporter::StateUpdateOnDequeue on deleting logical interfaces
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.0 |
Fix Committed
|
High
|
Tapan Karwa | |||
R2.1 |
Fix Committed
|
High
|
Tapan Karwa | |||
R2.20 |
Fix Committed
|
High
|
Tapan Karwa | |||
Trunk |
Fix Committed
|
High
|
Tapan Karwa |
Bug Description
The Control-node / Tor-agent crashed and collector got initializing while deleting logical ports.
There are about 4000 Virtual network and 8000 logical ports in a Contrail system.
root@system001:~# contrail-status
== Contrail Control ==
supervisor-control: active
contrail-control initializing
contrail-
contrail-dns active
contrail-named active
== Contrail Analytics ==
supervisor-
contrail-
contrail-
contrail-collector initializing (Discovery:
contrail-
contrail-
contrail-topology active
== Contrail Config ==
supervisor-config: active
contrail-api:0 initializing (Discovery:
contrail-
contrail-
contrail-
contrail-schema active
contrail-
ifmap active
== Contrail Web UI ==
supervisor-webui: active
contrail-webui active
contrail-
== Contrail Database ==
supervisor-
contrail-database active
contrail-
== Contrail Support Services ==
supervisor-
rabbitmq-server active
information type: | Proprietary → Public |
no longer affects: | juniperopenstack/r2.20 |
1. core core.contrail- contro. 20833.system001 .1425942501 has following BT.
#0 0x00007ff6fe578bb9 in raise () from /lib/x86_ 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 :StateUpdateOnD equeue (this=0x29b1fc0, update= update@ entry=0x7ff6dd9 4a8b0, dequeue_set=..., is_delete= <optimized out>) src/ifmap/ ifmap_exporter. cc:548 er::ProcessUpda te (this=this@ entry=0x29b2010 , update= update@ entry=0x7ff6dd9 4a8b0, base_send_set=...) at controller/ src/ifmap/ ifmap_update_ sender. cc:225 er::Send (this=0x29b2010, imarker=<optimized out>) at controller/ src/ifmap/ ifmap_update_ sender. cc:184 er::SendTask: :Run (this=0x7ff69bd f59b0) at controller/ src/ifmap/ ifmap_update_ sender. cc:41 bfb40) at controller/ src/base/ task.cc: 232 libtbb. so.2 libtbb. so.2 libtbb. so.2 libtbb. so.2 libtbb. so.2 64-linux- gnu/libpthread. so.0 64-linux- gnu/libc. so.6
#1 0x00007ff6fe57bfc8 in abort () from /lib/x86_
#2 0x00007ff6fe571a76 in ?? () from /lib/x86_
#3 0x00007ff6fe571b22 in __assert_fail () from /lib/x86_
#4 0x000000000045a966 in IFMapExporter:
at controller/
#5 0x0000000000488fd2 in IFMapUpdateSend
#6 0x0000000000489514 in IFMapUpdateSend
#7 0x0000000000489c1b in IFMapUpdateSend
#8 0x0000000000a5e490 in TaskImpl::execute (this=0x7ff6f7d
#9 0x00007ff6ff350b3a in ?? () from /usr/lib/
#10 0x00007ff6ff34c816 in ?? () from /usr/lib/
#11 0x00007ff6ff34bf4b in ?? () from /usr/lib/
#12 0x00007ff6ff3480ff in ?? () from /usr/lib/
#13 0x00007ff6ff3482f9 in ?? () from /usr/lib/
#14 0x00007ff6ff56c182 in start_thread () from /lib/x86_
#15 0x00007ff6fe63cfbd in clone () from /lib/x86_
(gdb) fr 4 :StateUpdateOnD equeue (this=0x29b1fc0, update= update@ entry=0x7ff6dd9 4a8b0, dequeue_set=..., is_delete= <optimized out>) src/ifmap/ ifmap_exporter. cc:548 src/ifmap/ ifmap_exporter. cc
_vptr. DBEntryBase = 0xae6bd0 <vtable for IFMapNode+16>,
<boost: :intrusive: :detail: :generic_ hook<boost: :intrusive: :get_list_ node_algo< void*>, boost:: intrusive: :member_ tag, (boost: :intrusive: :link_mode_ type)1, 0>> = {
<boost: :intrusive: :detail: :no_default_ definer> = {<No data fields>},
<boost: :intrusive: :list_node< void*>> = {
<std::allocator <std::_ Rb_tree_ node<std: :pair<int const, DBState*> > >> = {
<__gnu_ cxx::new_ allocator< std::_Rb_ tree_node< std::pair< int const, DBState*> > >> = {<No data fields>}, <No data fields>},
members of std::_Rb_tree<int, std::pair<int const, DBState*>, std::_Select1st <std::pair< int const, DBState*> >, std::less<int>, std::allocator< std::pair< int const, DBState*> > >::_Rb_ tree_impl< std::less< int>, false>:
_M_key_ compare = {
<std: :binary_ function< int, int, bool>> = {<No data fields>}, <No dat...
#4 0x000000000045a966 in IFMapExporter:
at controller/
548 in controller/
(gdb) p db_entry
$10 = (IFMapNode *) 0x7ff6ea755ff0
(gdb) set pagination off
(gdb) p *db_entry
$11 = (IFMapNode) {
<DBGraphVertex> = {
<DBEntry> = {
<DBEntryBase> = {
chg_list_ = {
next_ = 0x0,
prev_ = 0x0
}, <No data fields>}, <No data fields>},
tpart_ = 0x29c2ee0,
state_ = {
_M_t = {
_M_impl = {