Ask Your Question
0

Error while installing openstack on ubuntu 15.10 using devstack

asked 2016-03-19 06:33:22 -0500

Lokesh2016 gravatar image

updated 2016-03-19 08:29:49 -0500

Hi there, I have installed VMware player 12. But while executing this command ./stack.sh to install openstack I am getting an error saying " ./stack.sh: line 623: /home/aryan/devstack/.localrc.password: Permission denied "

Any help ?? Here is the full message

./stack.sh: line 623: /home/aryan/devstack/.localrc.password: Permission denied
++ /home/aryan/devstack/lib/database:initialize_database_backends:L104: get_database_type_mysql
++ /home/aryan/devstack/lib/databases/mysql:get_database_type_mysql:L28: [[ PyMySQL == \P\y\M\y\S\Q\L ]]
++ /home/aryan/devstack/lib/databases/mysql:get_database_type_mysql:L29: echo mysql+pymysql
+ /home/aryan/devstack/lib/database:initialize_database_backends:L104: BASE_SQL_CONN=mysql+pymysql://root:lukehunt@127.0.0.1
+ /home/aryan/devstack/lib/database:initialize_database_backends:L106: return 0
+ ./stack.sh:main:L642: echo 'Using mysql database backend'
Using mysql database backend
+ ./stack.sh:main:L651: RABBIT_USERID=stackrabbit
+ ./stack.sh:main:L652: is_service_enabled rabbit
+ /home/aryan/devstack/functions-common:is_service_enabled:L2025: local xtrace
++ /home/aryan/devstack/functions-common:is_service_enabled:L2026: set +o
++ /home/aryan/devstack/functions-common:is_service_enabled:L2026: grep xtrace
+ /home/aryan/devstack/functions-common:is_service_enabled:L2026: xtrace='set -o xtrace'
+ /home/aryan/devstack/functions-common:is_service_enabled:L2027: set +o xtrace
+ /home/aryan/devstack/functions-common:is_service_enabled:L2055: return 0
+ ./stack.sh:main:L653: RABBIT_HOST=192.168.0.144
+ ./stack.sh:main:L654: read_password RABBIT_PASSWORD 'ENTER A PASSWORD TO USE FOR RABBIT.'
+ ./stack.sh:read_password:L581: local xtrace
++ ./stack.sh:read_password:L582: set +o
++ ./stack.sh:read_password:L582: grep xtrace
+ ./stack.sh:read_password:L582: xtrace='set -o xtrace'
+ ./stack.sh:read_password:L583: set +o xtrace
touch: cannot touch '/home/aryan/devstack/.localrc.password': Permission denied
Error on exit
./stack.sh: line 488: generate-subunit: command not found

Thank you in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-19 06:53:51 -0500

Mohit gravatar image

Please try create-stack-user.sh on devstack/tools folder

edit flag offensive delete link more

Comments

I tried after that to install i execute the same command ./stack.sh and the problem still there. I don't understand how came there is a permission denied error message even though if i try to execute as a root user.

Lokesh2016 gravatar imageLokesh2016 ( 2016-03-19 08:10:04 -0500 )edit

and i also tried as a non-root but still the problem is there.

Lokesh2016 gravatar imageLokesh2016 ( 2016-03-19 08:42:18 -0500 )edit

@Mohit I think i found the problem while installing using this command ./stack.sh, it ask for password with this message "This value will be written to /home/aryan/devstack/.localrc.password file" but in the mentioned directory no file exist with .localrc.password name. Any solution??

Lokesh2016 gravatar imageLokesh2016 ( 2016-03-19 08:52:01 -0500 )edit

chown -R <username> devstack ex: chown -R stack devstack chmod 770 devstack cd devstack ./clean.sh ./stack.sh

Mohit gravatar imageMohit ( 2016-03-19 10:44:06 -0500 )edit

@Mohit I didn't get this command, I tried to execute it but it says " bash: username: No such file or directory " .

Lokesh2016 gravatar imageLokesh2016 ( 2016-03-21 01:17:19 -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-19 06:33:22 -0500

Seen: 497 times

Last updated: Mar 19 '16