Commit graph

31296 commits

Author SHA1 Message Date
Pierre-Yves Chibon
6fdf5bd47f mirror_pagure_ansible: sync down the latest changes from upstream
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-01 13:59:31 +02:00
Adam Williamson
c1adee3cb7 openqa: drop scratch builds, drop hack
Scratch builds are installed now and seem to be working, so on
their way to updates-testing, so we don't need to specify them
here any more. Also drop the hack I put in to get the service
restart handler run.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-30 17:03:32 -07:00
Adam Williamson
e9c96f5b4d openqa: really fix the worker service loop this time (I hope)
Thanks mackerman on Freenode...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-30 15:43:26 -07:00
Adam Williamson
6566f6ba3f openqa/worker: try the |int fix for the loop here too
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-30 15:33:00 -07:00
Kevin Fenzi
d4192d6b12 fas server: just move the rest over from vars/RedHat.yml
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-30 22:30:18 +00:00
Kevin Fenzi
ebad3079ff fas server: base_pkgs_erase
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-30 22:27:50 +00:00
Kevin Fenzi
5923a55536 fas server: drop distro vars for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-30 22:25:32 +00:00
Kevin Fenzi
0b1841797f fas: iptables-services does not exist in el6, try and override base_pkgs_inst here for el6 hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-30 22:16:44 +00:00
Kevin Fenzi
abb7c64504 fas server: change admin bugzilla user to new fedoraproject.org
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-30 22:06:48 +00:00
Adam Williamson
d9d0048729 openqa/worker: abuse the scratch build stuff to trigger handler
I want this handler to run so I need to abuse something that's
gonna come up 'changed'.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-30 15:00:48 -07:00
Adam Williamson
c1b38b5ced openqa/worker: try and fix the service restart handler
It's failing and I don't see why, since I based this right on the
ansible docs. Maybe a |int will help?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-30 15:00:48 -07:00
Pierre-Yves Chibon
51d5016747 mirror_pagure_ansible: Change of plans, we're keeping ansible separate for now
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 21:57:59 +02:00
69deadceb7 taskotron: removing execdb from resultsdb role 2020-04-30 19:40:00 +00:00
Adam Williamson
26005bf805 openqa: correct scratch repo config filename
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-30 12:38:48 -07:00
Adam Williamson
ba8c7b49ff openqa: create repodata for scratchrepo
Whoops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-30 12:35:00 -07:00
Adam Williamson
255ce6ebad openqa/server: use jq for JSON comparison as json_diff died
Swiped from https://stackoverflow.com/questions/31930041/

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-30 12:33:50 -07:00
Adam Williamson
e6fe5f2598 openQA: flag new scratch builds for install on staging
These are current git bumps I'm testing before they go to
updates-testing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-30 12:23:57 -07:00
Adam Williamson
bb1525bdef openqa/{server,worker}: enhance package handling
This provides a mechanism for deploying scratch builds, and also
for controlling whether or not to install openQA and os-autoinst
from updates-testing.

I have been doing the scratch build thing for years already, just
manually by ssh'ing into the boxes. This is getting tiring now
we have like 15 worker hosts.

The scratch build mechanism isn't properly idempotent, but fixing
that would be hard and I really only intend to use it transiently
when I'm updating the packages, so I don't think it's worth the
effort.

This also adds a notification for restarting openQA worker
services when the packages or config are updated, and fixes the
worker playbook to enable the last worker service.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-30 12:23:57 -07:00
Pierre-Yves Chibon
6bec61e4dd mirror_pagure_ansible: Adjust the path to the fedora-messaging certs
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 21:23:24 +02:00
Pierre-Yves Chibon
3d0b04feb5 batcave: adjust the way the mirror_pagure_ansible role is called
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 21:20:54 +02:00
Pierre-Yves Chibon
051592f1cd batcave: add the mirror_pagure_ansible to the playbook
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 21:17:23 +02:00
Pierre-Yves Chibon
93cf23a2ae mirror_pagure_ansible: Add a role for this service
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 19:15:42 +00:00
6cf6b3ad7c taskotron: disable taskotron-client-hosts plays as first part of decomissioning 2020-04-30 18:48:47 +00:00
cd88c50724 taskotron: disable taskotron plays as first part of decomissioning 2020-04-30 18:44:14 +00:00
Pavel Raiskup
3116ad0f79 copr-fe: socket-timeout + request-time out seems to be the issue
https://pagure.io/copr/copr/issue/1364
2020-04-30 16:02:13 +02:00
Mohan Boddu
f75e31281e Adding releng odcs oidc token
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-30 13:12:16 +00:00
Pavel Raiskup
58f8584367 copr-fe: fix c&p typo in process name 2020-04-30 15:04:33 +02:00
Pavel Raiskup
436708be48 copr-fe: special process for /builds/ requests
... too.  Also prolong the deadline for packages and minimize the amount
of requests processed.
2020-04-30 14:59:32 +02:00
Nils Philippsen
96b0779e8d batcave: add mode g+s on /var/tmux
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-04-30 14:20:03 +02:00
Nils Philippsen
0a664a3529 batcave: fix setacl invocation syntax error
Every ACL needs its own `-m` option

Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-04-30 14:18:31 +02:00
Nils Philippsen
ffe7babecb batcave: set regular and default ACLs on /var/tmux
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-04-30 14:04:23 +02:00
Pierre-Yves Chibon
d579699c58 batcave: Add a /var/tmux folder where we can share tmux sessions across users
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 13:41:07 +02:00
Stephen Smoogen
bb719cdc5d rsyslogd: fix rsyslogd on all EL8 and F32 boxes
In 2017, I (Stephen Smoogen), put in a change to copy
roles/base/files/rsyslog/rsyslog-limits.conf to /etc/systemd on
log01. This was to make it so we have adequete limits on the logrunner
on log01. However I missed the fact that all *.conf files are copied
over to /etc/rsyslog.d/ in a previous section. So this file has been
copied over to every system since 2017.. which was ok when rsyslogd just
ignored the syntax. However on EL8, it dies and kills rsyslogd so
servers are not able to run.

Fix: change the file name to one which won't get globbed. Remove the
file from all systems in /etc/rsyslo.d
2020-04-30 11:25:25 +00:00
Stephen Smoogen
07a8351c1d sync the download logs from download-cc 2020-04-30 10:17:28 +00:00
Stephen Smoogen
8a39dbdad7 move the standard workers down to 256 2020-04-30 09:57:58 +00:00
Stephen Smoogen
f10f66ef82 httpd: download servers fix to 408's
The Fedora download servers are experiencing a large number of 408's
every day. This is causing timeouts and breaks on yum update. I talked
with the CentOS admins and they pointed me to
https://github.com/CentOS/ansible-role-httpd/ which I shameless borrowed
some code for just the dl. box.
2020-04-30 09:57:16 +00:00
Clement Verna
4a4ac25436 joystick: add mobrien to the app owners
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-30 10:17:48 +02:00
Jan Kaluža
be4a8f684f ODCS: use --no-latest-link and do not use --nightly.
The `--nightly` option is added automatically in recent ODCS release.
We also do not want to generate latest symlinks anymore with recent
ODCS release.
2020-04-30 05:18:33 +00:00
Adam Williamson
22422c3050 check-compose: fix issues flagged by ansible-lint
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-29 17:56:36 -07:00
Adam Williamson
22f9b422f6 openqa/worker: fix issues flagged by ansible-lint
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-29 17:46:29 -07:00
Adam Williamson
d86a76b4d1 openqa/server: fix issues reported by ansible-lint
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-29 17:32:16 -07:00
Kevin Fenzi
708b90e8e7 aliases / fas blacklist: add alias for new fedora-admin-xmlrpc
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-30 00:00:03 +00:00
Adam Williamson
7278d3f451 openqa/dispatcher: fix ansible-lint detected errors
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-29 16:49:32 -07:00
Kevin Fenzi
5e10e633fd proxies / lists: name the robots files correctly
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-29 22:56:01 +00:00
Kevin Fenzi
4949dd7baf proxies / lists: put lists robots.txt in a place where it actually is read
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-29 22:06:58 +00:00
Stephen Smoogen
1c490d8e74 have download-ib01 use quick mirror versus rsync 2020-04-29 22:03:18 +00:00
Mohan Boddu
861820c31d Moving eln to prod
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-29 19:57:52 +00:00
Mohan Boddu
777a2a983e Adding eln to prod bodhi
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-29 19:14:41 +00:00
Adam Williamson
5e5f5fae27 Don't do 'nmcli con up' on disabled interfaces
This should avoid us turning on interfaces the config is telling
us shouldn't be turned on. Should only affect openQA-related
boxes, as those are the only ones that use ansible_ifcfg_disabled
at present. It is defined as an empty list in group_vars/all, so
we shouldn't need to worry about it not being defined. Also
converts from the deprecated with_items syntax to loop syntax.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-29 10:18:10 -07:00
Stephen Smoogen
47d848fd64 we are no longer frozen 2020-04-29 15:22:51 +00:00