SamYaple e8d66766f0 Fix gate for docker 1.10
Docker 1.10 has broken the gate and this patch will correct that
breakage.

The issue comes with rsyslog. Due to a commit in Docker 1.10 [1] we
must change the way we get the log socket for rsyslog. The /dev/
folder will no longer populate as we used it. So instead we simply
make a new socket in a path we control and share that to the correct
location in the containers.

Additionally, adjust the gate for new Docker daemon.

[1] https://github.com/docker/docker/pull/16639
Partially-Implements: blueprint kolla-upgrade
Change-Id: I881a2ecdf6d7b35991e1d38a3f3e60d022d6577f
2016-02-06 06:48:53 +00:00

34 lines
1.1 KiB
YAML

---
- name: Starting heat-api container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
image: "{{ heat_api_image_full }}"
name: "heat_api"
volumes:
- "{{ node_config_directory }}/heat-api/:{{ container_config_directory }}/:ro"
- "/run/kolla/log:/dev/log"
when: inventory_hostname in groups['heat-api']
- name: Starting heat-api-cfn container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
image: "{{ heat_api_cfn_image_full }}"
name: "heat_api_cfn"
volumes:
- "{{ node_config_directory }}/heat-api-cfn/:{{ container_config_directory }}/:ro"
- "/run/kolla/log:/dev/log"
when: inventory_hostname in groups['heat-api-cfn']
- name: Starting heat-engine container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
image: "{{ heat_engine_image_full }}"
name: "heat_engine"
volumes:
- "{{ node_config_directory }}/heat-engine/:{{ container_config_directory }}/:ro"
- "/run/kolla/log:/dev/log"
when: inventory_hostname in groups['heat-engine']