Symptoms:
At the time of failure, the following will be present:
INFO [ajp-nio-127.0.0.1-8011-exec-86] [AP003Akt] support.subprocess.GeneralCommand:255 - Command '/usr/bin/sudo -n /usr/lib/vmware-python-3/bin/python /usr/lib/vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --action query_pak_signature --pak /storage/db/casa/pak/dist_pak_files/cargo/reservedTemp_8158315163481856854.pak --json' threw exception: CommandLine ExitException: key=general.failure; args=1,; cause=
INFO [20752] - vcopsPakSignatureValidation.getExpectedCertificates:335 - Unable to retrieve Software Publishing Certificate with alias vmwarespc from truststore /storage/vcops/user/conf/ssl/tcserver.truststore.
VMware Aria Operations 8.x
VMware vRealize Operations 8.x
To resolve this issue, install the missing vmwarespc certificate in the truststore.
/usr/java/latest/bin/keytool -importcert -trustcacerts -alias vmwarespc -file /usr/lib/vmware-vcopssuite/utilities/conf/vmwarespc.pem -keystore /storage/vcops/user/conf/ssl/tcserver.truststore -storepass "$(sed -n 's/^ssltruststorePassword=//p' /data/vcops/user/conf/ssl/storePass.properties)" -noprompt
If the above doesn't help and you see below entries in the /storage/log/vcops/log/casa/casa.log:
2025-02-05T04:54:32,666+0000 INFO [ajp-nio-127.0.0.x.x8011-exec-19] [oQ0000wa] casa.support.RequestIdIncomingInterceptor:68 - Request GET /casa/upgrade/slice/private/webapp/restarting
from 127.0.0.1: New request id oQ0000wa
2025-02-05T04:54:32,666+0000 INFO [ajp-nio-127.0.0.x.-80xx-exec-19] [oQ0000wa] casa.support.RequestIdIncomingInterceptor:105 - Request GET /casa/upgrade/slice/private/webapp/restarting
: Done
2025-02-05T04:54:32,734+0000 ERROR [ajp-nio-127.0.0.x.x.-8011-exec-16] [oQ0000wL] upgrade.pak.PakService:4913 -
com.vmware.vcops.casa.exception.CasaLocalizableException: CasaLocalizableException: key=pak_manager.pakfile.invalid_signature; args=vRealize_Operations_Manager_With_CP-8.14.x-to-8.18.3
.24521385 (1).pak,The signature manifest file contains an invalid hash: "SHA1(proxy-remote-collector/vRealize-Operations-Cloud-Proxy-8.18.3.24521398.pak)= 3064f39b9071767e105a3250bb0d9
5082926b221"; cause=
at com.vmware.vcops.casa.upgrade.pak.PakService.uploadLocal(PakService.java:489) ~[classes/:?]
at com.vmware.vcops.casa.upgrade.pak.PakService.upload(PakService.java:358) ~[classes/:?]
at com.vmware.vcops.casa.upgrade.pak.PakService.uploadToMaster(PakService.java:4904) ~[classes/:?]
at