Use the following guidelines and suggested steps to help resolve UCP Advisor upgrade issues for the ucpadmin user.
- Condition:
- Upgrading UCP Advisor to the current version fails for ucpadmin user.
- What it Means:
- When a ucpadmin user attempts to upgrade UCP Advisor to the current version, it fails with one of the following message:
Unable to execute command [sudo crictl rmi --all]
orDoesn't have necessary user permissions.
- 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.sh script. Enter:
# chmod +x set_permissions_preupgrade.sh
- Run the set_permissions_preupgrade.sh script. Enter:
# ./set_permissions_preupgrade.sh --worker=<Worker Node1 IP address> --worker=<Worker Node2 IP address>