Modification of ICMP in/out rule along with bi rule cases traffic to stop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openstack APIC |
Incomplete
|
Undecided
|
puppet-py |
Bug Description
Hitting an issue when trying to update a policy rule set with new ICMP rules. And post this traffic does not go through.
The policy rule set has an ICMP policy rule applied in IN and OUT direction. Now I’m adding another ICMP bi direction rule to the same policy rule set.
Post this I see that the traffic stops. If I remove the bi direction rule or both the in/out direction rule from the policy rule set, traffic goes through again.
When the rule ICMP IN and OUT is set, I see the following policies getting incrememnted on the leaf side.
sg1-leaf-2# sh system internal policy-mgr stats | grep -i 2392065 | grep -i 5476 | grep -i f-5 | grep -v "Ingress: 0"
Rule (4348) DN (sys/actrl/
Rule (4444) DN (sys/actrl/
After adding the BI policy, one of the rules goes missing and I don’t see the traffic hitting the policy.
sg1-leaf-2# sh system internal policy-mgr stats | grep -i 2392065 | grep -i 5476 | grep -i f-5 | grep -v "Ingress: 0"
Rule (4348) DN (sys/actrl/
Looks like the following policy is hit. Confirmed based on the number of packets sent.
sg1-leaf-2# sh system internal policy-mgr stats | grep -i implicit | grep -v "Ingress: 0"
Rule (4098) DN (sys/actrl/
Rule (4099) DN (sys/actrl/
Rule (4110) DN (sys/actrl/
Rule (4121) DN (sys/actrl/
Rule (4132) DN (sys/actrl/
Rule (4143) DN (sys/actrl/
Rule (4144) DN (sys/actrl/
Rule (4155) DN (sys/actrl/
Rule (4166) DN (sys/actrl/
Rule (4177) DN (sys/actrl/
Rule (4202) DN (sys/actrl/
The filter are set correctly in the APIC.
Jishnu's update:
Root-Cause: On update the direction of the policy-rule is getting set to ‘2’(means: only OUT direction) for all rules associated to the contract. That’s what is received by the opflex-agent on the comp-node from the opflex-proxy in the leaf. Hence traffic loss.
Jishnu,
Is this an opflex agent or proxy issue? can you follow up on this?