diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-06-09 20:24:07 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-06-09 20:24:07 +0000 |
| commit | de8d817f01c357a72d04a39e27e274ce4ecca951 (patch) | |
| tree | f26be4af36aaba384f360aaae974b9d85d2d5423 | |
| parent | 142c3b839ef9188197b5b5c968266c1ae7dce22d (diff) | |
| parent | d6fd6d8e04caf952018909e06113becf9f081930 (diff) | |
| download | kolla-de8d817f01c357a72d04a39e27e274ce4ecca951.tar.gz kolla-de8d817f01c357a72d04a39e27e274ce4ecca951.zip | |
Merge "Fix inconsistent build task attempt logging"
| -rwxr-xr-x | kolla/image/build.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py index 2c727a25b..7e2b0ff7e 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -498,12 +498,8 @@ class WorkerThread(threading.Thread): for attempt in six.moves.range(self.conf.retries + 1): if self.should_stop: break - if attempt > 0: - LOG.info("Attempting to run task %s for the %s time", - task.name, attempt + 1) - else: - LOG.info("Attempting to run task %s for the first" - " time", task.name) + LOG.info("Attempt number: %s to run task: %s ", + attempt + 1, task.name) try: task.run() if task.success: |
