Symptoms
An attempt to apply a VNX system code upgrade via Unisphere Service Manager (USM) results in a Pre-upgrade Health Check (PUHC) wizard failure and an error is reported with the following message.Error message: Insufficient permission to run CLI command
Cause
Global user (sysadmin) is mapped to a user on the Control Station with a different name, usually sysadmin# (ex. sysadmin1, sysadmin2, etc..)This is common whenever a Unisphere domain re-join occursThe CS user home directory is not present
Example:# ls -la /var/tmp/ | grep -i cutdrwxrwxrwx 5 sysadmin3 nasadmin 4096 Jan 20 16:45 .CUT # cat /etc/passwd | grep -i sysadminsysadmin:x:500:201::/home/sysadmin:/sbin/nologinsysadmin1:x:501:201::/home/sysadmin1:/sbin/nologinsysadmin2:x:502:201::/home/sysadmin2:/sbin/nologinsysadmin3:x:503:201::/home/sysadmin3:/bin/bash # ls -la /home/ | grep -i sysadmindrwx------ 2 574 nasadmin 4096 Dec 13 2013 sysadmindrwx------ 3 sysadmin1 nasadmin 4096 Dec 23 09:56 sysadmin1drwxr-xr-x 2 sysadmin2 nasadmin 4096 Jan 20 09:22 sysadmin2 Notice that sysadmin3 does not have a /home directory
Resolution
In order to address this issue, a sysadmin /home directory should be created manually and the appropriate files should be present within the directory
Login to the Control Station via SSH as rootRun the following commands,
$ mkdir /home/sysadmin$ cp /home/sysadmin/.bash* /home/sysadmin# After the creation of the /home/sysadmin# directory and copying the .bash* files into it, re-log into USM and apply the upgrade procedure