After the refactor done on Olt app (5.x), we noticed that Sadis service is always being queried during flows removal.
If the operator changes some of the Sadis configuration related to an already provisioned subscriber, the flow may not be removed during ONU reboot, delete or “volt-remove-subcriber-access” execution.
That happens because Sadis fields are used to create the flow removal request, so if you change a field that composes the flow entry (e.g: c-tag, s-tag, q-tag, priorities, etc.), Olt app will try to uninstall a nonexistent flow based on that modification and will spare the real one which was created based on the older Sadis entry.
Suppose you have a subscriber with a Sadis service configured with ponCTag=900.
After running the command “volt-add-subscriber-access”, flows with that information will be installed:
If you change that Sadis service to have ponCTag=800 and then run the command “volt-remove-subscriber-access“, the Olt app will end up using the new value as reference while creating the flow delete request.
As a result, flows using the ponCTag=900 are going to be spared.
We are used to change subscriber configuration on the fly, and I’d say it’s expected that the operator perform such kind of changes.
There are workarounds to clean those stuck resources:
- Changing the Sadis file to be exactly the same as during installation;
- Reboot Olt;
- Delete Olt then create it again.
|Jenkins failure related to VOL-4746