Remove Cinder policy.json install

Cinder has now implemented "policy in code" and policy.json is
only needed for overriding default policies. The default policy.json
file has been removed in Cinder so we need to stop trying to copy
it during Cinder setup.

Change-Id: I364e401227fe43e2bacf8a799e10286ee445f835
This commit is contained in:
Sean McGinnis 2017-11-30 14:15:04 -06:00
parent d576620e33
commit 1d12784912

View File

@ -206,8 +206,6 @@ function cleanup_cinder {
function configure_cinder { function configure_cinder {
sudo install -d -o $STACK_USER -m 755 $CINDER_CONF_DIR sudo install -d -o $STACK_USER -m 755 $CINDER_CONF_DIR
cp -p $CINDER_DIR/etc/cinder/policy.json $CINDER_CONF_DIR
rm -f $CINDER_CONF rm -f $CINDER_CONF
configure_rootwrap cinder configure_rootwrap cinder