15759 Commits

Author SHA1 Message Date
Monty Taylor
8af7b47812 Get rid of all-clouds.yaml
We had the clouds split from back when we used the openstack
dynamic inventory plugin. We don't use that anymore, so we don't
need these to be split. Any other usage we have directly references
a cloud.

Change-Id: I5d95bf910fb8e2cbca64f92c6ad4acd3aaeed1a3
2020-04-09 16:44:20 -05:00
Monty Taylor
579a0207b9 Trigger remote-puppet-else on hiera changes
These are important input data to puppet, so we should run the
job when they change.

Change-Id: I8398c8f4f6dc0ec1bb72ee040349bfc2232eed2e
2020-04-09 10:34:06 -05:00
Monty Taylor
a06a1329c5 Trigger everything on inventory changes
We can't really know what's changed in the inventory from a zuul
perspective, so it's safest to run everything if the inventory
changes. (This is especially important for being able to pulse
a backup setup, fwiw)

Change-Id: I13768ed2ee257c8175c378c58525a6c83654e83b
2020-04-08 10:46:55 -05:00
Monty Taylor
ee67e26b4a Remove ansible-cron role
Once the previous patch has landed and run on system-config
then we can remove the role altogether.

Change-Id: I14fef0e178544d71390a6601915c745647435ab9
2020-04-08 10:46:55 -05:00
Monty Taylor
589521fd18 Remove run_all.sh and ansible cron job
Remove the script and the cronjob on bridge that runs it.

Change-Id: I45e4d9713f3ba4760ba384d13487c6214d068800
2020-04-08 10:46:55 -05:00
Monty Taylor
c8aeaf8fd1 Run remote-puppet-else in zuul
Wow. It's the last one!

Change-Id: Ib064c8412a3df28790b9ef51d88c50d43de1842d
2020-04-08 10:46:52 -05:00
Monty Taylor
e7342c7e3e Run AFS in zuul
Change-Id: I5ea46cbf124006e38c045e2f93a19d33a9c3db91
2020-04-08 10:46:32 -05:00
Monty Taylor
4641a79aec Run gitea in zuul
Change-Id: Iaebcc1babcfc46c7765ab64f5e826f9e727a9298
2020-04-08 10:45:31 -05:00
Monty Taylor
6c2c31bcd5 Run review and review-dev in zuul
Change-Id: I6fa322110c729b43e0ca30f9e4fb38048246564c
2020-04-08 10:45:31 -05:00
Monty Taylor
1e79b848cd Rename ansible_forks to infra_prod_ansible_forks
ansible_forks is a magic var, so when we try to set it ansible
is overriding it.

Change-Id: I3ae45b28d545571f04b02927c3f6c97f145743bc
2020-04-08 10:45:29 -05:00
Monty Taylor
513da85123 Depend on infra-prod-update-system-config
It's not infra-prod-service-update-system-config.

Change-Id: Ic9a23a5954460e88d3d5d4ffaf0c9e3dafff2c66
2020-04-08 08:03:09 -05:00
Clark Boylan
dd2ba436f9 Become root when fixing bridge logging
We are writing to /var/log/ansible which needs root perms. This was not
done and the writes failed. Fix that.

Change-Id: Ibe93519f2f549e85f0e238a210999c6281f42ce6
2020-04-07 17:07:00 -07:00
Zuul
d708919903 Merge "Only run etherpad playbook on new server" 2020-04-07 22:52:51 +00:00
Zuul
dc90d40ec8 Merge "Add sytem-config-update and remove other deps from hourly" 2020-04-07 22:32:15 +00:00
Zuul
960b9d7bbd Merge "Improving logging of prod playbook jobs" 2020-04-07 22:07:27 +00:00
Monty Taylor
a0a0341b36 Only run etherpad playbook on new server
This doesn't want to run on etherpad.openstack.org.

Change-Id: Ib01a0f57b1d1bd1b3faccb7389c53e7a2835793a
2020-04-07 16:59:37 -05:00
Zuul
4aa17cc20a Merge "Add IRC logs and ML subscribe links to opendev.org" 2020-04-07 21:49:23 +00:00
Monty Taylor
38484fcc3b Add sytem-config-update and remove other deps from hourly
We need to make sure we're updating system-config before running
the playbooks, but we don't need to do the other things on the
hourly timer.

Change-Id: Ic2ddb8108626f629664709727b3f7eeaf48ddce8
2020-04-07 16:30:31 -05:00
Clark Boylan
c5263d76c9 Improving logging of prod playbook jobs
This updates prod playbook jobs to curate a set of logs on bridge if we
aren't publishing them to zuul. This way we have history on the bastion
server.

Change-Id: I73889754155298a8554ddc17bb413ae7764b9eae
2020-04-07 14:10:32 -07:00
Zuul
31602b6fb4 Merge "Update typo on infra-prod-service-letsencrypt" 2020-04-07 20:19:31 +00:00
Zuul
7e9bcf0af5 Merge "Remove leftover /var/run dir creation" 2020-04-07 20:09:21 +00:00
Monty Taylor
b0c0252f55 Remove leftover /var/run dir creation
This was added for a previous unlanded version of a change and
never removed. Oops.

Change-Id: I6006198dafac611c8ae1e2a6efcaddf5b9a60c8d
2020-04-07 13:53:13 -05:00
Monty Taylor
9eaf6d1a8f Update typo on infra-prod-service-letsencrypt
We've got infra-prod-letsencrypt. That's not a thing.

Change-Id: I8eafdaace521e7aa3e7b2eb3969303c77b7b79c9
2020-04-07 13:45:31 -05:00
Monty Taylor
907bb41b31 Run zuul and nodepool related deploys hourly
We can't trigger these on zuul image publication yet, so to not
regress from the hourly run_all cron, run a few of the jobs
hourly.

Depends-On: https://review.opendev.org/717063
Change-Id: I9d502d368c33306ee32da572db1fe8ccd8b066b3
2020-04-07 13:41:27 -05:00
Jeremy Stanley
aacbe7a226 Add IRC logs and ML subscribe links to opendev.org
Folks looking at the contact section of our Web site may want to
subscribe to the mailing lists we mention there, so provide handy
hyerlinks enabling them to do that. Also add a link to the IRC
channel logs (partly to balance out the bullet list).

Change-Id: Ib3a1ca47b794f84029b3aff43c7a284fc470b7f1
2020-04-07 18:35:54 +00:00
Zuul
39dbc4f329 Merge "Run zuul-preview in zuul" 2020-04-07 18:06:49 +00:00
Zuul
b3b8391f45 Merge "Make a new dockerized etherpad.opendev.org" 2020-04-07 18:06:48 +00:00
Zuul
752189234c Merge "Mention new mailing lists" 2020-04-07 17:47:23 +00:00
Monty Taylor
b23515c623 Make a new dockerized etherpad.opendev.org
Upstream likes building the settings file into the image, but that's
less exciting, let's bind-mount ours in.

Depends-On: https://review.opendev.org/717491/
Change-Id: Ia1894d884ef2a84e1282345b77fe07bf8898f367
2020-04-07 11:10:57 -05:00
Monty Taylor
3e175c40d0 Disable log collection pending further auditing
We need to default to false so that we can audit logs and then
enable them individually.

Change-Id: Iadb1f8f56ef43d1f35ca080318af22008525b643
2020-04-06 13:23:25 -05:00
Jeremy Stanley
8641302459 Mention new mailing lists
The OpenDev community is moving its discussions off the old
openstack-infra mailing list, so make sure to refer to the correct
new address(es).

Change-Id: I558b60ea0aa3421285d46be449f04198441cf285
2020-04-06 18:19:28 +00:00
Zuul
dacd5633af Merge "Run puppet on old nb0[1-3] in nodepool playbook" 2020-04-05 22:58:37 +00:00
Zuul
b474879c03 Merge "Correct launch readme link" 2020-04-04 19:46:53 +00:00
Zuul
ddb9a92435 Merge "Run registry in zuul" 2020-04-03 22:08:38 +00:00
Zuul
cfc58619af Merge "Run backup in zuul" 2020-04-03 22:08:36 +00:00
Zuul
b203446174 Merge "Add file matchers for roles used via include_role" 2020-04-03 22:08:34 +00:00
Zuul
6b6104b8e8 Merge "Run static in zuul" 2020-04-03 22:08:32 +00:00
Zuul
f4fd151f27 Merge "Run mirror in zuul" 2020-04-03 22:08:30 +00:00
Zuul
272f320989 Merge "Run nameserver in zuul" 2020-04-03 21:55:17 +00:00
Zuul
2ea1ba1987 Merge "Run mirror-update in zuul" 2020-04-03 21:55:15 +00:00
Zuul
2a0274dff5 Merge "Run meetpad in zuul" 2020-04-03 21:51:44 +00:00
Monty Taylor
544b75ad2f Run puppet on old nb0[1-3] in nodepool playbook
We still need to run puppet here until they're replaced, but
we're triggering service-nodepool on project-config nodepool
changes. So run the puppet.

Change-Id: Ib0bdaeee98e19921b8c4117c12f8a0c05e64af57
2020-04-03 16:15:11 -05:00
Monty Taylor
de71a92981 Switch to deploy pipeline for deployments
The use of files matchers makes doing the infra-prod playbooks
in the promote pipeline problematic, because the deduplication
of changes can elide out changes that match a different set of
files, thus causing jobs to not trigger.

Use deploy instead.

Depends-On: https://review.opendev.org/717353
Change-Id: Ief53395eca1c1e6c711e689aa02abe95d81fd7e1
2020-04-03 12:27:52 -05:00
Zuul
cc8e08edeb Merge "Run nodepool in zuul" 2020-04-03 13:47:53 +00:00
Zuul
c0b0c28090 Merge "Run letsencrypt in zuul" 2020-04-03 13:47:52 +00:00
Zuul
72aa41b1fe Merge "Migrate gitea-lb to zuul" 2020-04-03 13:44:45 +00:00
Zuul
b255ea9436 Merge "Run service-bridge in zuul and semaphore everything" 2020-04-03 13:42:13 +00:00
Zuul
6d8409f46e Merge "Grab logs in the case of errors" 2020-04-02 23:14:14 +00:00
Zuul
7ca32aa4d8 Merge "Add zone keys to zuulcd user" 2020-04-02 23:14:01 +00:00
Zuul
f7145aa03e Merge "Replace incident channel with opendev-meeting" 2020-04-02 22:30:04 +00:00