From bbad173a0a283676d84e1a2542cbf4b9da6514ca Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sat, 28 Mar 2015 08:48:40 -0700 Subject: [PATCH] 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 --- compose/mariadb.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose/mariadb.yml b/compose/mariadb.yml index 5a60c3ef05..4fce0c5501 100644 --- a/compose/mariadb.yml +++ b/compose/mariadb.yml @@ -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: