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
This commit is contained in:
parent
1ce6d43d1b
commit
b4223ead2d
@ -147,7 +147,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user