Quickstart doesn't allow to use different pip mirrors or cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Expired
|
Undecided
|
Unassigned |
Bug Description
When using it on OVB I encountered a problem with unavailable pip mirrors there, which couldn't be solved with current quickstart.sh:
pushd $OOOQ_DIR
# (trown) This is a pretty big hack, but for the usbkey case, we do not
# want to be writing files to the usbkey itself, and I can not find a
# way to make setuptools not try to write the .eggs dir.
sed -i "s%os.curdir%
python setup.py install egg_info --egg-base $OPT_WORKDIR
# Handle the case that pip is too old to use a cache-dir
pip install --no-cache-dir "${OPT_REQARGS[@]}"
popd
In case problem with mirror, the "python setup.py install egg_info ..." will fail.
There no possibility to use cache as well because strict "--no-cache-dir" in pip command line.
If all these workarounds are for usbkey, it could be separated from other code and we can just use "pip install ...". When pip mirrors or cache settings could be set in environment variables.
Changed in tripleo-quickstart: | |
importance: | Undecided → High |
tags: | added: ci quickstart |
affects: | tripleo-quickstart → tripleo |
Changed in tripleo: | |
status: | New → Triaged |
milestone: | none → pike-2 |
Changed in tripleo: | |
milestone: | pike-2 → pike-3 |
Changed in tripleo: | |
milestone: | pike-3 → pike-rc1 |
Changed in tripleo: | |
milestone: | pike-rc1 → queens-1 |
Changed in tripleo: | |
milestone: | queens-1 → queens-2 |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Changed in tripleo: | |
milestone: | queens-rc1 → rocky-1 |
Changed in tripleo: | |
milestone: | rocky-1 → rocky-2 |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
Changed in tripleo: | |
assignee: | nobody → Emilien Macchi (emilienm) |
assignee: | Emilien Macchi (emilienm) → nobody |
Changed in tripleo: | |
milestone: | stein-1 → stein-2 |
Has this been fixed with our nodepool mirror work?