error: argument -d/--idr: expected one argument [ /home/devstack/devstack/.prereqs: Permission denied ]

asked 2014-07-21 07:50:18 -0600

Robert gravatar image

updated 2014-07-21 07:53:28 -0600

I am trying to install openstack from devstack on virtual machine. I used commands:

git clone
cd devstack && ./

I have entered nedded passwords and get error. After that I have once agin run script and get the same error. I dont know how to fix it.

o upgraded, 0 newly installed, 0 to remove and 59 not upgraded.

++ [[ -n False ]] 
++ [[False != \F\a\l\s\e ]]
++ date +%s
/home/devstack/devstack/tools/ line 80: /home/devstack/devstack/.prereqs: Permission  
+++ err_trap
+++ local r=1
+++ set +o xtrace failed
Error on exit
usage: [-h] [-d DIR] error: argument -d/--dir: expected one argument
edit retag flag offensive close merge delete


I have tried even with the:

sudo ./stack

But you can not as root. It needs to be created stack: /home/devstack/devstack/tools/ But there is no /home/devstack/devstack/tools/

Robert gravatar imageRobert ( 2014-07-21 08:00:37 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-09-11 12:44:13 -0600

Robert gravatar image

The perfect instruction is:

#git clone -b stable/icehouse
edit flag offensive delete link more

answered 2014-07-21 09:54:58 -0600

Adrian gravatar image

The master trunk is in developement, so you should exepect such bugs.

after cd devstack switch branch using

git checkout stable/icehouse

Just remember to stop the current setup using ./

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-07-21 07:50:18 -0600

Seen: 1,195 times

Last updated: Sep 11 '14