summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
diff options
context:
space:
mode:
authorVu Tran <vu.tran@windriver.com>2014-02-28 09:11:09 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-03-17 14:23:14 -0400
commitf73baf996205c79fa447c18a781e322e59b50eea (patch)
treef22e906a2fad69b695cf1caa3dd2a26b17143ac8 /meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
parent26be5fa0fc5c735f6208545f1c4c19c3dd475b65 (diff)
downloadmeta-cloud-services-f73baf996205c79fa447c18a781e322e59b50eea.tar.gz
cinder-volume: active lvm vg at startup
It's needed to implicitly activate the lvm logical group at startup. Otherwise, cinder lvm logical volume will not be created. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder/cinder-volume')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder/cinder-volume1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
index ad1d4de..51bbac9 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
+++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-volume
@@ -37,6 +37,7 @@ start()
37 if ! vgs cinder-volumes &> /dev/null ; then 37 if ! vgs cinder-volumes &> /dev/null ; then
38 vgcreate cinder-volumes $DEV 38 vgcreate cinder-volumes $DEV
39 fi 39 fi
40 vgchange -ay cinder-volumes
40 41
41 echo -n "Starting $DESC..." 42 echo -n "Starting $DESC..."
42 43