Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Adding upgrade steps to congress service
[apex-tripleo-heat-templates.git]
/
puppet
/
services
/
cinder-volume.yaml
diff --git
a/puppet/services/cinder-volume.yaml
b/puppet/services/cinder-volume.yaml
index
8834eaa
..
3a06afb
100644
(file)
--- a/
puppet/services/cinder-volume.yaml
+++ b/
puppet/services/cinder-volume.yaml
@@
-116,9
+116,9
@@
outputs:
step_config: |
include ::tripleo::profile::base::cinder::volume
upgrade_tasks:
step_config: |
include ::tripleo::profile::base::cinder::volume
upgrade_tasks:
+ - name: "PreUpgrade step0,validation: Check service openstack-cinder-volume is running"
+ shell: /usr/bin/systemctl show 'openstack-cinder-volume' --property ActiveState | grep '\bactive\b'
+ tags: step0,validation
- name: Stop cinder_volume service
tags: step2
service: name=openstack-cinder-volume state=stopped
- 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