VMware proxy upgrade fails from the Phoenix console
Problem description
The VMware proxy upgrade fails
Cause
Issue with RPM package on the proxy
Traceback
Check the PhoenixUpgrade.log on the proxy in /Var/Log/Phoenix/VMWARE folder. Error message
[2023-04-04 16:29:50,169] [WARNING] upgrader_utils: Unable uninstall pkg. No installed pkg found on machine
Resolution
- Run the below command on the proxy and check for the error message
rpm -qa | grep -i druva
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
Error: rpmdb open failed - Follow the steps to rebuild the RPM
mv /var/lib/rpm/__db* /tmp
yum clean all
yum update
Should complete successfully - Run rpm -qa | grep -i druva and it should list installed package
- Upgrade the proxy from the Phoenix console