vrouter segfaults when floating IPs is allocated to service instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Sachin Bansal | ||
OpenContrail |
Fix Committed
|
High
|
Sachin Bansal |
Bug Description
This issue affects 1.2 as well as current trunk:
Create an in-network service instance, and associate it with a policy attached to 2 networks.
Attach a floating IP to an interface of the service instance
As soon as trafic coming from the instance hits the vrouter, it will soft-reset.
Here is the backtrace:
#0 DBEntryBase:
#1 0x0000000000a0c792 in RouteToOutInfo (rt=0x0, pkt=pkt@
#2 0x0000000000a0ef8e in PktFlowInfo:
#3 0x0000000000a0f5ae in PktFlowInfo:
#4 0x0000000000a0f717 in PktFlowInfo:
#5 0x0000000000a0bf12 in FlowHandler::Run (this=0x7fffe01
#6 0x00000000009f2fa6 in Proto::ProcessProto (this=<optimized out>, msg_info=...) at controller/
#7 0x00000000009f39bc in operator() (a1=..., p=<optimized out>, this=<optimized out>) at /usr/include/
#8 operator()<bool, boost::
#9 operator(
#10 boost::
a0=...) at /usr/include/
#11 0x00000000009f4e0f in operator() (a0=..., this=0x7fffee4f
#12 QueueTaskRunner
#13 0x0000000000e6a3e0 in TaskImpl::execute (this=0x7fffeea
#14 0x00007ffff647bb3a in ?? () from /usr/lib/
#15 0x00007ffff6477816 in ?? () from /usr/lib/
#16 0x00007ffff6476f4b in ?? () from /usr/lib/
#17 0x00007ffff64730ff in ?? () from /usr/lib/
#18 0x00007ffff64732f9 in ?? () from /usr/lib/
#19 0x00007ffff6697182 in start_thread (arg=0x7fffee4f
#20 0x00007ffff596ffbd in clone () at ../sysdeps/
Changed in juniperopenstack: | |
assignee: | nobody → Hari Prasad Killi (haripk) |
Changed in juniperopenstack: | |
importance: | Undecided → High |
Changed in opencontrail: | |
importance: | Undecided → High |
assignee: | nobody → Hari Prasad Killi (haripk) |
Changed in juniperopenstack: | |
assignee: | Hari Prasad Killi (haripk) → Naveen N (naveenn) |
Changed in opencontrail: | |
assignee: | Hari Prasad Killi (haripk) → Naveen N (naveenn) |
One option can be to also add a rule indicating floating ip to any to do routing in native vrf.
Sachin
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
Hi Sachin,
In case of in-network service interface, interface has VRF assign acl entries present in it.
Rules are as below
1> Self-IP to any —Do route lookup in native VRF
2> Rest all — Do route lookup in internal VRF.
If this interface also has floating IP, then in agent we were applying this ACL after floating-ip
translation and eventually doing route lookup in internal VRF where destination route would
not be present.
Can this ACL be more precise specifying source VN and destination VN??
Or Should agent not apply interface ACL entries while doing floating IP translation??
Regards
Naveen N