Troubleshooting ucpadmin user permission issues for upgrading UCP Advisor

Unified Compute Platform (UCP) Advisor Software Installation Guide

Version
4.5.x
Audience
anonymous
Part Number
MK-92UCP120-13

Use the following guidelines and suggested steps to help resolve UCP Advisor upgrade issues for the ucpadmin user.

Condition:
Upgrading UCP Advisor from 4.3 > 4.4 > 4.5 on a CentOS operating system might fail for ucpadmin user.
What it Means:
When a ucpadmin user attempts to upgrade UCP Advisoron a CentOS operating system, it fails with the following message:
Unable to execute command [sudo /var/ucpadvisor/installations/tasks.sh load-images] against host [host_IP_address], user [ucpadmin],
because [Command [sudo /var/ucpadvisor/installations/tasks.sh load-images] Failed]
Corrective Action:
  1. Using SSH, log on to the Master Node VM as a root user.
  2. Navigate to the /installer/scripts directory.
  3. Change the permissions for the set_permissions_preupgrade_centos.sh script. Enter:
    # chmod +x set_permissions_preupgrade_centos.sh
  4. Run the set_permissions_preupgrade_centos.sh script. Enter:
    # ./set_permissions_preupgrade_centos.sh --worker=<Worker Node1 IP address> --worker=<Worker Node2 IP address>