Do not bind /run on host to nova_migration_target

Now we have 2 sshd instances running on compute nodes, (1)sshd running
on host, and (2)sshd running inside nova_migration_target.
Because we bind /run on host to nova_mgiration_target, these two prcesses
share the same pid file, /var/run/sshd.pid , which causes that we have
pid 1 in that pid file.

As we do not require sshd running on the container to have access to
host pid files, this patch removes bind about /run about the container,
to avoid the overwriting problem.

Change-Id: I71cb64997991a31b1b87bf73aa4109c355a90708
Closes-bug: #1830982
(cherry picked from commit b4223ead2d)
This commit is contained in:
Takashi Kajinami 2019-05-30 08:09:27 +09:00 committed by Alex Schultz
parent e05b940d73
commit 43b074c109
1 changed files with 0 additions and 1 deletions

View File

@ -149,7 +149,6 @@ outputs:
- /var/lib/kolla/config_files/nova-migration-target.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/puppet-generated/nova_libvirt/:/var/lib/kolla/config_files/src:ro
- /etc/ssh/:/host-ssh/:ro
- /run:/run
- /var/lib/nova:/var/lib/nova:shared
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS