Search code examples
linuxubuntuhadoopopenstack

Error installing devstack


I am trying to install DevStack following the tutorial from here

It says I have to run ./stack.sh as non-root user and I did. But I am getting this error.

++ [[ -n False ]]
++ [[ False != \F\a\l\s\e ]]
++ date +%s
/home/mani/devstack/tools/install_prereqs.sh: line 80: /home/mani/devstack/.prereqs: Permission denied
+++ err_trap
+++ local r=1
+++ set +o xtrace
stack.sh failed

Solution

  • After running ./create-stack-user.sh, try this

    chown -R stack:stack /opt/devstack(the path of the cloned devstack) 
    su stack 
    ./stack.sh .
    

    I've stuck with the same problem and this worked..!!