When upgrading Aria Operations via Aria Suite Lifecycle, similar errors and details shown below are presented in LCM:
Error Code: LCMVROPSYSTEM25029
VMware Aria Operations upgrade failure:
Error Code: LCMVROPSYSTEM25029 VMware Aria Operations patch install failed [{"rel":"pak_cluster_status","href":"https://vrops_IP_or_FQDN/casa/upgrade/cluster/pak/vRealizeOperationsManagerEnterprise-818324663027/status"}, {"rel":"pak_current_activity","href":"https://vrops_IP_or_FQDN/casa/upgrade/cluster/pak/reserved/current_activity"}]
The vrops-status command indicates that the vpostgres service is not running, with the following message:
pg_ctl: invalid date in PID file "/storage/db/vcops/vpostgres/data/postmaster.pid"
Aria Operations 8.x
Aria Lifecycle Manager 8.x
This issue typically occurs due to invalid data in the PID file located at: /storage/db/vcops/vpostgres/data/postmaster.pid
A valid postmaster.pid file will have contents similar to the following format:
To resolve this issue, please follow the steps below:
Take Snapshots
Take snapshots of all Aria Operations nodes before making any changes.
Validate the postmaster.pid File
On the node where the vpostgres service is not running, check the file:
Stop Aria Operations Services
Run the following command to stop all services:
Backup the Existing postmaster.pid File
Navigate to the directory and create a backup:
Remove the Stale postmaster.pid File
Delete the PID file using:
Start Aria Operations Services
Restart all services by running:
Verify vPostgres Status
Use vrops-status or check the UI to confirm the vpostgres service is now running.
LCM Upgrade Completion
After verifying that all services are healthy, you can proceed with the upgrade via Lifecycle Manager (LCM). It should now complete without any issues.