From c5c0adcc60674b6ce01b749bea70f35c312fd439 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Tue, 20 Mar 2018 12:40:58 -0400 Subject: [PATCH] Only import libvirt secret when nova is enabled This fixes a small logical error, we only want to set a libvirt secret if nova is enabled, not both cinder and nova. This prevents a deployment with cinder but not nova from being successful. Change-Id: Ief83fe661cf1b2099af8131a7a206ffca3458dc7 --- devstack/plugin.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 838e306..5af96d8 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -53,8 +53,7 @@ elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then echo_summary "Configuring Cinder for Ceph" configure_ceph_cinder fi - if is_ceph_enabled_for_service cinder || \ - is_ceph_enabled_for_service nova; then + if is_ceph_enabled_for_service nova; then # NOTE (leseb): the part below is a requirement # to attach Ceph block devices echo_summary "Configuring libvirt secret"