Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I guess you are running ./stack.sh as root/superuser Can you try the following?

adduser stack
sudo visudo

Find the part of the file that is labeled "User privilege specification" and change it to the following

# User privilege specification
root    ALL=(ALL:ALL) ALL
stack   ALL=(ALL:ALL) ALL

Close the file, exit and log in as "stack". Download devstack and create /opt/stack

cd /home/stack
git clone https://github.com/openstack-dev/devstack -b stable/liberty
sudo mkdir /opt/stack

Create your local.conf file under /home/stack/devstack and give the following permissions.

sudo chown -R stack:stack /home/stack/devstack
sudo chown -R stack:stack /opt/stack
sudo chmod 770 /home/stack/devstack
sudo chmod 770 /opt/stack

then run ./stack.sh