Browse Source

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
tags/8.0.0.0b1
Dan Prince 2 years ago
parent
commit
d1aaf0aadf

+ 2
- 0
docker/services/cinder-api.yaml View File

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

+ 2
- 0
docker/services/heat-api.yaml View File

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

+ 2
- 0
docker/services/keystone.yaml View File

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

+ 2
- 0
docker/services/nova-api.yaml View File

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

Loading…
Cancel
Save