From 3f134d0f53067004314fddeb1a77b036c547e45f Mon Sep 17 00:00:00 2001 From: Sajauddin Mohammad Date: Fri, 23 Sep 2016 02:25:23 -0400 Subject: Changed docker_restart_policy to unless-stopped Current implementation has docker_restart_policy "always" and docker_restart_policy_retry:"10" which should be mutually exclusive. "unless-stopped" will restart the containers on any exit state but not start on daemon startup if container was put to stopped state before. Closes-Bug: #1621187 Change-Id: I4d881cd123a55625121b7a9047385e9b54e2e129 --- kolla/image/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kolla') diff --git a/kolla/image/build.py b/kolla/image/build.py index 27d06b302..0684c3c18 100644 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -825,7 +825,7 @@ class KollaWorker(object): for plugin in [match.group(0) for match in (re.search('{}-plugin-.+'.format(image.name), section) for section in - self.conf.list_all_sections()) if match]: + self.conf.list_all_sections()) if match]: try: self.conf.register_opts( common_config.get_source_opts(), -- cgit v1.2.3