The alarm policies created in OC are not getting deployed. Also alarm policies are not getting deleted and they remained greyed out in the UI.
When checking the database, the policies remain in PENDING_NEW, PENDING_DELETE states.
This issue seems to have started after an OC Upgrade (Eg. 20.4CU6 to CU9)
UIM 20.4.x, 23.4
In some scenario it was observed that if the OC Wasp and the Primary Wasp have issues communicating the policy processing might not work.
Adding the following key in the OC Wasp may resolve the issue.
1. Open wasp raw configure
2. go to Webapps > policy_management > custom > uncrypted > New Key >
Enter key name: policy_processing
Enter key value: true
3. Click ok and the wasp will restart.
After this, the policy processing should resume.
The key "“policy_processing = true" is documented and it is needed in case of running OC in HA mode and should be added on the primary OC in order to have only one alarm processing at the time.
Manage Alarms with Centralized Alarm Policies (broadcom.com)