aboutsummaryrefslogtreecommitdiff
path: root/compose
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-03-28 08:48:40 -0700
committerSteven Dake <stdake@cisco.com>2015-03-28 08:50:23 -0700
commitbbad173a0a283676d84e1a2542cbf4b9da6514ca (patch)
treead599e6b16d8b5be38d2834b86e88a0bd949b026 /compose
parentafcc1569b8fe3f962ad13bd0ed780c3336163fd3 (diff)
downloadkolla-bbad173a0a283676d84e1a2542cbf4b9da6514ca.tar.gz
kolla-bbad173a0a283676d84e1a2542cbf4b9da6514ca.zip
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
Diffstat (limited to 'compose')
-rw-r--r--compose/mariadb.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/compose/mariadb.yml b/compose/mariadb.yml
index 5a60c3ef0..4fce0c550 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: