aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/cinder-api.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-01 10:09:53 +0000
committerGerrit Code Review <review@openstack.org>2017-03-01 10:09:53 +0000
commit6c8f5017d7b1d4e69451bbced7556828346bf18c (patch)
tree007e0eb528fde42b1627d73ff3716fa88641df74 /puppet/services/cinder-api.yaml
parentd8aa952a75a4afb38b049aa8bcdd9ad685c8bb14 (diff)
parentfb7821378242e595184a38e1e0cb7e9978c0f806 (diff)
Merge "Put service stop at step1 and quiesce at step2."
Diffstat (limited to 'puppet/services/cinder-api.yaml')
-rw-r--r--puppet/services/cinder-api.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/puppet/services/cinder-api.yaml b/puppet/services/cinder-api.yaml
index bde3e044..52c46568 100644
--- a/puppet/services/cinder-api.yaml
+++ b/puppet/services/cinder-api.yaml
@@ -154,14 +154,14 @@ outputs:
shell: /usr/bin/systemctl show 'openstack-cinder-api' --property ActiveState | grep '\bactive\b'
tags: step0,validation
- name: check for cinder running under apache (post upgrade)
- tags: step2
+ tags: step1
shell: "apachectl -t -D DUMP_VHOSTS | grep -q cinder"
register: cinder_apache
ignore_errors: true
- name: Stop cinder_api service (running under httpd)
- tags: step2
+ tags: step1
service: name=httpd state=stopped
when: "cinder_apache.rc == 0"
- name: Stop and disable cinder_api service (pre-upgrade not under httpd)
- tags: step2
+ tags: step1
service: name=openstack-cinder-api state=stopped enabled=no