Skip to content

Commit

Permalink
Run contrail-named & contrail-dns containers in host pid mode
Browse files Browse the repository at this point in the history
Named pid is used by contrail-dns to identify named start & restart, to
push the records to named. For this reason, changing contrail-named &
contrail-dns containers to run in host pid mode.

Change-Id: I82d5241071ed0b5cb37ecd6acdeea2ba82054ae4
closes-bug: #1747224
  • Loading branch information
haripk committed Mar 15, 2018
1 parent 3901125 commit bad3d63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Expand Up @@ -37,6 +37,7 @@ services:
network_mode: "service:network"
env_file: /etc/contrail/common_control.env
privileged: true
pid: host
#volumes:
# - /var/log/contrail:/var/log/contrail
volumes_from:
Expand All @@ -51,6 +52,7 @@ services:
image: "{{ container_registry }}/contrail-controller-control-dns:{{ contrail_version_tag }}"
network_mode: "service:network"
env_file: /etc/contrail/common_control.env
pid: host
volumes:
- /var/log/contrail:/var/log/contrail
- /etc/contrail/control:/etc/contrail
Expand Down
Expand Up @@ -27,6 +27,7 @@ services:
network_mode: "host"
env_file: /etc/contrail/common_control.env
privileged: true
pid: host
volumes_from:
- dns
depends_on:
Expand All @@ -36,6 +37,7 @@ services:
image: "{{ container_registry }}/contrail-controller-control-dns:{{ contrail_version_tag }}"
network_mode: "host"
env_file: /etc/contrail/common_control.env
pid: host
volumes:
- /etc/hosts:/etc/hosts
- /var/log/contrail:/var/log/contrail
Expand Down

0 comments on commit bad3d63

Please sign in to comment.