Add upgrade tasks for aodh containers
authorPradeep Kilambi <pkilambi@redhat.com>
Tue, 14 Mar 2017 17:27:23 +0000 (13:27 -0400)
committerPradeep Kilambi <pkilambi@redhat.com>
Wed, 15 Mar 2017 16:52:34 +0000 (16:52 +0000)
Change-Id: I936b31fd24c43e35092b3bfef4454a8da81d19c8

docker/services/aodh-api.yaml
docker/services/aodh-evaluator.yaml
docker/services/aodh-listener.yaml
docker/services/aodh-notifier.yaml

index c88a061..ca410d6 100644 (file)
@@ -117,3 +117,7 @@ outputs:
               - logs:/var/log
             environment:
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+      upgrade_tasks:
+        - name: Stop and disable aodh service (running under httpd)
+          tags: step2
+          service: name=httpd state=stopped enabled=no
index abb44de..d3c8c59 100644 (file)
@@ -78,3 +78,7 @@ outputs:
               - /etc/localtime:/etc/localtime:ro
             environment:
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+      upgrade_tasks:
+        - name: Stop and disable openstack-aodh-evaluator service
+          tags: step2
+          service: name=openstack-aodh-evaluator.service state=stopped enabled=no
index 5a37763..7aa9618 100644 (file)
@@ -78,3 +78,7 @@ outputs:
               - /etc/localtime:/etc/localtime:ro
             environment:
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+      upgrade_tasks:
+        - name: Stop and disable openstack-aodh-listener service
+          tags: step2
+          service: name=openstack-aodh-listener.service state=stopped enabled=no
index 084e765..f525d6b 100644 (file)
@@ -78,3 +78,7 @@ outputs:
               - /etc/localtime:/etc/localtime:ro
             environment:
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+      upgrade_tasks:
+        - name: Stop and disable openstack-aodh-notifier service
+          tags: step2
+          service: name=openstack-aodh-notifier.service state=stopped enabled=no