aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/cinder-scheduler.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/services/cinder-scheduler.yaml')
-rw-r--r--puppet/services/cinder-scheduler.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/puppet/services/cinder-scheduler.yaml b/puppet/services/cinder-scheduler.yaml
index 6a0b1f24..f102810e 100644
--- a/puppet/services/cinder-scheduler.yaml
+++ b/puppet/services/cinder-scheduler.yaml
@@ -52,6 +52,9 @@ outputs:
step_config: |
include ::tripleo::profile::base::cinder::scheduler
upgrade_tasks:
+ - name: "PreUpgrade step0,validation: Check service openstack-cinder-scheduler is running"
+ shell: /usr/bin/systemctl show 'openstack-cinder-scheduler' --property ActiveState | grep '\bactive\b'
+ tags: step0,validation
- name: Stop cinder_scheduler service
tags: step2
service: name=openstack-cinder-scheduler state=stopped