From 1b563bff1a09aa3f32286844b9549156baadf5a9 Mon Sep 17 00:00:00 2001 From: xudan Date: Tue, 15 Oct 2019 04:16:52 -0400 Subject: [PATCH] Fix the version of urllib It fails to run on Fuel Hunter with the following error: quota_prepare.py:76 INFO Get admin project name is /usr/local/lib/python2.7/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.2) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) e09a9facaa7045c4bbe4ad54787eff58 Link: https://build.opnfv.org/ci/view/dovetail/job/dovetail-fuel-baremetal-default-mandatory-hunter/13/artifact/results/stress_logs/bottlenecks.stress.ping.log/*view*/ Besides the ID, there is also some warning msg in the string. So it get the wrong admin project name. Fix the version of urllib to eliminate this warning msg. Signed-off-by: xudan Change-Id: I32ed9b71c434141d1de6d3d3a1662ddac52d7e31 --- requirements/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 44669be1..87bd2382 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -19,3 +19,4 @@ pyroute2==0.4.10 elasticsearch==5.0.1 docker==2.0.2 kubernetes==6.0.0 +urllib3==1.24 -- 2.16.6