Error 500 on policies screen
This issue occurs on both a hybrid and full stack deployment of Netcool® Operations Insight®. The policies screen is showing an error when you run data ingestion and train commands to get data into Cassandra.
Problem
When running data ingestion and training to create policies in the Manage Policies screen, no policies are created in Cassandra. In the UI, the Manage Policies screen gives the error 500 and you are unable to proceed.
Resolution
To solve the issue, perform the following actions:
- Scale down the
policyregistryservice
deployment by running the command:oc scale deployment noi-ibm-hdm-analytics-dev-policyregistryservice -n noi --replicas=0
- Delete the pods from the following list:
by running the command:-ibm-hdm-analytics-dev-archivingservice -ibm-ea-asm-mime-eaasmmime -ibm-ea-mime-classification-eaasmmimecls -ibm-hdm-analytics-dev-trainer
Where <pod_name> needs to be substituted each time with the name of the pods from the list.oc delete pod <pod_name>
- Scale the
policyregistryservice
back to the original number of instances. Run the command:oc scale deployment noi-ibm-hdm-analytics-dev-policyregistryservice -n noi --replicas=2