kolla-ansible/kolla/tests
Vikram Hosakote 320c1f9272 Add timeout to requests.get() in kolla/cmd/build.py
When kolla-build is running, if there are network issues or if the
source's location (like http://tarballs.openstack.org) fails to
respond due to high number of concurrent requests, kolla-build just
hangs/blocks indefinitely.

This patch set resolves this issue by adding a timeout of 120
seconds for requests.get() in kolla/cmd/build.py, adds a unit test
for it in kolla/tests/test_build.py and also the "timeout" argument
in kolla/common/config.py.

Change-Id: I7c8745a20b9bd1c3f5d6a55c72a794f16fd7e513
Closes-Bug: #1548614
2016-02-28 00:54:47 +00:00
..
common add unittest code base 2016-01-18 11:42:00 +00:00
docker Fix image plugin functionality for oslo.config 2016-02-12 06:00:20 +00:00
etc fix the custom profile raise exception issue 2016-02-15 15:25:15 +08:00
__init__.py add unittest code base 2016-01-18 11:42:00 +00:00
base.py Fix image plugin functionality for oslo.config 2016-02-12 06:00:20 +00:00
test_build.py Add timeout to requests.get() in kolla/cmd/build.py 2016-02-28 00:54:47 +00:00