/opt/stack/tempest/.tox/tempest/bin/pip install -chttps://releases.openstack.org/constraints/upper/master -r/opt/stack/tempest/requirements.txt\\
venv-tempest create: /opt/stack/tempest/.tox/tempest
venv-tempest installdeps: -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt
ERROR: invocation failed (exit code 1), logfile: /opt/stack/tempest/.tox/tempest/log/venv-tempest-1.log
========================================================================================= log start =========================================================================================
ERROR: Could not install packages due to an OSError: Please check proxy URL. It is malformed and could be missing the host.
========================================================================================== log end ==========================================================================================
ERROR: could not install deps [-chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt]; v = InvocationError('/opt/stack/tempest/.tox/tempest/bin/pip install -chttps://releases.openstack.org/constraints/upper/master -r/opt/stack/tempest/requirements.txt', 1)
__________________________________________________________________________________________ summary __________________________________________________________________________________________
ERROR: venv-tempest: could not install deps [-chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt]; v = InvocationError('/opt/stack/tempest/.tox/tempest/bin/pip install -chttps://releases.openstack.org/constraints/upper/master -r/opt/stack/tempest/requirements.txt', 1)
+lib/tempest:configure_tempest:1 exit_trap
+./stack.sh:exit_trap:521 local r=1
+
Ubuntu 20.04
So, As far as I understand, the installation uses its own PIP version 22.0.3:
stack@devstack:~/devstack$ /opt/stack/tempest/.tox/tempest/bin/pip --version
pip 22.0.3 from /opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/pip (python 3.8)
I work through a proxy:
stack@devstack:~/devstack$ env | grep proxy
no_proxy=localhost,127.0.0.1,::1,10.241.11.111
https_proxy=localhost:2021
http_proxy=localhost:2021
the command given in the error ( /pip install --proxy=http://localhost:2021 -chttps://releases.openstack.org/constraints/upper/master -r/opt/stack/tempest/requirements.txt
)
runs successfully when using pip from /usr/local/bin/pip
Please tell me how to pass the proxy settings for the installed Git or
or maybe there is some other solution to this problem
stack@devstack:~/devstack$ /opt/stack/tempest/.tox/tempest/bin/pip install --proxy=http://localhost:2021 -chttps://releases.openstack.org/constraints/upper/master -r/opt/stack/tempest/requirements.txt
ERROR: Could not install packages due to an OSError: Please check proxy URL. It is malformed and could be missing the host.
It turned out to be installed by changing environment variables (https_proxy exception), as well as setting your own proxy variables for git, wget and curl.