aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/cinder-volume.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-16 15:53:59 +0000
committerGerrit Code Review <review@openstack.org>2017-01-16 15:53:59 +0000
commit0080df3f4207bed5b0fd2911b626463d9a013d46 (patch)
tree62a27aef5334579cc3b89c9019419435b4b3b257 /puppet/services/cinder-volume.yaml
parent15c358de1c8a2d338953a712573c85fb451f05f3 (diff)
parent11f3bde268f705cf2eb3ba26b338de4fd7e95ac3 (diff)
Merge "Add cinder service support for composable upgrades"
Diffstat (limited to 'puppet/services/cinder-volume.yaml')
-rw-r--r--puppet/services/cinder-volume.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/services/cinder-volume.yaml b/puppet/services/cinder-volume.yaml
index 66706bc4..cc06d87b 100644
--- a/puppet/services/cinder-volume.yaml
+++ b/puppet/services/cinder-volume.yaml
@@ -110,3 +110,14 @@ 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
+ - name: Start cinder_volume service
+ tags: step6
+ service: name=openstack-cinder-volume state=started
+