summaryrefslogtreecommitdiff
path: root/devstack/plugin.sh
diff options
context:
space:
mode:
authorVasyl Saienko <vsaienko@mirantis.com>2016-05-19 16:14:14 +0300
committerJohn L. Villalovos <john.l.villalovos@intel.com>2016-05-23 13:18:07 -0700
commit7b2beb604ee87851073cad704a4e3c00c7058864 (patch)
treea8e215ea5b1cd7c0983284246a04ddba217f0f6f /devstack/plugin.sh
parent8cb87b0c99029716ca3d40bfce7d686905e79632 (diff)
downloadironic-7b2beb604ee87851073cad704a4e3c00c7058864.tar.gz
Move all cleanups to cleanup_ironic
stop_ironic is called during upgrade process and it should not clean any Ironic files, as they will be used after upgrade. This patch moves cleaning ironic http configuration and qemu hooks to cleanup_ironic function. Co-Authored-By: Vladyslav Drok <vdrok@mirantis.com> Change-Id: I45f2d23eb1e182a87fb41a79a3a7b7527948bf35
Diffstat (limited to 'devstack/plugin.sh')
-rw-r--r--devstack/plugin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 5c6c9cb5a..f10358ba5 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -16,7 +16,7 @@ if is_service_enabled ir-api ir-cond; then
echo_summary "Installing Ironic"
install_ironic
install_ironicclient
- cleanup_ironic
+ cleanup_ironic_config_files
elif [[ "$2" == "post-config" ]]; then
# stack/post-config - Called after the layer 1 and 2 services have been