[OPNFLWPLUG-528] [GROUP RECONCILIATION]Groups pointing to ports donot reconcile if ports come up late Created: 06/Aug/15 Updated: 27/Sep/21 Resolved: 28/Apr/16 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Shuva Jyoti Kar | Assignee: | Shuva Jyoti Kar |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
| External issue ID: | 4099 |
| Description |
|
Description: In most case we havea broadcast flow whose actions were set to broadcast group ID. (as different actions) The group configuration is given below: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <bucket-id>1</bucket-id> Now if when my switch connects with just 1 port, the group mod fails as OFPBAC_BAD_OUT_PORT, but a little later all my ports come up, but the group doesnot reconcile ever. Hence this can lead to traffic loss in heavy traffic scenario. Hence marking it as critical |
| Comments |
| Comment by Shuva Jyoti Kar [ 06/Aug/15 ] |
|
Attachment Group-outPort-issue.pcap has been added with description: Capture showing the group mod fails |
| Comment by Michal Rehak [ 07/Aug/15 ] |
|
Hi Hari, |
| Comment by Hariharan Sethuraman [ 07/Aug/15 ] |
|
(In reply to michal rehak from comment #1) Hi Michal, CCd Shuva Jyoti Kar Ask seems to be in a pre-provisioning scenario where the group config is applied and port is brought up later. Shuva - please confirm if my assumption is correct. If we need at the least, the configuration in the config-data-store should be enhanced for pre-provisioning scenarios and notified once the configuration is ready to be applied. Thanks, |
| Comment by Muthukumaran Kothandaraman [ 07/Aug/15 ] |
|
Yes Hari. What you have mentioned is the exact case - pre-provisioning and/or switch reboot. Ports can come up arbitrarily due to admin-action or due to other differences. So, below mentioned groups can fail. |
| Comment by Shuva Jyoti Kar [ 07/Aug/15 ] |
|
Yes Hari absolutely. Switch reboot/ pre-provisioning |
| Comment by Hariharan Sethuraman [ 07/Aug/15 ] |
|
ok, having pre-provisioning aside, shouldnt the application make sure the reboot and ports are up before configuring the groups? Otherwise we need a retrying mechanism for this kind of transaction. Michal, please shed your views. Thanks, |
| Comment by Shuva Jyoti Kar [ 08/Aug/15 ] |
|
The current reconcilitation model is application agnostic -whenever the switch connects it just sends the groups/meters/flows. Either the reconciliation model has to enhanced to make it application-aware or there has to be a retry-mechanism for failed transactions during reconciliation – could be based on certain triggers or even retry the task after a timeout of t interval for n times(max). The latter will however entail increased usage of the control plane b/w. |
| Comment by Michal Rehak [ 10/Aug/15 ] |
|
Hi all, Lets consider timeout and retry based solutions as last emergency and unstable option and focus on defining those preconditions. We have: For 1. we can compute dependency tree and push groups in special order with a few barriers in between. And I believe that 1. and 2. might need to cooperate. And also the final group push plan with event-driven and dependency-driven order can be fully prepared during base reconciliation. We might want to discard those one-shot dataChangeEvent listeners after some timeout but that is just an optimization. Does anyone know about some more preconditions for groups? |
| Comment by Hariharan Sethuraman [ 12/Aug/15 ] |
|
Thanks Michal. Defining pre-conditions and solving will preclude retry/timeout approaches inherently. Preconditions: More I can think off: Moreover, group referring groups are not supported till OVS < 2.5. I see OVS 2.3.2 is the latest official release. Please check: <---- On Tue, Jun 23, 2015 at 03:48:38PM +0530, Kavitha_Ramalingham <at> Dell.com wrote: OpenFlow doesn't require support of group chaining. OVS 2.4 and earlier |
| Comment by Shuva Jyoti Kar [ 12/Aug/15 ] |
|
Hi Hari, Yes flows depending on groups can also be considered as a precondition-- but since the current reconciliation model provisions groups ahead of flows and meters i did not see any issue there. However in case you are looking for a switch that supports group-chaining you can use cpqd for it. |
| Comment by Hariharan Sethuraman [ 12/Aug/15 ] |
|
(In reply to Shuva Jyoti Kar from comment #9) cpqd supports ovs2.5? I see the version is 2.3 in cpqd page. Could you share the cpqd url with ovs 2.5? |
| Comment by Shuva Jyoti Kar [ 13/Aug/15 ] |
|
Hi Hari, I do not understand your question , but cpqd does support group-chaining and group forwarding to ports , hence the suggestion. |
| Comment by Hariharan Sethuraman [ 13/Aug/15 ] |
|
(In reply to Shuva Jyoti Kar from comment #11) Will this help me? |
| Comment by Shuva Jyoti Kar [ 13/Aug/15 ] |
|
For group chaining yes |
| Comment by Hariharan Sethuraman [ 14/Sep/15 ] |
|
Shuva is already working in the reconciliation and working on review comments. Requested him to take this defect and 4069.Setting the owner to default. |
| Comment by Abhijit Kumbhare [ 09/Oct/15 ] |
|
Shuva - any thoughts/updates? |
| Comment by Shuva Jyoti Kar [ 09/Oct/15 ] |
|
Currently working on it |
| Comment by Shuva Jyoti Kar [ 05/Nov/15 ] |
|
Testing the fix , |
| Comment by Shuva Jyoti Kar [ 17/Nov/15 ] |
|
Review link :https://git.opendaylight.org/gerrit/#/c/29267 |
| Comment by Abhijit Kumbhare [ 25/Jan/16 ] |
|
Shuva, Can you fix the path conflicts so that this can be merged? Also can you cherry pick it to stable/beryllium? Anil has already +2'ed the change. Thanks, |
| Comment by Abhijit Kumbhare [ 30/Jan/16 ] |
|
Shuva, Can you please rebase it so that it can be merged? Abhijit |
| Comment by Shuva Jyoti Kar [ 30/Jan/16 ] |
|
Abhijit, Sure will do that at the earliest, some urgent tasks to be brought to closure before i can settle on this. The rebasing is not helping- i will have to re-raise a separate review. thanks |
| Comment by Shuva Jyoti Kar [ 11/Feb/16 ] |