Fix keystone, cinder, heat-api cron containers
authorDan Prince <dprince@redhat.com>
Mon, 31 Jul 2017 21:49:24 +0000 (17:49 -0400)
committerDan Prince <dprince@redhat.com>
Tue, 1 Aug 2017 14:06:47 +0000 (10:06 -0400)
commit975d862bc32510c0c9a1ae08bb511a43e97762a6
treed808a6857f2c802f978849f81b714716ca866b3b
parent865c65b8f43a909c94b1b50712b5baf088af9566
Fix keystone, cinder, heat-api cron containers

The cron containers need to run as root in order to create PID files
correctly.

Additionally, the keystone_cron container was misconfigured to
use /usr/bin/cron instead of the correct /usr/bin/crond.

Additionally we have an issue where the Kolla keystone container has
hard coded ARGS for the docker container which causes -DFOREGROUND
(an Apache specific argument) to get appended onto the kolla_start
command thus causing crond to fail to startup correctly. This
works around the issue by overriding the command and calling
kolla_set_configs manually. Once we fix this in Kolla we can
revisit this.

Change-Id: Ib8fb2bef9a3bb89131265051e9ea304525b58374
Related-bug: 1707785
docker/services/cinder-api.yaml
docker/services/heat-api.yaml
docker/services/keystone.yaml