vouter-agent crash at PhysicalDevice::Copy in tor-scale setup
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
High
|
Praveen | |||
Trunk |
Fix Committed
|
High
|
Praveen |
Bug Description
R2.20 Build 30 (with latest vrouter-agent and tor-agent) Ubuntu 14.04 Juno multi-node setup
Was seen on one of the tsn nodes.
Core will be in http://
Using host libthread_db library "/lib/x86_
Core was generated by `/usr/bin/
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fcccbdb3863 in std::string::size() const () from /usr/lib/
(gdb) bt
#0 0x00007fcccbdb3863 in std::string::size() const () from /usr/lib/
#1 0x000000000136913d in std::operator=
#2 0x00000000013691b6 in std::operator!
#3 0x000000000145aad3 in PhysicalDevice:
#4 0x000000000145aeac in PhysicalDeviceT
#5 0x00000000013d68de in AgentOperDBTabl
#6 0x0000000001b5db4d in DBTable::Input (this=0x7fccac0
#7 0x00000000014c401a in AgentDBTable::Input (this=0x7fccac0
#8 0x0000000001b63656 in DBTablePartitio
#9 0x0000000001b5a250 in DBPartition:
#10 0x0000000001cb2d72 in TaskImpl::execute (this=0x7fccc4b
#11 0x00007fcccc01eb3a in ?? () from /usr/lib/
#12 0x00007fcccc01a816 in ?? () from /usr/lib/
#13 0x00007fcccc019f4b in ?? () from /usr/lib/
#14 0x00007fcccc0160ff in ?? () from /usr/lib/
#15 0x00007fcccc0162f9 in ?? () from /usr/lib/
#16 0x00007fcccc23a182 in start_thread (arg=0x7fccbdbf
#17 0x00007fcccb51347d in clone () at ../sysdeps/
(gdb)
env.roledefs = {
'all': [host2, host3, host4, host5, host6, host7, host8, host9],
'cfgm': [host2, host3, host4],
'openstack': [host2, host3, host4],
'webui': [host3],
'control': [host2, host3, host4],
'compute': [host5, host6, host7, host8, host9],
'collector': [host2, host3, host4],
'database': [host2, host3, host4],
'toragent': [host5, host6, host7, host9 ],
'tsn': [host5, host6, host7,host9 ],
'build': [host_build],
}
env.hostnames = {
'all': ['nodei34', 'nodei35', 'nodei36', 'nodei37', 'nodei38', 'nodei28', 'nodei27', 'nodei30']
}
Multicast module enqueues ADD_CHANGE when physical-device is deleted. PhysicalDeviceT able::Add( ) routine is not handling data of type PhysicalDeviceT snManagedData resulting in crash.
Fix: Multicast module must enqueue RESYNC instead of ADD_CHANGE