1
0
Fork 0
forked from infra/ansible
Commit graph

31,483 commits

Author SHA1 Message Date
0aba558968 callback_plugins: try and run a simple 2to3 over the logdetail plugin
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 15:24:09 -07:00
79f8c0e654 batcave: fix the fedmsg hook
Since we're calling the line right after the len() of the variable
we can't use map as in py3 a map as no length.
So instead we'll just build the list right now.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-05 00:18:00 +02:00
4096ed8b4d batcave: encode to bytes before sending things through a socket
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-05 00:17:00 +02:00
3eb533247d batcave: fix the name of the server the zodbot script connects to
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-05 00:14:39 +02:00
9464ab8090 nagios_client: have clients check batcave01.iad2 not batcave01.phx2 for comnnectivity.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 15:11:56 -07:00
80e2c8757d
Fix zodbot-announce-commits for python3
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-06-04 23:59:54 +02:00
203489b2bc batcave: Adjust the configuration file that the fedmsg-announce hook should use
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-04 23:58:32 +02:00
d42f42bb45 batcave: install rbac-playbook config in iad2 too.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 14:55:31 -07:00
45ffb17efe batcave: port the fedmsg-announce-commits script/hook to fedora-messaging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-06-04 23:46:23 +02:00
394aacec19 Fix generate_ticketkey for python3
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-06-04 21:30:15 +00:00
52010621fb iad2: allow vpn on batcave01.iad2 and also on value01 allow connections from it for zodbot
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 13:16:18 -07:00
732971200e iad2: batcave: connect openvpn to phx2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 12:56:12 -07:00
d2ea3fdb00 openvpn / server: add ccd files for all the iad2 hosts.
This will allow the iad2 hosts to connect to the phx2 vpn and use
a different ip from their phx2 counterparts. This way we can change
haproxy/httpd to point to the new iad2 service and migrate it, but
still have the rest of services point to phx2.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 12:50:49 -07:00
bb5bbf2704 copr-be: better ssh client configuration
- don't wait too long for SSH connection timeout (set it to 60s), we
  we will be restarting the build by backend when the last 4 attempts to
  contact builder failed more quickly than each 2 minutes.
- make the keep alive interval much smaller than the connection timeout
  is
2020-06-04 21:18:38 +02:00
dd952da38b base / iptables: drop old openstack template and update osusol with new batcave egress ip
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 10:36:08 -07:00
708e5952d8 koji_builder: do not exclude bkernel builders from the normal mock site_defaults.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 09:20:28 -07:00
30b85f900e iad2: fix duplicate ip on a32-11 and a32-12
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 09:20:28 -07:00
2fe4ae9440 filter_plugins/fedmsg: make the filter work with python3
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-04 17:52:29 +02:00
Stephen Smoogen
11bd660313 forgot to define br0_dev 2020-06-04 11:20:48 -04:00
Stephen Smoogen
0a332ba7d4 add in bvmhost-p09 2020-06-04 10:40:28 -04:00
586160319f [osbs-iad2] add openshift_version vars for both archs 2020-06-04 15:28:34 +01:00
67a99cb6e3 [osbs-iad2] add registry for iad2 and add openshift_version vars 2020-06-04 15:22:55 +01:00
Stephen Smoogen
0339781ad3 have proxies not copy over copying.tmp if it shows up in docs tree 2020-06-04 10:15:37 -04:00
4f63e6e74f waiverdb: use the iad2 db server when running in iad2
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-04 14:52:45 +02:00
cc8d0d17aa waiverdb: deploy in iad2's openshift
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-04 14:42:58 +02:00
6f97cb8952 Zuul: use correctly namespaced parent job name
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-06-04 14:32:26 +02:00
9e81ae8371 Add mdapi and greenwave in openshift in iad2
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-04 14:28:43 +02:00
aacd00cdc1 distgit: iad2 also runs rhel8 and thus python 3.6 so adjust the path to the static files
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-04 14:27:01 +02:00
64773f2049 distgit/pagure: iad2 has the same rules as staging, python 3.6
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-04 14:11:50 +02:00
4d37489f6f bodhi/backend: Port the koji-sync script from fedmsg to fedora-messaging
Fixes https://pagure.io/fedora-infrastructure/issue/8967

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-04 14:11:00 +02:00
c63b5c0519 ODCS: Do not force releng backend for 'jkaluza'. 2020-06-04 13:59:33 +02:00
b00e296350 ODCS: Install also latest libdmodulemd in manual/upgrade/odcs.yml. 2020-06-04 13:14:15 +02:00
9760bc6d94 ODCS: Setup NFS before running ODCS backend role. 2020-06-04 13:00:38 +02:00
a65a9749df ODCS: Do not try to stop fedmsg-hub-3, because that package is not installed anymore. 2020-06-04 11:24:09 +02:00
a0a15e927f ODCS: Enable the mod_auth_openidc module on rhel8 2020-06-04 11:11:43 +02:00
83d756cf00 ODCS upgrade playbook: Use 'dnf clean all'. 2020-06-04 10:58:33 +02:00
f621f7bf69 iad2: set iad2 nagios_server for rabbitmq role
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 21:33:12 -07:00
dc79e302f8 letsencrypt: adjust to work in other datacenters (like ibiblio)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 21:18:44 -07:00
5aa22c2e02 [koji-iad2] add file for koji db transfer to iad2 2020-06-04 03:54:53 +00:00
eae8075d65 iad2: generalize rabbit/queue for both datacenters.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 20:53:12 -07:00
ee7ff8d551 iad2: add buildhw-a64-01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 16:18:51 -07:00
8ea193fb96 iad2: set ipa server for iad2 hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 15:57:07 -07:00
Stephen Smoogen
14b41a54de try to get ppc working 2020-06-03 18:52:34 -04:00
360d881c07 iad2: add 6 more arm builders
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 15:52:20 -07:00
edb0f7246b iad2: put all the arm builders in the right datacenter
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 15:40:44 -07:00
3f9c2e5d53 iad2: adjust rabbit/user defaults for either datacenter
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 15:13:31 -07:00
Stephen Smoogen
4391514023 put in initial variables for bvmhost-a64-04 2020-06-03 17:25:16 -04:00
b873aa0e47 oci-registry: also allow cloudfront to access the registry directly
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 14:24:47 -07:00
aaf6ecbbae iad2: disable fedmsg/base role on bodhi-backend01.iad2 for now
There's only one script using it left and perhaps we can port or fix
that. python3 ansible on new batcave01.iad does not like this use of
sort in the fedmsg filter, it says:

AttributeError: 'dict_items' object has no attribute 'sort'"

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 13:52:28 -07:00
35930379f8 delegations: use quotes when using a variable in a delegate_to
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 12:58:59 -07:00