IBM Support

PowerVC2.1.1 install preview failing "umask_value.stdout in [\"0022\", \"022\", \"0027\", \"027\"]

Troubleshooting


Problem

Errors:

TASK [pvc_precheck : check umask permissions] ********************************** fatal: X.X.X.XFAILED! => { "assertion": "umask_value.stdout in [\"0022\", \"022\", \"0027\", \"027\"]", "changed": false, "evaluated_to": false, "msg": "umask permissions check failed"

Diagnosing The Problem

Please check if those files exist on your system and what are the permissions on the directory

/opt/ibm/powervc/version.properties

/opt/ibm/powervc/

Example:

drwxr-xr-x. Y root root  powervc

How to confirm If wrong umask preventing access to the file/directory

/etc/bashrc

and see if umask is set to 0022 or other

Example correct configuration:

if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then

umask 002

else

umask 022

fi

SHELL=/bin/bash

Example incorrect configuration:

if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then

umask 002

else

umask 027

fi

SHELL=/bin/bash

Resolving The Problem

Set umask to 0022

Reference https://www.ibm.com/support/pages/node/6560030

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSVSPA","label":"IBM PowerVC for Private Cloud"},"ARM Category":[{"code":"a8m50000000L0jDAAS","label":"PowerVC"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
14 June 2023

UID

ibm17003821