stack.sh hangs at 'Downloading/unpacking django>=1.4'
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-
+ [[ False = \T\r\u\e ]]
+ [[ -z django>=1.4 django-
+ [[ -z deb ]]
+ [[ deb = \d\e\b ]]
+ CMD_PIP=
+ sudo PIP_DOWNLOAD_
Downloading/
^C doesn't work either. I have to kill the terminal and the process to stop it.
Changed in devstack: | |
status: | New → Invalid |
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. paste.openstack .org/show/ 18671/
See here verbose pip output: http://
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.