This patch adds the wheel mirror location for this particular operating
system/region combo to pip.conf.
Change-Id: I700aaceda2b263c7b2e4ba167a52862d08598108
Depends-on: Ic9b069313c7a4e105cd086bdc4516c6c5826d53e
Pip performs a case-sensitive comparison on the trusted host. Just
make sure all our hostnames are lower case.
Change-Id: I63a66978a599629cb713c2de99618455f40ed0cc
The configure_mirror script has been updated to point our nodepool
slaves at mirror.<region>.<cloud>.openstack.org/pypi rather than
pypi.<region>.openstack.org.
Change-Id: I895b419e7755f8ec0e5fa594eebc8f9d79d333ba
Depends-on: I3d7629d80fe1e8762344852fab4a942bc476b706
Rather than trying to sed pip.conf, just write the whole thing.
This means we don't have to wait for image updates anymore. It's
not clear to me why we didn't just do this once we started seding
it.
Change-Id: Ie6743e2a8f95f95cea19a0dbe9fceaedbff8bf94
This reverts commit 71d10ea626f5a62d6b48133e19f469b19c9a7f14.
It was unnecessary once the offending wheel got removed from PyPI,
and this never worked anyway. It was preventing the ability to boot
new nodes, erroring thusly:
./configure_mirror.sh: line 25: /tmp/pip.conf: Permission denied
Deleting the images to which the change was applied returned
nodepool to being able to boot new nodes again.
Change-Id: I0841c6a5a26cf5be22e2d8fea861bdceb0393842
Unlike before where the jenkins user was editing files that it owns in
its homedir the /etc/pip.conf editing needs root permissions since that
file is owned by root.
Change-Id: I485a08cb243cc0abf4c848e6061606b4320a59cb
We see occasional name resolution failures on our tests slaves. Before
marking any of these nodes as ready in nodepool check that we can
resolve git.openstack.org and the local pypi mirror on that node.
This should help in preventing tests from failing with these errors by
catching them early and help in debugging by centralizing all occurences
of these failures in the nodepool logs.
Change-Id: I48ec87141687c1f6cd53eaada350fc5ce52cdef4
The current configure_mirror.sh expects no-one
want to use other than openstack.org pypi mirrors.
Having the configure_mirror.sh to use a costum,
NODEPOOL_PYPI_MIRROR instead of NODEPOOL_REGION when defined.
It allows averyone to use his local pypi mirror, with his
nodepool.
Change-Id: I6f0bd3372be09ccf423caacff83e615038c96ec5
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.
Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3