Tell mariadb to restart
If a system is rebooted with kolla running, all the services will continually restart. There appears to be some locking problem in docker which will result in docker imploding. One problem is a key dependency, mariadb, is never started on a reboot because it is missing restart: always. Also restart the mariadb data container until it returns success. Change-Id: I599d28548ff041712d54a702c80fe36c321adf7f
This commit is contained in:
parent
afcc1569b8
commit
bbad173a0a
@ -1,10 +1,12 @@
|
|||||||
mariadbdata:
|
mariadbdata:
|
||||||
image: kollaglue/centos-rdo-mariadb-data
|
image: kollaglue/centos-rdo-mariadb-data
|
||||||
name: mariadbdata
|
name: mariadbdata
|
||||||
|
restart: on-failure
|
||||||
|
|
||||||
mariadbapp:
|
mariadbapp:
|
||||||
image: kollaglue/centos-rdo-mariadb-app
|
image: kollaglue/centos-rdo-mariadb-app
|
||||||
name: mariadbapp
|
name: mariadbapp
|
||||||
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
- openstack.env
|
- openstack.env
|
||||||
volumes_from:
|
volumes_from:
|
||||||
|
Loading…
Reference in New Issue
Block a user