Quickstart doesn't allow to use different pip mirrors or cache

Bug #1623933 reported by Sagi (Sergey) Shnaidman
6
This bug affects 1 person
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%\'$OPT_WORKDIR\'%" $OPT_WORKDIR/lib/python2.7/site-packages/setuptools/dist.py
        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.

Tags: ci quickstart
John Trowbridge (trown)
Changed in tripleo-quickstart:
importance: Undecided → High
Attila Darazs (adarazs)
tags: added: ci quickstart
affects: tripleo-quickstart → tripleo
Ronelle Landy (rlandy)
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
Ronelle Landy (rlandy)
Changed in tripleo:
milestone: pike-rc1 → queens-1
Revision history for this message
Alex Schultz (alex-schultz) wrote :

Has this been fixed with our nodepool mirror work?

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
Revision history for this message
Natal Ngétal (hobbestigrou) wrote :

I'm not sure this ticket is relevant now, a lot of things changed since then. But it should be tested.

Revision history for this message
Emilien Macchi (emilienm) wrote : Cleanup EOL bug report

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (FUTURE, PIKE, QUEENS, ROCKY, STEIN).
  Valid example: CONFIRMED FOR: FUTURE

Changed in tripleo:
importance: High → Undecided
status: Triaged → Expired
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.