Ask Your Question
2

tempest failing because pypi server timed out?

asked 2014-06-20 01:56:56 -0500

For the latest tempest run error showing 'Connection to pypi.python.org timed out'. run_tests.sh from all modules fails with same error. But 'pip install' works fine. Any help how to make the tempest/testr running fine.

I have seen few defects around this area, but none of the work around is helping me. https://bugs.launchpad.net/tempest/+b... https://bugs.launchpad.net/horizon/+b...

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-09-14 08:13:20 -0500

Here is the solution I have:

Some of the mirrors may not be working in your organization environment mainly because of proxy settings. Keep changing the mirror and see which one works in your world.

~./pip/pip.conf - edit: Index-url=add pip mirror site

OR

~/.bashrc - edit: export PIP_INDEX_URL= add pip mirror site

  • Check the log files including here /root/.pip/pip.log

  • Remove the .venv and rerun the ./run_tests.sh file

  • If pip is only failing wih "-r", then try

/tools/with_venv.sh

pip install --upgrade -r

  • OR Setup your own pypi mirror

http://aboutsimon.com/2012/02/24/crea...

http://doc.devpi.net/latest/

http://doc.devpi.net/latest/quickstar...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

Follow
1 follower

Stats

Asked: 2014-06-20 01:56:56 -0500

Seen: 128 times

Last updated: Sep 14 '14