Merge "Add ipc_mode=host for nova-compute conainer"
This commit is contained in:
commit
9e44fd2a53
@ -112,6 +112,7 @@ nova_services:
|
|||||||
image: "{{ nova_compute_image_full }}"
|
image: "{{ nova_compute_image_full }}"
|
||||||
privileged: True
|
privileged: True
|
||||||
enabled: "{{ not enable_nova_fake | bool }}"
|
enabled: "{{ not enable_nova_fake | bool }}"
|
||||||
|
ipc_mode: "host"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro"
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
@ -255,6 +255,7 @@
|
|||||||
name: "{{ service.container_name }}"
|
name: "{{ service.container_name }}"
|
||||||
image: "{{ service.image }}"
|
image: "{{ service.image }}"
|
||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
|
ipc_mode: "{{ service.ipc_mode | default(omit) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
||||||
when:
|
when:
|
||||||
- action != "config"
|
- action != "config"
|
||||||
|
@ -166,6 +166,7 @@
|
|||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
pid_mode: "{{ item.value.pid_mode|default('') }}"
|
pid_mode: "{{ item.value.pid_mode|default('') }}"
|
||||||
|
ipc_mode: "{{ item.value.ipc_mode|default(omit) }}"
|
||||||
privileged: "{{ item.value.privileged|default(False) }}"
|
privileged: "{{ item.value.privileged|default(False) }}"
|
||||||
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
||||||
register: check_nova_containers
|
register: check_nova_containers
|
||||||
|
Loading…
Reference in New Issue
Block a user