aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 090b28f4b..f88f00a6d 100644
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -778,7 +778,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']