Merge "Fix that cyborg agent failed to start privsep daemon."

This commit is contained in:
Zuul 2020-04-22 15:44:33 +00:00 committed by Gerrit Code Review
commit 3f4103faed
4 changed files with 11 additions and 0 deletions

View File

@ -13,6 +13,7 @@ cyborg_services:
container_name: cyborg_agent
group: cyborg-agent
enabled: true
privileged: true
image: "{{ cyborg_agent_image_full }}"
volumes: "{{ cyborg_agent_default_volumes + cyborg_agent_extra_volumes }}"
dimensions: "{{ cyborg_agent_dimensions }}"

View File

@ -9,6 +9,7 @@
common_options: "{{ docker_common_options }}"
name: "{{ service.container_name }}"
image: "{{ service.image }}"
privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes }}"
dimensions: "{{ service.dimensions }}"
when:
@ -24,6 +25,7 @@
common_options: "{{ docker_common_options }}"
name: "{{ service.container_name }}"
image: "{{ service.image }}"
privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes }}"
dimensions: "{{ service.dimensions }}"
when:
@ -39,6 +41,7 @@
common_options: "{{ docker_common_options }}"
name: "{{ service.container_name }}"
image: "{{ service.image }}"
privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes }}"
dimensions: "{{ service.dimensions }}"
when:

View File

@ -6,6 +6,7 @@
common_options: "{{ docker_common_options }}"
name: "{{ item.value.container_name }}"
image: "{{ item.value.image }}"
privileged: "{{ item.value.privileged | default(False) }}"
volumes: "{{ item.value.volumes }}"
dimensions: "{{ item.value.dimensions }}"
when:

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fix that cyborg agent failed to start privsep daemon. Add privileged
capability for cyborg agent. See `bug 1873715
<https://bugs.launchpad.net/kolla-ansible/+bug/1873715>`__.