Merge "Force epmd listening to a specific address"
[apex-tripleo-heat-templates.git] / puppet / services / cinder-volume.yaml
index 5299563..8834eaa 100644 (file)
@@ -1,4 +1,4 @@
-heat_template_version: 2016-04-08
+heat_template_version: ocata
 
 description: >
   OpenStack Cinder Volume service configured with Puppet
@@ -115,3 +115,10 @@ outputs:
             tripleo::profile::base::cinder::volume::iscsi::cinder_iscsi_address: {get_param: [ServiceNetMap, CinderIscsiNetwork]}
       step_config: |
         include ::tripleo::profile::base::cinder::volume
+      upgrade_tasks:
+        - name: Stop cinder_volume service
+          tags: step2
+          service: name=openstack-cinder-volume state=stopped
+        - name: Sync cinder_volume DB
+          tags: step5
+          command: cinder-manage db sync