Add timeout to requests.get() in kolla/cmd/build.py
Bug #1548614 reported by
Vikram Hosakote
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
High
|
Vikram Hosakote |
Bug Description
When kolla-build is running, if there are network issues or if the source's location (http://
The requests Python library supports timeout for "get" operations.
Hence, a timeout of 120 seconds must be added to the following line in kolla/cmd/build.py so that kolla-build does not hang/block.
r = requests.
Changed in kolla: | |
importance: | Undecided → High |
milestone: | none → mitaka-3 |
To post a comment you must log in.
Fixing this bug.