Hi All, I'd like to run DevStack using create-stack-user.sh but am getting an error.
Steps: ssh root@<IPv4 Address> sudo apt-get -y update sudo apt-get -y install git git clone https://github.com/openstack-dev/devstack.git -b stable/havana devstack/ cd devstack/ vim localrc # copy in the contents of https://gist.github.com/everett-toews/8013110 chmod u+x tools/create-stack-user.sh tools/create-stack-user.sh su stack ./stack.sh ... /root/devstack/tools/install_prereqs.sh: line 74: /root/devstack/.prereqs: Permission denied This fails because of a permission issue with the stack user. I realize I could do something like the following after the "su stack" above ... su stack sudo mkdir /home/stack sudo chown stack:stack /home/stack cd /home/stack git clone https://github.com/openstack-dev/devstack.git -b stable/havana devstack/ cd devstack/ vim localrc ./stack.sh but having to clone the repo again feels wrong. How is create-stack-user.sh intended to be used? Is there a way to use the stack user to run stack.sh without permission problems? What is the command flow? Thanks, Everett P.S. Is it a bug that create-stack-user.sh doesn't have the user execute bit set? _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
