Manually set healthchecks for _cron services

The docker _cron services show up as (unhealthy) due to
them sharing the containers for the OpenStack services.
As such we need to manually override the health checks
for these services. By setting them to /bin/true
the services should show up has healthy.

Change-Id: I46e12bcec226fbe2768c7fe8f0e7719df46401a9
Closes-bug: #1713183
(cherry picked from commit d1aaf0aadf)
This commit is contained in:
Dan Prince 2017-08-25 22:27:24 -04:00 committed by Emilien Macchi
parent 79bd4a5c57
commit fc9dc2afa5
4 changed files with 8 additions and 0 deletions

View File

@ -163,6 +163,8 @@ outputs:
user: root
privileged: false
restart: always
healthcheck:
test: /bin/true
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}

View File

@ -136,6 +136,8 @@ outputs:
user: root
privileged: false
restart: always
healthcheck:
test: /bin/true
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}

View File

@ -175,6 +175,8 @@ outputs:
privileged: false
restart: always
command: ['/bin/bash', '-c', '/usr/local/bin/kolla_set_configs && /usr/sbin/crond -n']
healthcheck:
test: /bin/true
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}

View File

@ -196,6 +196,8 @@ outputs:
user: root
privileged: false
restart: always
healthcheck:
test: /bin/true
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}