Running devstack in Kilo returns error "Permission denied"

Bug #1519807 reported by Jaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Jaya

Bug Description

Version: Kilo
running Devstack: ./stack.sh

Error:
cp: cannot create regular file '/etc/cinder/policy.json ': Permission denied
cp: cannot create regular file '/etc/cinder/api-paste.ini': Permission denied

I've modified the script to avoid the changes and move ahead.

File to change:
devstack/lib/cinder

Change the following line:
cp -p $CINDER_DIR/etc/cinder/policy.json $CINDER_CONF_DIR
cp $CINDER_DIR/etc/cinder/api-paste.ini $CINDER_API_PASTE_INI

to

sudo cp -p $CINDER_DIR/etc/cinder/policy.json $CINDER_CONF_DIR
sudo cp $CINDER_DIR/etc/cinder/api-paste.ini $CINDER_API_PASTE_INI

best regards
viswanath

Revision history for this message
Aniket Anikhindi (aniketanikhindi) wrote :

Verified that this bug indeed exists.

Changed in devstack:
status: New → Confirmed
Jaya (jayachandrakasi)
Changed in devstack:
assignee: nobody → Jaya (jayachandrakasi)
Revision history for this message
Jaya (jayachandrakasi) wrote :

Found few more errors on same kind.

cp: cannot create regular file '/etc/nova/policy.json': Permission denied

2015-11-25 14:24:07.080 | + exit_trap
2015-11-25 14:24:07.080 | + local r=1
2015-11-25 14:24:07.080 | ++ jobs -p
2015-11-25 14:24:07.081 | + jobs=
2015-11-25 14:24:07.081 | + [[ -n '' ]]
2015-11-25 14:24:07.081 | + kill_spinner
2015-11-25 14:24:07.081 | + '[' '!' -z '' ']'
2015-11-25 14:24:07.081 | + [[ 1 -ne 0 ]]
2015-11-25 14:24:07.081 | + echo 'Error on exit'
2015-11-25 14:24:07.081 | Error on exit

Revision history for this message
Bhavna Saini (imbhavnasaini) wrote :

I installed the kilo version of devstack successfully without any exit in one go.

Changed in devstack:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.