magnum/magnum/templates/swarm/fragments
Hongbin Lu 8733cd37fa Gate: Fix docker swarm disconnect issue
The swarm func test occasionally failed with the error below. This
error cannot be determinately reproduced. After some experiments,
it seems that swarm will abort connections during registration of
a new swarm agent.

ConnectionError: ('Connection aborted.', BadStatusLine("''",))

This commit tries to fix the issue by waiting for the completion of
agent registration. After the swarm agent service starts, it checks
ETCD to ensure the agent was successfully registered before sending
signal to Heat to indicate its success.

Closes-Bug: #1521395
Change-Id: Iec1772d1df7d85e367676758b1f97a5b604c0eb7
2015-12-22 20:40:41 +00:00
..
add-proxy.sh Swarm: Split swarm.yaml to swarmcluster.yaml and swarmmaster.yaml 2015-11-27 14:06:11 +08:00
cfn-signal.sh Rename heat-kubernetes, heat-mesos, docker-swarm 2015-11-11 16:29:33 -05:00
configure-docker-storage.sh Adds Cinder Volume Support to Swarm Bay Type 2015-11-16 20:28:05 +00:00
configure-etcd.sh Swarm: add proxy for etcd service 2015-11-23 16:31:04 +08:00
configure-swarm.sh Rename heat-kubernetes, heat-mesos, docker-swarm 2015-11-11 16:29:33 -05:00
disable-selinux.sh Rename heat-kubernetes, heat-mesos, docker-swarm 2015-11-11 16:29:33 -05:00
enable-services.sh Rename heat-kubernetes, heat-mesos, docker-swarm 2015-11-11 16:29:33 -05:00
make-cert.py Swarm: Split swarm.yaml to swarmcluster.yaml and swarmmaster.yaml 2015-11-27 14:06:11 +08:00
network-config-service.sh Swarm: Split swarm.yaml to swarmcluster.yaml and swarmmaster.yaml 2015-11-27 14:06:11 +08:00
network-service.sh Swarm: Split swarm.yaml to swarmcluster.yaml and swarmmaster.yaml 2015-11-27 14:06:11 +08:00
remove-docker-key.sh Rename heat-kubernetes, heat-mesos, docker-swarm 2015-11-11 16:29:33 -05:00
write-bay-failure-service.yaml Rename heat-kubernetes, heat-mesos, docker-swarm 2015-11-11 16:29:33 -05:00
write-docker-service.sh Swarm: Add TimeoutStartSec=300 to docker service 2015-11-12 15:12:28 +08:00
write-docker-socket.yaml Rename heat-kubernetes, heat-mesos, docker-swarm 2015-11-11 16:29:33 -05:00
write-heat-params.yaml Gate: Fix docker swarm disconnect issue 2015-12-22 20:40:41 +00:00
write-network-config.sh Updates Swarm Heat Templates to Support Container Network Model 2015-11-17 20:37:02 +00:00
write-swarm-agent-service.sh Gate: Fix docker swarm disconnect issue 2015-12-22 20:40:41 +00:00
write-swarm-master-service.sh Gate: Fix docker swarm disconnect issue 2015-12-22 20:40:41 +00:00