Following error is seen from the Director or from the VOS config, when changes are made to the CGNAT config on the fly.


When the CGNAT pool or entities inside the CGNAT pool are changed, the system raises an error.


Versa Director:

ERROR:

* RPC error towards <vos>: invalid_value: inconsistent value: <cgnat-change> Catastrophic network modify is not allowed when its attached to CGNAT pool. Please delete <org/Pool> and then try modifing network


VOS:

admin@versa-flexvnf-cli(config)% commit

Aborted: inconsistent value: <cgnat-change> Catastrophic network modify is not allowed when its attached to CGNAT pool. Please delete <org/pool> and then try modifing network


To overcome the ERROR from the Versa Director, follow either of the alternative:


* Option-1:

- Take the snapshot of the device for backup purpose, follow article

- From the Versa Director under Appliance context, under Configuration-Services-CGNAT, delete the conflicting CGNAT rule and CGNAT pool

- Commit the template to the device with the required changes. This will push the CGNAT rule and pool to the appliance with the required changes.


*Option-2:

- From the Versa Director, commit the template to the appliance by selecting the Reboot option.


Note: The issue is fixed as a part of Bug#39880, and fix available from 21.2.1