From eb8cebf35ebdc2543e832330a15eb6997fb4881c Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Fri, 3 Feb 2017 17:49:29 -0600 Subject: [PATCH] Enable zun-etcd only if db type is etcd Change-Id: Iccdae37a9c60aba92b4deb5c8c35d5ff898fb032 --- devstack/settings | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devstack/settings b/devstack/settings index 751ff5180..d1231be24 100644 --- a/devstack/settings +++ b/devstack/settings @@ -18,4 +18,6 @@ # Enable Zun services enable_service zun-api enable_service zun-compute -enable_service zun-etcd +if [[ ${ZUN_DB_TYPE} == "etcd" ]]; then + enable_service zun-etcd +fi