Containerized mongodb, disable by default, fix upgrade
[apex-tripleo-heat-templates.git] / docker / services / cinder-api.yaml
index 48faaf9..93d09ca 100644 (file)
@@ -160,8 +160,11 @@ outputs:
           cinder_api_cron:
             image: *cinder_api_image
             net: host
+            user: root
             privileged: false
             restart: always
+            healthcheck:
+              test: /bin/true
             volumes:
               list_concat:
                 - {get_attr: [ContainersCommon, volumes]}
@@ -183,3 +186,7 @@ outputs:
         - name: Stop and disable cinder_api service
           tags: step2
           service: name=httpd state=stopped enabled=no
+        - name: remove old cinder cron jobs
+          file:
+            path: /var/spool/cron/cinder
+            state: absent