From f4175f04d717a8372f7887d9c304758032f76a9f Mon Sep 17 00:00:00 2001 From: SamYaple Date: Fri, 18 Mar 2016 01:07:28 +0000 Subject: Fix 'optional' config.json values These values are optional only when the services are not enabled. If the file does not exist we should not warn, but rather inform. Ceph-mon is an exception here since its bootstrap process means the files may or may not exist initially. TrivialFix Change-Id: Ic02bece76d480e99deecf612036f37abb5604135 --- docker/base/set_configs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/base/set_configs.py b/docker/base/set_configs.py index 83b635c30..dc0a7e4a5 100644 --- a/docker/base/set_configs.py +++ b/docker/base/set_configs.py @@ -58,7 +58,7 @@ def validate_source(data): if not exists: if data.get('optional'): - LOG.warning("%s does not exist, but is not required", source) + LOG.info("%s does not exist, but is not required", source) return False else: LOG.error("The source to copy does not exist: %s", source) -- cgit v1.2.3