Steps to reproduce:
Update from [~trtc008056]
Reasons makes Intent stuck in WITHDRAWING state:
1. The patch for CORD-1180 caused next objective queued in the objective system if there is no next group for that next objective.
2. Default single table pipeline removes next group from flow objective store when removing forwarding objective.
3. The flow objective Intent installer will remove forwarding objective first, then remove next objective.
4. The flow objective Intent install will wait until all objective context completed, however, according to reason 1, 2 and 3, the next objective will be queued forever since there will be no next group in the store.
So the Intent state will stuck in WITHDRAWING until the Intent manager retry.
To fix this issue, we need to modify default single table pipeline, make it not remove next group when removing forwarding objective.
|13972,2||[ONOS-6462] Intent stuck in WITHDRAWING state with FlowObjective intent compiler||master||onos||Status: MERGED||+2||+1|
|14007,1||[ONOS-6462] Intent stuck in WITHDRAWING state with FlowObjective intent compiler||onos-1.10||onos||Status: MERGED||+2||+1|