stack.sh hangs at 'Downloading/unpacking django>=1.4'

Bug #1007110 reported by Arvind Srinivasan
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Unassigned

Bug Description

I have run into this problem on many occasions and it seems to magically work one day out of the blue so I haven't reported this in the past.

I am currently installing openstack with devstack on a brand new Ubuntu laptop and am running into this issue again. Here is where it stops:

++ for line in '$(<${fname})'
++ [[ python-cloudfiles =~ NOPRIME ]]
++ [[ python-cloudfiles =~ (.*)#.*dist:([^ ]*) ]]
++ echo python-cloudfiles
++ IFS='
'
+ pip_install 'django>=1.4' django-nose-selenium PassLib prettytable pycrypto==2.3 python-cloudfiles
+ [[ False = \T\r\u\e ]]
+ [[ -z django>=1.4 django-nose-selenium PassLib prettytable pycrypto==2.3 python-cloudfiles ]]
+ [[ -z deb ]]
+ [[ deb = \d\e\b ]]
+ CMD_PIP=/usr/bin/pip
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= /usr/bin/pip install --use-mirrors 'django>=1.4' django-nose-selenium PassLib prettytable pycrypto==2.3 python-cloudfiles
Downloading/unpacking django>=1.4

^C doesn't work either. I have to kill the terminal and the process to stop it.

Revision history for this message
Salvatore Orlando (salvatore-orlando) wrote :

I reckon this is because of the --use-mirrors option, combined with the fact that pip does not try the right link at the first attempt.
See here verbose pip output: http://paste.openstack.org/show/18671/

pip tries a given download link on all the mirrors before choosing a different link. As there are thousands of mirrors, this explains why the process appears to be stuck.

^C does not help, or at least helps very little, as the only effects it has it to force skip of the current mirror and move to the next one. I have removed --use-mirrors from the pip install cmdline, but I reckon this cannot be considered a satisfactory fix.

Dean Troyer (dtroyer)
Changed in devstack:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.