Browse code

devstack (stack.sh) fails when extra config files are specified

Latest merge of https://review.openstack.org/#/c/71996/ exposes an issue
in stack.sh which did not surface before.

Please see the details of the issue in the bug description.

Closes bug: 1285884

Change-Id: Ie231c9835497c2a418a61d339dfd5df1aab9e3d7

sukhdev authored on 2014/02/28 07:17:44
Showing 1 changed files
... ...
@@ -586,11 +586,9 @@ function _configure_neutron_common() {
586 586
     # If additional config files exist, copy them over to neutron configuration
587 587
     # directory
588 588
     if [[ $Q_PLUGIN_EXTRA_CONF_PATH != '' ]]; then
589
-        mkdir -p /$Q_PLUGIN_EXTRA_CONF_PATH
590 589
         local f
591 590
         for (( f=0; $f < ${#Q_PLUGIN_EXTRA_CONF_FILES[@]}; f+=1 )); do
592 591
             Q_PLUGIN_EXTRA_CONF_FILES[$f]=$Q_PLUGIN_EXTRA_CONF_PATH/${Q_PLUGIN_EXTRA_CONF_FILES[$f]}
593
-            cp $NEUTRON_DIR/${Q_PLUGIN_EXTRA_CONF_FILES[$f]} /${Q_PLUGIN_EXTRA_CONF_FILES[$f]}
594 592
         done
595 593
     fi
596 594