Merge "Add ipc_mode=host for nova-compute conainer"

This commit is contained in:
Jenkins 2017-09-25 08:52:58 +00:00 committed by Gerrit Code Review
commit 9e44fd2a53
3 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,7 @@ nova_services:
image: "{{ nova_compute_image_full }}"
privileged: True
enabled: "{{ not enable_nova_fake | bool }}"
ipc_mode: "host"
volumes:
- "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"

View File

@ -255,6 +255,7 @@
name: "{{ service.container_name }}"
image: "{{ service.image }}"
privileged: "{{ service.privileged | default(False) }}"
ipc_mode: "{{ service.ipc_mode | default(omit) }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
when:
- action != "config"

View File

@ -166,6 +166,7 @@
name: "{{ item.value.container_name }}"
image: "{{ item.value.image }}"
pid_mode: "{{ item.value.pid_mode|default('') }}"
ipc_mode: "{{ item.value.ipc_mode|default(omit) }}"
privileged: "{{ item.value.privileged|default(False) }}"
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
register: check_nova_containers