Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / cinder-volume.yaml
index 39914db..cbbf2ea 100644 (file)
@@ -4,6 +4,10 @@ description: >
   OpenStack Cinder Volume service with Pacemaker configured with Puppet
 
 parameters:
+  ServiceData:
+    default: {}
+    description: Dictionary packing service data
+    type: json
   ServiceNetMap:
     default: {}
     description: Mapping of service_name -> network name. Typically set
@@ -32,6 +36,7 @@ resources:
   CinderVolumeBase:
     type: ../cinder-volume.yaml
     properties:
+      ServiceData: {get_param: ServiceData}
       ServiceNetMap: {get_param: ServiceNetMap}
       DefaultPasswords: {get_param: DefaultPasswords}
       EndpointMap: {get_param: EndpointMap}
@@ -61,11 +66,9 @@ outputs:
             resource: openstack-cinder-volume
             state: disable
             wait_for_resource: true
-        - name: Sync cinder DB
-          tags: step5
-          command: cinder-manage db sync
+      post_upgrade_tasks:
         - name: Start cinder_volume service (pacemaker)
-          tags: step5
+          tags: step1
           pacemaker_resource:
             resource: openstack-cinder-volume
             state: enable