Add upgrade tasks for gnocchi container services
authorPradeep Kilambi <pkilambi@redhat.com>
Tue, 14 Mar 2017 19:15:46 +0000 (15:15 -0400)
committerPradeep Kilambi <pkilambi@redhat.com>
Mon, 10 Apr 2017 13:53:53 +0000 (13:53 +0000)
Change-Id: I43c35bbf959e5dcdd7e87a8f6a604d5fe5b4f2a9

docker/services/gnocchi-api.yaml
docker/services/gnocchi-metricd.yaml
docker/services/gnocchi-statsd.yaml

index 08f4b56..659785a 100644 (file)
@@ -96,3 +96,7 @@ outputs:
               - /etc/localtime:/etc/localtime:ro
             environment:
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+      upgrade_tasks:
+        - name: Stop and disable httpd service
+          tags: step2
+          service: name=httpd state=stopped enabled=no
index 6b41eaa..78494d6 100644 (file)
@@ -71,3 +71,7 @@ outputs:
               - /etc/localtime:/etc/localtime:ro
             environment:
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+      upgrade_tasks:
+        - name: Stop and disable openstack-gnocchi-metricd service
+          tags: step2
+          service: name=openstack-gnocchi-metricd.service state=stopped enabled=no
index 93b616c..7f43984 100644 (file)
@@ -71,3 +71,7 @@ outputs:
               - /etc/localtime:/etc/localtime:ro
             environment:
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+      upgrade_tasks:
+        - name: Stop and disable openstack-gnocchi-statsd service
+          tags: step2
+          service: name=openstack-gnocchi-statsd.service state=stopped enabled=no