Pre-downloaded pip installation file not extracted on fresh install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Renjie Sun |
Bug Description
Pre-downloaded pip installation file files/pip-*.tar.gz is not extracted on fresh install, resulting in error:
2014-05-24 21:36:03.552 | /home/r/
How to reproduce the error:
1. Install a clean ubuntu/fedora OS.
2. Clone the latest devstack repo from github.
3. Download pip installation file (now pip-1.4.1.tar.gz) and put it at directory 'files'.
4. Start the installation.
A patch is proposed as:
diff --git a/tools/
index 5f01eb6..b55fa4f 100755
--- a/tools/
+++ b/tools/
@@ -73,9 +73,10 @@ function install_get_pip {
function install_pip_tarball {
if [[ ! -r $FILES/
(cd $FILES; \
- curl -O $PIP_TAR_URL; \
- tar xvfz pip-$INSTALL_
+ curl -O $PIP_TAR_URL)
fi
+ rm -rf $FILES/
+ tar xfz $FILES/
(cd $FILES/
sudo -E python setup.py install 1>/dev/null)
}
Changed in devstack: | |
assignee: | nobody → Renjie Sun (sunrenjie6) |
Changed in devstack: | |
status: | In Progress → Invalid |
Fix proposed to branch: master /review. openstack. org/95400
Review: https:/