aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-18 03:08:45 +0000
committerGerrit Code Review <review@openstack.org>2016-08-18 03:08:45 +0000
commit9a7e4c1592dd4cc4c1fe22109c4e86574f706ec1 (patch)
tree98c10de8af5173c6d95f5812b319e6c9287672b4
parent0f6f5228d0cc76085974f7e05f27aab7cdd8aa72 (diff)
parentdbc50ab246347b7d92c9d85b4f608264ba222afd (diff)
downloadkolla-9a7e4c1592dd4cc4c1fe22109c4e86574f706ec1.tar.gz
kolla-9a7e4c1592dd4cc4c1fe22109c4e86574f706ec1.zip
Merge "Skips a debug log during image build"
-rw-r--r--kolla/image/build.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 20d26e01b..0a2103516 100644
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -791,7 +791,9 @@ class KollaWorker(object):
installation = dict()
# NOTE(jeffrey4l): source is not needed when the type is None
if self.conf._get('type', self.conf._get_group(section)) is None:
- LOG.debug('No source location found in section %s', section)
+ if image.parent_name is None:
+ LOG.debug('No source location found in section %s',
+ section)
else:
installation['type'] = self.conf[section]['type']
installation['source'] = self.conf[section]['location']