Failed to edit any policy in OML9.21

  • KM02402047
  • 10-Jun-2016
  • 10-Jun-2016

This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.

Summary

New installed OML9.21, after uploading policies to the server, cannot edit any policy in AdminUI.

Error

In /opt/OV/OMU/adminUI/logs/ovo.log, found following error:

ERROR - 2016-05-26 15:58:29,956 | OVPolicy.add(59) | Database: ORA-02448: constraint does not exist

An error occured while uploading policy 24559afe-fb1e-71e5-03e4-0a0375380000_header.xml to database.

Cause

This error indicated that some constraints in database is missing.

Fix

run following command to add constraints (foreign keys) to the HPOM database:

#opcdbinst -ac -v

Then, upload the policies again.