stack.sh script failed with Permission error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi,
I followed http://
I am using : Ubuntu 12.04 LTS
Ran following commands as user "saju"
git clone https:/
cd devstack
echo ADMIN_PASSWORD=
echo MYSQL_PASSWORD=
echo RABBIT_
echo SERVICE_
echo SERVICE_
Then i ran following script as user "saju" and it asked for password of saju and I gave it, and failed with Permission error .
./stack.sh
==== Error =====
+ iniuncomment /etc/glance/
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ sed -i -e '/^\[DEFAULT\
+ iniset /etc/glance/
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local value=password
+ grep -q '^\[DEFAULT\]' /etc/glance/
+ ini_has_option /etc/glance/
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local line
++ sed -ne '/^\[DEFAULT\
+ line='admin_
+ '[' -n 'admin_password = password' ']'
+ sed -i -e '/^\[DEFAULT\
+ cp -p /opt/stack/
cp: cannot create regular file `/etc/glance/
++ failed
++ local r=1
+++ jobs -p
++ kill
++ set +o xtrace
Changed in devstack: | |
status: | New → Invalid |
Changed in devstack: | |
status: | Invalid → Incomplete |
ensure the user has sudo privilege or run stack.sh with root and the script will create a stack account.