VMware proxy upgrade fails from the Phoenix console
Updated over a week ago

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

  1. 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
  2. Follow the steps to rebuild the RPM

    mv /var/lib/rpm/__db* /tmp
        yum clean all
        yum update
        Should complete successfully
  3. Run rpm -qa | grep -i druva and it should list installed package

  4. Upgrade the proxy from the Phoenix console

Did this answer your question?