Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
-
Operating System: Linux
Platform: Other
-
4064
Description
The configuration that we are trying out is an All group pointing to multiple Indirect groups.
(3)-->
{1,2}We have tried deleting the "indirect" group type with group id = 2 which is a child of group type "all" with group id = 3.
Group id 3 also has "indirect" group type with group id - 1. The config DataStore shows group-1 and group-3.
The parent All group is should get deleted when the child indirect group is deleted .
This can be a problem during reconciliation. If the switch goes down or crashes and the controller adds a different group with group-id 2, when the switch restarts it will have a wrong set of groups.
Test steps executed :
1- Connect cpqd switch to controller.
2- Push groups using REST ( POSTMAN app ). Group-1=> type group-indirect, Group-2=> type group-indirect,Group-3=> type group-all.
3- Now delete Group 2 .
4. Group gets deleted from switch but not from config datastore.
Now if we
1.Stop the switch
2.Add a new group with same group-id but different action
3.Start the switch
4.The switch has the wrong set of groups as the parent group still points to the (old)two child ones.
Hence its a major problem during group-reconciliation