Commit graph

858 commits

Author SHA1 Message Date
David Shier
c0f45892ff Removed all traces i could fild of the tagger and statscache (and stats_cache for databases) in ansible, proxy configs, and the nagios config. Pursuant to request in pagzre issue https://pagure.io/fedora-infrastructure/issue/7267 . - Odin2016 2018-10-03 17:50:38 +00:00
Clement Verna
913ff566ec Add a tag to rebuild the search index
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-09-26 09:13:37 +02:00
Jan Kaluža
d9191fee97 ODCS: Use fedmsg-hub-3 also in manual upgrade playbook. 2018-08-30 13:48:02 +00:00
Mikolaj Izdebski
9f8b52eb32 Copr upgrade: don't stop httpd unless packages were actually upgraded 2018-08-27 19:30:08 +00:00
Mikolaj Izdebski
dbf227b155 Add copr upgrade playbook 2018-08-27 14:25:37 +00:00
Kevin Fenzi
49b55c8d46 disable sigul-server role for now until we land 1.0 stuff 2018-08-24 22:04:28 +00:00
Randy Barlow
7c9d54cc6f Don't worry about interrupting composes in staging Bodhi.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-08-22 19:04:29 +00:00
Kevin Fenzi
fe70c2cb9f this is a variable, not a string 2018-07-25 18:03:53 +00:00
Patrick Uiterwijk
12037c9188 Do not use slashes in suffix
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-07-25 17:48:11 +00:00
Adam Williamson
5af3c19681 Let's just have one of those playbooks...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-07-24 12:47:08 -07:00
Adam Williamson
ab7d81f822 Add convenience playbooks for restarting openQA worker services
This is something I have to do every so often and it's an awful
pain doing it by hand these days given how many boxes there are,
so this seems smarter...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-07-24 12:43:44 -07:00
Rick Elrod
4a60ddc875 Nuke pkgdb some more... and probably break everything.
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-07-19 20:40:14 +00:00
Michael Scherer
a726d457f0 Do not use a predictable directory name
This is a potential security issue since /var/tmp is world writable,
and so /var/tmp/badges-tempdir could be prefilled with a malicious
repo. Malicious meaning:
   - one that would have open permission (so git pull do not fail)
   - with a hook triggered on update of the git repo (like pre-rebase)

Since the playbook is running as root, this is bad (tm)
2018-07-11 11:40:35 +02:00
Mikolaj Izdebski
7a6d0c6caf Inhibit warnings about running dnf directly during Koschei upgrade 2018-07-10 17:14:35 +00:00
Kevin Fenzi
5afb825376 add some infrastructure for delete request handling 2018-06-19 18:14:45 +00:00
Jeremy Cline
bf5d428985 Bump the worker count to 6 for FMN 2018-06-11 19:07:52 +00:00
Jan Kaluža
683c3023f9 Uprade odcs-stg to latest ODCS 2018-05-28 08:25:38 +00:00
Mikolaj Izdebski
30533d7315 Create /mnt/koji/compose/updates in stg koji 2018-05-22 21:33:35 +00:00
Mikolaj Izdebski
0891cde047 Fix bodhi principal in stg koji 2018-05-22 21:22:13 +00:00
Mikolaj Izdebski
8fc148dfec koji-sync: stop nfs before nuking /mnt/fedora_koji 2018-05-22 20:47:13 +00:00
Mikolaj Izdebski
bfd5c44862 Revert "Install mbuffer on db-koji.stg"
This reverts commit 631c617764.
2018-05-22 19:23:37 +00:00
Mikolaj Izdebski
631c617764 Install mbuffer on db-koji.stg 2018-05-22 14:51:56 +00:00
Mikolaj Izdebski
56526fbbb5 Fix wrong task name 2018-05-22 14:49:38 +00:00
Patrick Uiterwijk
bbe4033615 Implement a workaround for huge sar results. Don't judge
This avoids Ansible having to cache the full stdout.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-18 11:59:25 +00:00
Patrick Uiterwijk
e4a557815b No need for the renaming
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-18 11:47:42 +00:00
Patrick Uiterwijk
6022392806 /usr merge was only in EL7+. We still have some EL6
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-18 10:11:39 +00:00
Patrick Uiterwijk
bba28c10eb Fix var locations
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-18 10:08:36 +00:00
Patrick Uiterwijk
7c2d7e1612 Typo
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-18 10:05:50 +00:00
Patrick Uiterwijk
953c457dfd Let each SAR play write as soon as it can
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-18 10:05:13 +00:00
Patrick Uiterwijk
1007e7f3d5 Write SAR output while running, so we do not accumulate everything in memory
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-18 12:02:02 +02:00
Randy Barlow
005c9e1dee Bodhi's staging-sync playbook now also uses the openshift_pods var.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 18:37:22 +00:00
Randy Barlow
9eb8e83976 Make my migrations fact be wrapped in quotes.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 18:32:48 +00:00
Randy Barlow
0411e846d1 Use a less strict string test to see if we need to run migrations.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 18:26:16 +00:00
Randy Barlow
dbfae1d065 Apparently Ansible doesn't have groupvars.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 17:55:30 +00:00
Randy Barlow
a9e76aa4c8 Bodhi's OS playbook always scales up at the end.
Also, use the OS master group vars instead of host names.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 17:50:19 +00:00
Randy Barlow
07437cbf7a Always scale up Bodhi pods after upgrades.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 17:42:28 +00:00
Randy Barlow
488e718455 Give Bodhi grous vars for how many OpenShift pods to run.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 17:40:47 +00:00
Randy Barlow
5f616ef1c5 lockfile was renamed to composes in a prior commit.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 17:22:32 +00:00
Randy Barlow
20472c9ce5 Fix a yaml parsing issue.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 17:14:22 +00:00
Randy Barlow
0322d00180 Don't escape string quotes.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 16:23:14 +00:00
Randy Barlow
26e8e02922 Stop Bodhi's pods when there are migrations to run during upgrade.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 16:13:19 +00:00
Randy Barlow
a4991341c9 Do not run a Bodhi upgrade if there are composes in progress.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-17 15:07:13 +00:00
Mikolaj Izdebski
29f3682334 Koschei doesn't need to know dist-git branches any longer 2018-05-17 08:45:01 +00:00
Mikolaj Izdebski
746b086e78 Create collection during non-BDR Koschei sync 2018-05-17 08:42:55 +00:00
Mikolaj Izdebski
a8a0166171 Try to fix syntax 2018-05-17 07:18:38 +00:00
Mikolaj Izdebski
55c4cadb0d Comment out Koschei BDR sync for now 2018-05-17 07:17:28 +00:00
Mikolaj Izdebski
411998beb7 Make Koschei staging sync work with both BDR and non-BDR DBMS 2018-05-17 07:14:21 +00:00
Ricky Elrod
49a651e0d7 again
Signed-off-by: Ricky Elrod <relrod@redhat.com>
2018-05-15 22:58:56 +00:00
Ricky Elrod
701c6d851a ansible betrayed me
Signed-off-by: Ricky Elrod <relrod@redhat.com>
2018-05-15 22:57:56 +00:00
Ricky Elrod
776e17e5d9 use the right users
Signed-off-by: Ricky Elrod <relrod@redhat.com>
2018-05-15 22:51:40 +00:00