Mount /var/run/redis for the redis socket

Under pacemaker, it manages this mount correctly. When not deploying
redis with pacemaker, the /var/run/redis folder is not properly mounted
so the container cannot start correctly after a reboot.

Change-Id: I1b86bc91e7ca95a1e70fecee1b6507787d98e9cd
Closes-Bug: #1771888
This commit is contained in:
Alex Schultz 2018-05-17 14:54:11 -06:00 committed by Emilien Macchi
parent 00f5019ef2
commit 1d9629ec0b

View File

@ -126,6 +126,7 @@ outputs:
- /var/lib/config-data/puppet-generated/redis/:/var/lib/kolla/config_files/src:ro
- /etc/localtime:/etc/localtime:ro
- /var/log/containers/redis:/var/log/redis
- /var/run/redis:/var/run/redis
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
- if: