Adds svc-map to cinder elements

This patch changes the use of map-services to svc-map for the
cinder-tgt and cinder-volume elements.

Change-Id: I58da499d723957534d022112e261e20bff0c9e67
This commit is contained in:
Ryan Brady 2014-10-15 09:15:48 -04:00
parent a64a3264de
commit e9530f02d7
4 changed files with 10 additions and 3 deletions

View File

@ -2,4 +2,4 @@
set -eu
os-svc-restart -n tgt
os-svc-restart -an tgt

View File

@ -0,0 +1,4 @@
tgt:
default: tgt
redhat: tgtd

View File

@ -3,7 +3,7 @@ set -eu
IS_NFS=$(os-apply-config --key cinder.include_nfs_backend --type raw --key-default 'false')
os-svc-enable -n cinder-volume
os-svc-enable -an cinder-volume
if [ "$IS_NFS" != "false" ] ; then
# If *shared* NFS backend is used then running multiple instances
@ -12,5 +12,5 @@ if [ "$IS_NFS" != "false" ] ; then
# As a workaround we run cinder-volume in a/p mode using pacemaker.
pcmk-service-create -n cinder-volume
else
os-svc-restart -n cinder-volume
os-svc-restart -an cinder-volume
fi

View File

@ -0,0 +1,3 @@
cinder-volume:
default: openstack-cinder-volume
debian: cinder-volume