4756 Commits

Author SHA1 Message Date
Ian Wienand
4fa823414c Add puppet6 to apt-updates
Follow-on to I30385fcf59627bf6345f8c651941ddf31bec32e2

Change-Id: I5b91c9139f9871ac0e4b3db697eb0e69bb58c089
2018-10-30 12:27:29 +11:00
Zuul
e9d4430fa5 Merge "modules: mirror: opensuse: Ensure that old distros are wiped from mirrors" 2018-10-08 16:38:38 +00:00
Jeremy Stanley
a8a59b479d Update cache-stats.sh to include the port 80 proxy
Adding cache stats for port 80 requires a little refactoring to
account for the lack of a port number in the 80/tcp (default port)
proxy logs. This also slightly alters the output for the sake of
keeping the script simple.

Change-Id: I431a54445ff5bcb7f4a38bd30b73f00e4d7892f7
2018-09-24 20:31:05 +00:00
Markos Chandras
6975d7168a modules: opensuse-mirror: Switch to US mirror for OBS repositories
The GWDG mirror is heavily outdated and this is impacting the infra
mirrors. As such, lets switch to a US mirrors which is also maintained
by the openSUSE project in order to resolve the problem.

Change-Id: I62c17c8ddf2f7b900a76ce6e06030ec61dc3fd08
2018-09-19 10:04:08 +01:00
Markos Chandras
959175a81d modules: mirror: Mirror the openSUSE Rocky repository
We should mirror the new Rocky repository similar to the Queens and
Master repositories.

Change-Id: I7f3f6fc5ff497f301cddd6214bf522e6436a764c
2018-09-11 09:55:26 +01:00
Markos Chandras
72568cbfce Revert "Use Kernel.org mirror for OpenSUSE"
This reverts commit de9c7a7c6b22813f2c0d742d61f93a4d0eec9eb8.

The kernel.org mirror is outdated again so we switch to another US
mirror that seems to be up to date.

Change-Id: Iaffc1fa94ea0e01c62b38ce1870b6c40c0c8fb7b
2018-09-07 17:58:20 +01:00
Markos Chandras
ba7e8bbc1f modules: mirror: opensuse: Ensure that old distros are wiped from mirrors
Mirrors still contain repositories from distributions which we do not
mirror anymore. As such, lets make sure that we wipe them if necessary.

Change-Id: I35f7e1659ab4e22fb4ef6c1b5673085354df4050
2018-09-07 11:27:01 +01:00
Dirk Mueller
447baf2c60 Skip occassional issues with mirroring openSUSE:Factory:Update
Thats a minor repo, and normally entirely empty. We should
be able to ignore syncing issues and still release the rest
of the AFS store successfully.

Change-Id: I96516cb8fef6ea1bdd0cf53799202e365b46142c
2018-09-06 09:57:28 +02:00
Andreas Jaeger
c5a9e3793b Remove obsolete pypi-mirror
We do not use pypi-mirror anymore, there's also no usage of pypimirror
in jeepyb. Remove the now obsolete module.

Related change: https://review.openstack.org/597370/
Change-Id: I13423bf55eac57da18449852e2102c9633d595bb
2018-08-29 09:00:36 +02:00
Wes Hayutin
69b78eea04 allow cr repo mirror for early testing
The continuous release centos repo allows
for early testing against pre-released rpms
and updates to minor releases. This is
quite handy when trying to prevent jobs from
going down when CentOS is updated.

https://wiki.centos.org/AdditionalResources/Repositories/CR

Related-Bug: #1788675
Closes-Bug: #1789218
Change-Id: I56e346376976f890899de0cfb47b0612fa5fbb84
2018-08-27 11:25:17 -04:00
Zuul
1da69972ca Merge "Clean up puppetmaster puppet config handled by ansible" 2018-08-17 22:28:25 +00:00
Clark Boylan
aa65ac21c7 Remove unneeded ssl cert expiry check
We don't manage the ssl cert (or anything else) on
openstackid-resources.openstack.org. Lets stop checking when its cert
expires as it appears to have auto renewing short term cert validity
(which results in a lot of email).

Change-Id: I9f08a09d76b2862de89a6ee022ade1ac637d9aeb
2018-08-17 09:56:14 -07:00
Monty Taylor
c716240692
Clean up puppetmaster puppet config handled by ansible
We have a bunch of this handled now in ansible, so remove the old stuff.

Remove puppetmaster group management files. It's confusing for there to
be two files. Remove the old one.

Remove mqtt config. This isn't really a thing currently, and we're
eyeing running things from zuul anyway, so no need to port to ansible.

Change-Id: I8b64d21eadcc4a08bd5e5440fc5f756ae5bcd46b
2018-08-17 11:53:52 -05:00
Mohammed Naser
de9c7a7c6b Use Kernel.org mirror for OpenSUSE
The mirror that we were using seems to be out of date and not
properly updated, causing jobs to fail.

This fixes this issue by updating from the mirror from Kernel.org
which seems to stable and it has all the needed updated packages.

Change-Id: I079d9dd8a34e24b33ee35d4dad934e8ca4b60cee
2018-08-17 10:40:51 -04:00
Monty Taylor
bab6fcad3c
Remove base.yaml things from openstack_project::server
Now that we've got base server stuff rewritten in ansible, remove the
old puppet versions.

Depends-On: https://review.openstack.org/588326
Change-Id: I5c82fe6fd25b9ddaa77747db377ffa7e8bf23c7b
2018-08-16 17:25:10 -05:00
Monty Taylor
245609bc95
Remove bridge from disabled and add puppet group
Instead of just having bridge be disabled, make a puppet group that it's
not a part of and switch the remote_puppet_else playbook to use that.

Change-Id: Ifb96ce483fc5675d095723bda70242a425bdc619
2018-08-15 08:43:23 -05:00
Zuul
6b8120a62b Merge "Turn the future parser on for etherpad-dev" 2018-08-13 23:09:58 +00:00
Colleen Murphy
4b5feca5cc Turn the future parser on for etherpad-dev
The puppet 4 tests are passing for etherpad_lite so let's try it out for
real.

Depends-on: https://review.openstack.org/590023

Change-Id: Ia91bd3950c9f48505a3024a16300091cf42d7f69
2018-08-09 21:34:23 +02:00
Markos Chandras
0bd1e536d7 modules: mirror: Mirror the openSUSE Cloud Master repository
The Cloud Master repository contains the packages for the development
cycle so we should mirror that in order to minimize our dependency to
external resources. This brings openSUSE closer to the rest of the
distros which use the bleeding edge repositories for the CI.

Change-Id: Id087b0712887061bbc30187534820858b0c99a19
2018-08-06 11:05:36 +01:00
Zuul
4c71367d59 Merge "Add base playbooks and roles to bootstrap a new server" 2018-08-03 21:43:15 +00:00
Monty Taylor
0bb4232586 Add base playbooks and roles to bootstrap a new server
We want to launch a new bastion host to run ansible on. Because we're
working on the transition to ansible, it seems like being able to do
that without needing puppet would be nice. This gets user management,
base repo setup and whatnot installed. It doesn't remove them from the
existing puppet, nor does it change the way we're calling anything that
currently exists.

Add bridge.openstack.org to the disabled group so that we don't try to
run puppet on it.

Change-Id: I3165423753009c639d9d2e2ed7d9adbe70360932
2018-08-01 14:57:44 -07:00
Zuul
d148f5f8ef Merge "Turn on future parser for ask-staging.o.o" 2018-08-01 20:30:43 +00:00
Zuul
23a47d5602 Merge "Put bridge.openstack.org into disabled group" 2018-07-31 22:29:34 +00:00
Monty Taylor
50bf5e316c
Put bridge.openstack.org into disabled group
We don't want to run puppet on it, but the next patch might take
slightly longer to land.

Change-Id: I9daef72c2641f5451647eb0389790dee6c4746be
2018-07-31 16:46:53 -05:00
Colleen Murphy
7c7ae48781 Turn on future parser for ask-staging.o.o
Although a few issues have been uncovered for askbot on Xenial or in
testing scenarios with SSL parameters, those shouldn't affect the
production trusty nodes, so flip the switch for ask-staging.

Change-Id: I5603fae2ea7bb67d233939323fa38816cd5aa016
2018-07-31 14:09:45 -07:00
Colleen Murphy
7f4ae5e4e1 Turn the future parser on for codesearch.o.o
The hound module tests are passing on puppet 4[1] so let's flip the
switch.

[1] http://logs.openstack.org/33/582533/1/check/puppet-beaker-rspec-puppet-4-infra/1300a8f/job-output.txt.gz

Change-Id: I0b5b2272e3cd1b6076248b0c16fd9904bd1436d6
2018-07-24 09:12:28 +02:00
Colleen Murphy
4edd67c282 Turn on the future parser for groups.o.o
This patch adds groups.o.o to the futureparser ansible group to have
ansible set parser = future in its puppet.conf.

Change-Id: I5a59f5855c42372cd16682ea7cb859c0ed38fa1d
2018-07-24 09:12:03 +02:00
Colleen Murphy
e846b244ef Turn on the future parser for graphite.o.o
The beaker tests for puppet-graphite pass with puppet 4[1] so let's flip
the switch on the parser.

[1] http://logs.openstack.org/22/582022/1/check/puppet-beaker-rspec-puppet-4-infra/eba2276/job-output.txt.gz

Change-Id: Ib1954a1c62e75cd22319438adc1fb4992d705b9d
2018-07-24 09:12:03 +02:00
Colleen Murphy
07ab7b835c Turn on the future parser for groups-dev
This patch adds groups-dev to the futureparser ansible group to have
ansible set parser = future in its puppet.conf.

Change-Id: Ide789a7f5751714adb913ebc50e965f21f09bc48
Depends-On: https://review.openstack.org/584341
2018-07-23 21:46:11 +02:00
Colleen Murphy
089c63f1a7 Use the future parser for review-dev.o.o
This change will configure puppet.conf with parser = future to turn on
the future parser with puppet 3 on review-dev.openstack.org without
upgrading puppet.

Change-Id: I36833385b94ba37823abe59936ccc11a98f36f52
2018-07-19 19:41:11 +02:00
Zuul
181bf83356 Merge "Make links in CI results optional" 2018-07-08 14:24:14 +00:00
Zuul
4a5bb85268 Merge "Add script to grab cache stats on mirrors" 2018-07-05 21:46:59 +00:00
Clark Boylan
a1661a8ee1 Update certcheck to include new domains
We have new domains hosted as vhosts on git.openstack.org. Add
certchecks for them. Also add zuul-ci.org.

Change-Id: I462d8464707d6427b4d88528a7914e03f184a89b
2018-06-27 14:00:17 -07:00
Ian Wienand
94ad759b2e More minor debian-security mirror fixes
As a follow-on to Ic33bca431ae19b44e5bc2938de425cc68785b331
... (reprepro configuration really is quite inscrutable outside "try
it and see if it works")

The update is just called "debian-security", no codename.

We want to use the debian-security key to validate the gpg signatures,
update that.

Use the "updates" suite, which seems to be where debian-security is

Add the symlink for mirror

Change-Id: Ice2a06f4274cdad766f427df70d9fe3e92f62e8c
2018-06-26 20:15:55 +10:00
Zuul
2ba50994b0 Merge "Add debian-security mirror" 2018-06-25 23:56:38 +00:00
Mohammed Naser
3338761d3b Drop ubuntu-mariadb mirror
The mirror was put in place for OpenStack Ansible however the project
is not consuming it anymore.  In the parent change of this commit, the
addition of a reverse proxy cache will be used instead in the project
and it will allow usage across all distributions.

Change-Id: I30bd6b658d87abc765b5caee5003e387981850b4
2018-06-21 20:20:41 -04:00
Ian Wienand
3affa6c066 Add debian-security mirror
As a follow-on to Id918597aecc5114791811c7f30b6109da6a8d0af, re-add
the debian-security mirror.  We have problems with transparent caches
getting to http://security.debian.org, and it doesn't have https, so
we really need this cached locally for reliable operation.

This adds debian-security as a separate mirror due to the conflicts we
saw in the prior change.

The keys are updated for stretch (check against
https://ftp-master.debian.org/keys.html)

Change-Id: Ic33bca431ae19b44e5bc2938de425cc68785b331
2018-06-22 08:43:51 +10:00
Jeremy Stanley
02e4eb0fa8 Finish switching to using new ansible inventory
Change I76b1099bf0cf3bfead17f96e456cdce87d0e8a49 altered the name of
the inventory script, so reflect that in the corresponding
subprocess call in launch-node.py and a comment in the
expand-groups.sh script.

Change-Id: I4c2c762716813b5d59dcc1b623f5988c8aa7d490
2018-06-18 18:27:34 +00:00
Zuul
7d16a16ca7 Merge "Mirror Ceph Mimic for Debian based" 2018-06-18 05:21:52 +00:00
Clark Boylan
9fa18b4954 Add script to grab cache stats on mirrors
This is a first step in exposing cache hits and misses statistics. This
will grab raw numbers that we can publish or do other crunching on.

Change-Id: Id306f4cc71f48a7ced49fdba8824b533b78e0561
2018-06-15 17:28:55 -07:00
Ian Wienand
d514389e41 Convert haproxy-statsd to a pipeline send
By default this sends out each stat in a single UDP packet.  I found
with the AFS monitoring, blasting these out in very quick succession
can result in stats getting lost fairly easily.

statsd's pipelines are really designed for this.  It batches up all
the stats and then sends them out combined in reasonable MTU sized
chunks.

Change-Id: Ife520d549da3a1a667be15e95a747e313825ac20
2018-06-12 10:10:18 +10:00
Zuul
4762cf78c2 Merge "Update Zuul Status Page to correct URL" 2018-06-04 00:46:25 +00:00
Tobias Urdin
046e793cd4 Mirror Ceph Mimic for Debian based
Ceph Mimic is now release and the official mirror
is available. This adds the Ceph Mimic mirror so we
sync the version for Stretch, Xenial and Bionic.

Change-Id: Id358d657b6d1daed3bc72447fa94aef198928e50
2018-06-03 23:20:49 +02:00
Zuul
81b88ef7fb Merge "Drop opensuse pike repo clone" 2018-06-01 07:32:12 +00:00
Zuul
eea6c0e468 Merge "This patch impliments the survey spec: I3c389596373b94459a32a4e540d514a2941acbb1" 2018-05-31 19:46:25 +00:00
Ian Wienand
b46aae8b5e Drop opensuse pike repo clone
This repo isn't available for the new 15 release.  As we're migrating
away from 42.3 just remove the repo so the mirroring works.

Change-Id: I2f5877f6b179cacfdf3c05aa7d00a6e7652d596d
2018-05-31 10:21:01 +10:00
Zuul
fdd7261b59 Merge "openstack_project: opensuse: Fix OBS repository url" 2018-05-30 21:30:51 +00:00
Markos Chandras
fa9ab2c992 openstack_project: opensuse: Fix OBS repository url
We should only clone packages from the distributions we are interested
in instead of everything that's being published by OBS. This also adds
support for mirroring packages for the latest openSUSE Leap release
(15.0)

Change-Id: Ie7cf6b4bdc8d92e95131b899433527cfea8a4b2a
2018-05-25 14:31:05 +01:00
Vu Cong Tuan
07ccb8444f Update Zuul Status Page to correct URL
Current URL of Zuul Status Page in doc is:
http://status.openstack.org/zuul/

The correct URL must be:
https://zuul.openstack.org/

Change-Id: I042c53ee49b9ac08504a56ca56adaacd3d9a4548
2018-05-25 08:22:58 +07:00
Anita Kuno
06bbf62fc4 This patch impliments the survey spec:
I3c389596373b94459a32a4e540d514a2941acbb1

Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
Change-Id: Iad9e5bde37c467b9930c354f4d0b312b219d05b3
Story: 2000691
Task: 3164
2018-05-11 17:02:29 -04:00