You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@fluo.apache.org by GitBox <gi...@apache.org> on 2020/05/07 16:33:57 UTC

[GitHub] [fluo-muchos] arvindshmicrosoft commented on a change in pull request #346: Correctly check for Docker swarm status

arvindshmicrosoft commented on a change in pull request #346:
URL: https://github.com/apache/fluo-muchos/pull/346#discussion_r421638782



##########
File path: ansible/kill.yml
##########
@@ -30,7 +30,7 @@
     - name: "stop mesos slaves"
       service: name=mesos-slave state=stopped
       when: "'mesosmaster' in groups"
-- hosts: all
+- hosts: all:!{{ azure_proxy_host }}

Review comment:
       The tasks within docker.yml install and bootstrap docker / swarm only on the workers and on swarmmanager hosts. But when kill / wipe are run, the above task to stop Docker would fail on `all` because in Azure there's a separate VM which gets setup as a proxy host (and that is not assigned a `worker` or `swarmmanager` role. So this is just addressing a dormant issue which came up when I tested the fix for the main issue in this thread.

##########
File path: ansible/kill.yml
##########
@@ -30,7 +30,7 @@
     - name: "stop mesos slaves"
       service: name=mesos-slave state=stopped
       when: "'mesosmaster' in groups"
-- hosts: all
+- hosts: all:!{{ azure_proxy_host }}

Review comment:
       The tasks within docker.yml install and bootstrap docker / swarm only on the workers and on swarmmanager hosts. But when kill / wipe are run, the above task to stop Docker would fail on `all` because in Azure there's a separate VM which gets setup as a proxy host (and that is not assigned a `worker` or `swarmmanager` role). So this is just addressing a dormant issue which came up when I tested the fix for the main issue in this thread.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org