15322 Commits

Author SHA1 Message Date
Ian Wienand
c3c96d3797 Add Linaro US cloud
Add the credentials for the newly provisioned us.linaro.cloud cloud

Change-Id: I0b81a8eeabec4e0b00258dc4e499c1d449b21681
2020-01-22 06:44:01 +11:00
Ian Wienand
8296bf450c Remove unused linaro credentials
As a follow-on to Ie37abb4fd3eb3342b66ade52ab65024c420d7264 remove the
linaro credentials that were related to the (now removed) linaro-cn1
cloud.

Change-Id: Ia1e8dd3732164708c2e9fd82509e350829c438ba
2020-01-21 14:13:31 +11:00
Andreas Jaeger
d0f59d19cc Remove openstackci-images for ubuntu-trusty
We're retiring ubuntu-trusty and thus do not need instructions on
uploading these images anymore, remove the openstackci-images section.

Change-Id: I2b1491836f29fa72bc6eda62e427084ac43b5e1a
2020-01-17 20:12:56 +01:00
Andreas Jaeger
9b2657527e Remove trusty testing
We do not have trusty nodes anymore, remove testing for it.

Change-Id: I1e464354b4c9e6d77a59c914d6d89f1837350b6e
2020-01-17 10:52:44 +01:00
Zuul
744a272cb2 Merge "Update python-base image upload job depends" 2020-01-17 00:11:13 +00:00
Zuul
3927db22c4 Merge "Add job dependencies to haproxy-statsd" 2020-01-17 00:11:11 +00:00
Zuul
4c4ec5760d Merge "Add roles for a basic static server" 2020-01-16 23:54:46 +00:00
Zuul
ffe334c78c Merge "Replace skip with errors=ignore" 2020-01-16 23:46:31 +00:00
Zuul
37639dd2b5 Merge "Add quick script for cleaning boot from volume leaks" 2020-01-16 23:16:00 +00:00
Zuul
8e75bf4416 Merge "Switch to collect-container-logs" 2020-01-16 23:13:19 +00:00
Zuul
802fd35cd5 Merge "Better checking for tags when cloning puppet modules" 2020-01-16 23:01:33 +00:00
Zuul
44935bca39 Merge "Add notes on manual host configuration runs" 2020-01-16 22:53:05 +00:00
Monty Taylor
9e57b3b3b7 Update python-base image upload job depends
We've got a copy-pasta error here with upload jobs depending on
build jobs.

Change-Id: I0d3e0c359bbabc46c1d177d0369658d0b6d673f9
2020-01-17 06:50:40 +08:00
Monty Taylor
99c3fbff78 Add job dependencies to haproxy-statsd
haproxy-statsd uses opendevorg/python-base already. Add that to its
job dependencies and make sure it triggers on updates to python-base.

Update the FROM line to be fully qualified.

Change-Id: I9c8e8094f5570bf44076915610cd1be6d95ed326
2020-01-17 06:50:19 +08:00
Ian Wienand
161906647b Replace skip with errors=ignore
Upstream deprecated "skip:" in preference of errors="ignore" [1].
Update playbooks to silence deprecation warning

[1] e17a2b502d

Change-Id: I72284f6ca8aaaa1ba5f94ad8e654d1b337ae762f
2020-01-16 22:34:09 +00:00
Zuul
12d9a02766 Merge "Switch nodes to xenial" 2020-01-16 20:43:30 +00:00
Ian Wienand
f5b5ee9336 Add roles for a basic static server
Basic implementation of the opendev static server, described in

 https://docs.opendev.org/opendev/infra-specs/latest/specs/retire-static.html

Change-Id: Ie1b92f06b71aa6069fe831b26ba1cc272ce4562c
Story: #2006598
Task:  #37757
2020-01-16 14:10:08 +11:00
Zuul
06096940e2 Merge "Revert "Enable gerrit replication.autoReload for review"" 2020-01-15 22:56:22 +00:00
Zuul
fd1f2596b9 Merge "Update registry testing to use LE" 2020-01-15 18:56:57 +00:00
Zuul
6489d40f7e Merge "Periodically release additional AFS volumes" 2020-01-15 17:05:15 +00:00
Zuul
a48be16f3e Merge "afs-client: move reduced cache to group variable" 2020-01-15 17:05:13 +00:00
Zuul
b5f9fbc65c Merge "Gracefully restart Apache after cert replacements" 2020-01-14 22:30:15 +00:00
Clark Boylan
6f62b38dbc Update registry testing to use LE
This was missed when converting the registry server over to LE in
production. We need to test it this way too.

Change-Id: Ic2a05ebeae6991b69c000d5269165a45a0c72d38
2020-01-14 13:50:13 -08:00
Jeremy Stanley
e5ceab1f7d Gracefully restart Apache after cert replacements
Apache doesn't have a reload, but it has something almost as good: a
"graceful" restart. This begins accepting connections while existing
ones wind down, rather than terminating them prematurely. Most
distributions (including the ones we use) map this to the "reload"
action of their SysV initscripts or SystemD service units for
Apache. As a result, we can be nicer to our users by applying the
"reloaded" state to the service module for it in our Ansible role
when Let's Encrypt SSL certs are replaced.

Change-Id: Iac3fad3d0d8216914d94a42f7705e07cef741847
2020-01-14 20:20:43 +00:00
Monty Taylor
6f3a2792cc Switch to ansible on review-dev
The review-dev service playbook should do everything now that
the puppet did. Update how we're running things.

Change-Id: I70303c48328ea6713c24bf9c6f63d4808d30b95c
2020-01-14 12:04:15 -06:00
Clark Boylan
3deef00ba9 Manage insecure-ci-registry cert with LE
This adds a new handler to restart the zuul registry to pick up the new
cert. We may want to consider updating zuul registry to accept a reload
of ssl config without restarting the service.

Depends-On: https://review.opendev.org/702050
Change-Id: I23f6bea68285bc7cb0d12224235eaa16f0d07986
2020-01-13 15:20:20 -08:00
Monty Taylor
2aebe4e09f Add quick script for cleaning boot from volume leaks
Sometimes we leak boot from volume volumes. This will clean them
up.

Change-Id: I45182c1dcad0cdcbc327aaef3a63d37947f8a66d
2020-01-10 16:55:07 -06:00
Clark Boylan
f30b39c769 Don't issue cert for zuul01.opendev.org
This name/host doesn't actually exist so don't try issuing a cert for
it. Instead only issue a cert for zuul.opendev.org.

Change-Id: I6c8eaa9280c3d6f070b8a1c79d850ee42e0e8d50
2020-01-10 10:13:02 -08:00
Zuul
a04eb94d41 Merge "Use zuul.opendev.org LE cert" 2020-01-10 16:34:00 +00:00
Mohammed Naser
e0c627d8a6 Switch to collect-container-logs
This change switches the post bits to use a new centralized
role to collect all container logs.

Depends-On: https://review.opendev.org/701867
Change-Id: I9e982b37518c22e6d5358f7604ebc7f56b0626e3
2020-01-09 19:47:22 -05:00
Zuul
2571b2c90f Merge "Provision LE cert for zuul.opendev.org" 2020-01-09 23:57:48 +00:00
Zuul
f3e9ec5024 Merge "Add arm64 to reprepro updates file for UCA" 2020-01-09 23:39:31 +00:00
Zuul
cc05e71ae7 Merge "Plumb through secure.config contents" 2020-01-09 23:07:10 +00:00
Zuul
e68e154956 Merge "Clean up review comments" 2020-01-09 22:42:22 +00:00
Jeremy Stanley
eec87262b2 Add arm64 to reprepro updates file for UCA
This was missed in the earlier change to add arm64 to the template
for individual distributions.

Change-Id: I0fd24fd6c3b48c2874c7f5690709fed20d1547cf
2020-01-09 21:35:05 +00:00
Clark Boylan
377d72f1ee Use zuul.opendev.org LE cert
This should only be merged once the cert is confirmed to be in place.

Change-Id: I44476ef5929470e92a9da1ca189bd5236eeb7d11
2020-01-09 11:40:12 -08:00
Clark Boylan
3981c02322 Provision LE cert for zuul.opendev.org
This provisions the cert but does not use it yet. We will do the
switchover once the cert is confirmed to be in place.

Depends-On: https://review.opendev.org/701819
Change-Id: I04fee48b9a79758527d8f9e8128c0fa915cd133e
2020-01-09 11:36:41 -08:00
Zuul
abf455e22b Merge "Use LE cert for git.zuul-ci.org" 2020-01-09 18:19:25 +00:00
Zuul
fe487524a9 Merge "Add insecure-ci-registry to ssldomains" 2020-01-09 01:01:58 +00:00
Zuul
85a4561536 Merge "Alphabetize ssldomains file" 2020-01-09 01:01:56 +00:00
James E. Blair
447b8513ea Use LE cert for git.zuul-ci.org
The cert has been issued.

This partially reverts commit 42c0d0696c738b701e486c2f7b3fc7069fa724bb.

Change-Id: I5f6c9d648a6fdfc3f9464c01f51d95c5cd72ed49
2020-01-08 16:14:26 -08:00
Zuul
e0f44a7ea1 Merge "Handle offline hosts in LE role" 2020-01-08 20:07:08 +00:00
James E. Blair
2c03fb1e98 Handle offline hosts in LE role
If a host is offline, Ansible will not have set the required txt
keys host variable for that host.  When the task to update the
dns master with new txt records runs, it will fail due to an
undefined variable:

  'ansible.vars.hostvars.HostVarsVars object' has no attribute 'acme_txt_required'

This supplies a default value so that in that case, the task may
proceed and other hosts will have their LE certs serviced.

Change-Id: I62efbe086d801d803b2f2c3223ece8f608c668a1
2020-01-08 10:21:53 -08:00
Clark Boylan
42c0d0696c Fix zuul-ci.org vhost cert paths
We were setting the cert file contents to the paths rather than updating
the paths to point at the new LE certs. Fix this by setting the _file
vars which update the path.

This includes a partial revert of the previous change to not switch
git.zuul-ci.org over to LE as we haven't provisioned an LE cert for it
yet.

Change-Id: I41c2aa1d03afba4ebf6378e9abf8276154666df7
2020-01-08 10:03:05 -08:00
Zuul
44ca7193ea Merge "UCA: mirror Ussuri packages" 2020-01-08 16:26:29 +00:00
Zuul
592012a199 Merge "Use LE certs for zuul-ci.org" 2020-01-08 16:07:41 +00:00
Marcin Juszkiewicz
dbdb8801f3 UCA: mirror Ussuri packages
Change-Id: Ia00b269deee91dbf681a2f6c025ff2691ff6ce3d
2020-01-08 15:58:33 +01:00
Jeremy Stanley
74dc37afaf Add insecure-ci-registry to ssldomains
The insecure-ci-registry.opendev.org service uses an X.509 cert on
5000/tcp, so we should track this to catch when it's going to
expire.

Change-Id: I5d18599e5b5b258ce158f964cb1ff95df6dc6d92
2020-01-08 00:17:39 +00:00
Jeremy Stanley
5d584942cf Alphabetize ssldomains file
The ssldomains file we use for our cert check is getting longish,
and sorting it will make entries easier to find.

Change-Id: Iad182ecee45274d6c8f336a97d20a3130e4b8abe
2020-01-08 00:16:02 +00:00
Zuul
6b37984a0a Merge "Update zuul-ci.org certs" 2020-01-07 23:48:17 +00:00