Hi Everett, There is no need to clone the repo again. After you create the stack user just do this 1) chown -R stack:stack /opt/devstack 2) su stack 3) ./stack.sh Regards, Sayaji On Tue, Dec 17, 2013 at 3:30 PM, Everett Toews <everett.toews at rackspace.com>wrote: > 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 : openstack at lists.openstack.org > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131217/0c9b4a3c/attachment.html>