Troubleshooting ucpadmin user permission issues for upgrading UCP Advisor

Unified Compute Platform (UCP) Advisor Software Installation Guide

Version
4.4.x
File Size
13.18 MB
Audience
anonymous
Part Number
MK-92UCP120-11

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]
or
Doesn't have necessary user permissions.
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.sh script. Enter:
    # chmod +x set_permissions_preupgrade.sh
  4. Run the set_permissions_preupgrade.sh script. Enter:
    # ./set_permissions_preupgrade.sh --worker=<Worker Node1 IP address> --worker=<Worker Node2 IP address>