Since this image is going to be short lived, we don't want to add
ubuntu-precise AFS mirrors for ubuntu packages.
Change-Id: I0dc0e6bbb9f695584945056528cfb7e02793bdcd
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Reprepro now as local repos for xenial-updates and xenial-backports on
our mirrors. Lets use them now.
Change-Id: Ic1dbb9cf7e041ecce1a872386e0e3ce15757e261
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Because reprepro will not mirror repositories with 0 packages,
xenial-backports, xenial-updates, xenial-security are missing from
AFS. Until we have them populated, we'll only configure APT to use
the xenial mirror.
Change-Id: Id4d788097ae4e1a5d0f13cb84a46fbb9ac9a839e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This reverts commit 468f17c4f6afac507dba9d4783c7da6fde24f656.
This isn't working on fedora-23 or centos7 slaves for some reason making
it very difficult to get those nodes ready. Revert in order to do more
testing across the platforms.
Change-Id: I634e784b71a2d92a745f8d9c89532e953f48b9cf
Update iptables rules to allow slaves to talk to themselves over their
known IP addresses. This should allow services to listen on public or
private addresses in addition to the loopback address and talk to those
services over these IPs.
Specifically this should address a problem with rabbitmq coming up on
the public IP but not being able to talk to it due to iptables.
Change-Id: If851eb8ce97ca0c0c113f0a924ec0916c993cf87
This patch adds Debian Jessie diskimage-builder image to nodepool.
debian-packageinstall element is based on debian-minimal and provides
additional required packages, change is introduced in
I9486b1356eac74272e79655c9024d86ee486628c
Depends-On: Ic39ba2b5ceb5018efb75742547b2babf80827e56
Depends-On: I7a661c8b5d4bb632eb32b5018c55474c1c66a4e8
Depends-On: I4a5a8352388de46e9e7713fa11951fcde27eaad9
Change-Id: I851cb47e844a72a430b578dd63d8b230ee6e3ed9
Co-Authored-By: Igor Belikov <ibelikov@mirantis.com>
Now that we have per-region apt mirrors for ubuntu, we should use them.
As part of doing that we need to disable looking for i386 packages since
we do not mirror nor use those - and we need to tell APT to not check
the GPG signatures of our mirror archive since we're not signing it.
We don't need multiverse or restricted in the gate, and they also
contain non-free software. Remove them from our configuration.
Change-Id: I26f5fc5cec224cf4f4ea361e0f71cecbf320fbb0
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