Stop/disable l3 agent in docker service upgrade_tasks
authorSteven Hardy <shardy@redhat.com>
Thu, 1 Jun 2017 15:30:48 +0000 (16:30 +0100)
committerSteven Hardy <shardy@redhat.com>
Wed, 7 Jun 2017 10:16:04 +0000 (10:16 +0000)
This service is missing the task to stop/disable the service on
the host prior to it being started in a container.

Change-Id: I33d70d32c3b55e1f2738441f57c74b007e7bd766
Closes-Bug: #1695017

docker/services/neutron-l3.yaml

index 97901bc..bd5147d 100644 (file)
@@ -104,3 +104,8 @@ outputs:
           file:
             path: /var/log/containers/neutron
             state: directory
+      upgrade_tasks:
+        - name: Stop and disable neutron_l3 service
+          tags: step2
+          service: name=neutron-l3-agent state=stopped enabled=no
+