diff options
| author | Sajauddin Mohammad <sajauddin_mohammad@persistent.co.in> | 2016-08-04 05:44:48 -0400 |
|---|---|---|
| committer | Sajauddin <sajauddin_mohammad@persistent.co.in> | 2016-08-16 10:34:33 +0000 |
| commit | dbc50ab246347b7d92c9d85b4f608264ba222afd (patch) | |
| tree | b6c0e24f51accc0b39156ed2b50230c1682e8432 /kolla | |
| parent | f4a9667767467caa27f939e3fd1e2d630d31ff9b (diff) | |
| download | kolla-dbc50ab246347b7d92c9d85b4f608264ba222afd.tar.gz kolla-dbc50ab246347b7d92c9d85b4f608264ba222afd.zip | |
Skips a debug log during image build
Added a condition to skip debug message during image build, when the
base image is dependent on image of other service
Closes-Bug: #1513904.
Change-Id: I68d568981cebf442b34c958e125b0f921b883247
Diffstat (limited to 'kolla')
| -rw-r--r-- | kolla/image/build.py | 4 |
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'] |
