Use the following guidelines and suggested steps to help resolve UCP Advisor upgrade issues for the ucpadmin user.
- Condition:
- Upgrading UCP Advisor from 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:
- Using SSH, log on to the Master Node VM as a root user.
- Navigate to the /installer/scripts directory.
- Change the permissions for the set_permissions_preupgrade_centos.sh script. Enter:
# chmod +x set_permissions_preupgrade_centos.sh
- Run the set_permissions_preupgrade_centos.sh script. Enter:
# ./set_permissions_preupgrade_centos.sh --worker=<Worker Node1 IP address> --worker=<Worker Node2 IP address>