Public bug reported:

/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.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1962460

Title:
  Devstack master branch setup behind the proxy

Status in Glance:
  New

Bug description:
  /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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1962460/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to