redstack fails to complete installation when run behind proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trove Integration |
Fix Committed
|
Medium
|
vigneshvar |
Bug Description
"redstack install" fails to complete behind proxy with the following error.
Error
====
Preparing to unpack .../python-
Unpacking python-pip (1.5.4-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up python-pip (1.5.4-1) ...
Cannot fetch index base URL https:/
Could not find any downloads that satisfy the requirement pip in /usr/lib/
Downloading/
Cleaning up...
No distributions at all found for pip in /usr/lib/
Storing debug log for failure in /home/r/
Reason
======
Most of the installation steps like "pip install" and "apt-get install" are processed under sudo environment which does not carry the proxy variables exported in the local environment.
How to replicate the issue
=======
Make sure you are installing trove behind the proxy environment
# export http_proxy=http://
# export https_proxy=http://
# git clone https:/
# cd trove-integrati
# ./redstack install
Solution
======
Pass proxy variable $HTTP_PROXY for all install process like "pip install" , "apt-get install", etc
Changed in trove: | |
assignee: | nobody → vigneshvar (vigneshvar-a-s) |
summary: |
- redstack fails to complete installation when run under proxy + redstack fails to complete installation when run behind proxy |
Changed in trove: | |
importance: | Undecided → Medium |
milestone: | none → ongoing |
affects: | trove → trove-integration |
Changed in trove-integration: | |
milestone: | ongoing → none |
milestone: | none → juno-3 |
status: | New → Triaged |
Changed in trove-integration: | |
status: | Triaged → In Progress |
A fix is available at https:/ /review. openstack. org/#/c/ 112532/
Kindly review it