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:
parent
a64a3264de
commit
e9530f02d7
|
@ -2,4 +2,4 @@
|
|||
|
||||
set -eu
|
||||
|
||||
os-svc-restart -n tgt
|
||||
os-svc-restart -an tgt
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
tgt:
|
||||
default: tgt
|
||||
redhat: tgtd
|
||||
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
cinder-volume:
|
||||
default: openstack-cinder-volume
|
||||
debian: cinder-volume
|
Loading…
Reference in New Issue