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
(cherry picked from commit 1d9629ec0b)
This commit is contained in:
Alex Schultz 2018-05-17 14:54:11 -06:00
parent 8824e7abcd
commit 27265f9f85
1 changed files with 1 additions and 0 deletions

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: