Second build attempt always fail for git source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Undecided
|
jiriprox |
Bug Description
When the first build attempt fail for any reason (e.g. short network outage, proxy outage,...)
then the second attempt always fail for git source type.
Git can't clone repository because destination directory exists and is not empty.
We need to cleanup directory before cloning.
Part of build log:
INFO:kolla.
DEBUG:kolla.
INFO:kolla.
DEBUG:kolla.
Traceback (most recent call last):
File "/usr/lib64/
msg = self.format(record)
File "/usr/lib64/
return fmt.format(record)
File "/usr/lib64/
record.message = record.getMessage()
File "/usr/lib64/
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Logged from file build.py, line 317
ERROR:kolla.
stderr: 'fatal: destination path '/tmp/kolla-
Changed in kolla: | |
assignee: | nobody → jiriprox (jirix-x-prokes) |
Bug correction is in review: https:/ /review. openstack. org/487611