To resolve this issue, run a re-index on the alarms table in the postgres database.
- Log into the vRealize Operations Manager Primary node as root vi SSH or Console.
- Run the following command to reindex the alarm table:
su - postgres -c "/opt/vmware/vpostgres/current/bin/psql -d vcopsdb -c 'reindex table alarm'"
Note: The prompt will display REINDEX once the reindex is completed.
- Run \q to exit the database.
- Repeat steps 1-3 on all other vRealize Operations Manager Analytic nodes in the cluster.
With the re-index successful, take new snapshots of the vRealize Operations Manager nodes and attempt the upgrade process again. It should now complete successfully.