[ERROR] /opt/stack/devstack/functions:583 Invalid path permissions

asked 2019-11-21 00:14:37 -0500

stack2019 gravatar image

OpenStack Deployment using Devstack on CentOS 7 showing the Following error while executing stack.sh

++functions:check_path_perm_sanity:568 readlink -f /opt/stack +functions:check_path_perm_sanity:568 real_path=/opt/stack +functions:check_path_perm_sanity:569 local rebuilt_path= ++functions:check_path_perm_sanity:561 echo /opt/stack ++functions:check_path_perm_sanity:561 tr / ' ' +functions:check_path_perm_sanity:570 for i in '$(echo ${real_path} | tr "/" " ")' +functions:check_path_perm_sanity:571 rebuilt_path=/opt ++functions:check_path_perm_sanity:573 stat -c %a /opt +functions:check_path_perm_sanity:573 [[ 755 = 700 ]] +functions:check_path_perm_sanity:570 for i in '$(echo ${real_path} | tr "/" " ")' +functions:check_path_perm_sanity:571 rebuilt_path=/opt/stack ++functions:check_path_perm_sanity:573 stat -c %a /opt/stack +functions:check_path_perm_sanity:573 [[ 700 = 700 ]] +functions:check_path_perm_sanity:574 echo '* DEST path element' DEST path element +functions:check_path_perm_sanity:575 echo ' /opt/stack' /opt/stack +functions:check_path_perm_sanity:576 echo ' appears to have 0700 permissions.' appears to have 0700 permissions. +functions:check_path_perm_sanity:577 echo ' This is very likely to cause fatal issues for DevStack daemons.' This is very likely to cause fatal issues for DevStack daemons. +functions:check_path_perm_sanity:579 [[ -n '' ]] +functions:check_path_perm_sanity:582 echo ' Set SKIP_PATH_SANITY to skip this check' * Set SKIP_PATH_SANITY to skip this check +functions:check_path_perm_sanity:583 die 583 'Invalid path permissions' +functions-common:die:195 local exitcode=0 [Call Trace] ./stack.sh:525:check_path_perm_sanity /opt/stack/devstack/functions:583:die [ERROR] /opt/stack/devstack/functions:583 Invalid path permissions

edit retag flag offensive close merge delete

Comments

I suppose you could set SKIP_PATH_SANITY=1 in local.conf, but perhaps setting 777 permissions on /opt/stack and trying again is the better solution.

Bernd Bausch gravatar imageBernd Bausch ( 2019-11-21 08:20:22 -0500 )edit