Ask Your Question
0

Devstack Installation Error: Permission Denied

asked 2016-03-02 12:13:03 -0500

techjhola gravatar image

###################################################################
ENTER A PASSWORD TO USE FOR RABBIT. > ################################################################################
This value will be written to /home/techjhola/devstack/.localrc.password file so you don't have to enter it again. Use only alphanumeric characters. If you leave this blank, a random default value will be used.
Enter a password now:**

./stack.sh: line 623: /home/techjhola/devstack/.localrc.password: Permission denied Error on exit ./stack.sh: line 488: generate-subunit: command not found

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
2

answered 2016-03-03 03:22:23 -0500

updated 2016-03-03 03:32:42 -0500

There are a few thing you should look for

  1. check the owner and permissions of the folder devstack, where you cloned the code, set it by command chown -R stack devstack and then also change permissions by chmod 770 devstack
  2. The ./stack script should be run with user stack and NOT root, add the user to group root by sudo usermod -a -G sudo stack and check user details by id stack

if you dont have a stack user create it by running the script create-stack-user.sh that comes with devstack

Hope that helps !!

edit flag offensive delete link more

Comments

I'm not sure where I'm wrong but, the error is still same. I followed all your steps

techjhola gravatar imagetechjhola ( 2016-03-03 08:55:39 -0500 )edit
0

answered 2016-10-23 01:19:42 -0500

Had the same issue, added manually "stack" user to /etc/sudoers and set its password.

sudo echo "stack    ALL=(ALL) NOPASSWD:ALL"
passwd stack

Now installation went smoothly, not under stack user, OS regular user:

cd devstack; ./stack.sh
edit flag offensive delete link more
0

answered 2016-03-03 01:02:54 -0500

Mohit gravatar image

As stated on reponse to another thread of yours , ensure the login user (which is installing openstack) permission should be sudo less

edit flag offensive delete link more

Comments

yes the permission is sudoless but the error is still the same .../.localrc.password: Permission denied

techjhola gravatar imagetechjhola ( 2016-03-03 08:21:18 -0500 )edit

Hi , I have similar issue. I created a new user according to this http://docs.openstack.org/developer/devstack/guides/single-machine.html (Link1). And I am running ./stack.sh as new user that I have created. But I still get the error - [Logs]. (http://pastebin.com/1FNfUCzB) Any suggestions ?

G-user gravatar imageG-user ( 2016-04-01 05:51:52 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-03-02 12:13:03 -0500

Seen: 3,545 times

Last updated: Oct 23 '16