Cinder-api upgrade: use httpd instead of apachectl
authorSofer Athlan-Guyot <sathlang@redhat.com>
Wed, 26 Apr 2017 20:38:13 +0000 (22:38 +0200)
committerSofer Athlan-Guyot <sathlang@redhat.com>
Wed, 26 Apr 2017 20:38:13 +0000 (22:38 +0200)
It doesn't work downstream, so the httpd command was recommended.

Change-Id: I4807333b80dad10f16e5deb56cbfdda656cd1e50
(cherry picked from commit 0b05d7fd9b0e8811755499642647919eaf64cc39)

puppet/services/cinder-api.yaml

index c0ea7aa..49a5f61 100644 (file)
@@ -161,7 +161,7 @@ outputs:
           tags: step0,validation
         - name: check for cinder running under apache (post upgrade)
           tags: step1
-          shell: "apachectl -t -D DUMP_VHOSTS | grep -q cinder"
+          shell: "httpd -t -D DUMP_VHOSTS | grep -q cinder"
           register: cinder_apache
           ignore_errors: true
         - name: Stop cinder_api service (running under httpd)