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:
Steven Dake 2015-03-28 08:48:40 -07:00
parent afcc1569b8
commit bbad173a0a

View File

@ -1,10 +1,12 @@
mariadbdata:
image: kollaglue/centos-rdo-mariadb-data
name: mariadbdata
restart: on-failure
mariadbapp:
image: kollaglue/centos-rdo-mariadb-app
name: mariadbapp
restart: always
env_file:
- openstack.env
volumes_from: