From fdbb4f943f1652f847f75423e3ef913338c4b822 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Sat, 16 Mar 2013 14:07:39 +0800 Subject: [PATCH] Checks RET=NOT_FOUND after pkgos_inifile get when detecting default vg --- debian/cinder-common.config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/cinder-common.config.in b/debian/cinder-common.config.in index 4dc16f22a..7c8c3f967 100644 --- a/debian/cinder-common.config.in +++ b/debian/cinder-common.config.in @@ -30,7 +30,7 @@ pkgos_read_admin_creds ${CINDER_API} filter:authtoken cinder manage_cinder_enable pkgos_inifile get ${CINDER_CONF} DEFAULT volume_group -if [ -n "${RET}" ] ; then +if [ -n "${RET}" ] && [ ! "${RET}" = "NOT_FOUND" ] ; then db_set cinder/volume_group "${RET}" else db_get cinder/volume_group -- 2.45.2