Commit graph

36063 commits

Author SHA1 Message Date
Adam Saleh
18dc069316 Lowering the requirements for hotfix bodhi dockerfile. 2021-11-30 12:02:25 +01:00
Adam Saleh
0c3d1c3e6c Attempting hotfix bodhi 5.7.2 due to issues with db. 2021-11-30 11:33:06 +01:00
Jakub Kadlcik
bef4b72199 copr: define services_disabled per instance
AFAIK we use `services_disabled: true` only when upgrading our severs
from Fedora N to Fedora N+1 which is a big task and we go instances
one by one. Maybe the easier ones in parallel but copr-backend
requires full attention for sure.

If we set `services_disabled: true` for the whole devl/production, we
can't test if the services on each server are starting properly nor we
can't run at least the frontend until all servers are ready.

Let's configure the variable per instance, so whoever is upgrading it
can disable/enable the services when needed.
2021-11-30 02:14:01 +01:00
Kevin Fenzi
a068be1bd3 fasjson: email aliases: add coprteam alias
See https://pagure.io/fedora-infrastructure/issue/10351
add alias for copr team to internal list/group.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-29 12:30:49 -08:00
Jakub Kadlcik
269fcb3928 copr: enable services on corp-be-dev 2021-11-29 21:09:01 +01:00
Jakub Kadlcik
9fad76a6e4 copr: drop birthday for copr-be-dev
This reverts commit f5a26acb87.
2021-11-29 21:08:16 +01:00
Jakub Kadlcik
f5a26acb87 copr: set birthday for copr-be-dev 2021-11-29 20:41:54 +01:00
Jakub Kadlcik
3004b47d71 copr: disable services on corp-be-dev 2021-11-29 20:40:14 +01:00
Jakub Kadlcik
68da3e2977 copr: update backend IP address in the firewall 2021-11-29 20:37:28 +01:00
Jakub Kadlcik
d685ac026f copr: drop birthday for copr-be-dev
This reverts commit 14f1a4fefa.
2021-11-29 15:26:28 +01:00
Jakub Kadlcik
14f1a4fefa copr: set birthday for copr-be-dev 2021-11-29 15:19:54 +01:00
Jakub Kadlcik
c8c2bbf51a aws_cloud: don't include basessh role
It should be redundant and we observe strage things such as 4x
removing and adding ssh keys, having to manualy confirm "Are you sure
you want to continue connecting (yes/no/[fingerprint])?" and so
on. Let's try to disable the role.
2021-11-29 15:15:21 +01:00
Silvie Chlupová
aa81a9cebd copr-be: handler for restarting node_exporter 2021-11-29 15:03:05 +01:00
Silvie Chlupová
0cbe1212a8 copr-be: enable systemd metrics in node exporter 2021-11-29 14:42:51 +01:00
Pavel Raiskup
c1cb8fdefe copr-be-dev: drop birthday 2021-11-29 14:25:28 +01:00
Pavel Raiskup
ad89a66878 tasks/aws_cloud.yml: prefer ed25519 keys for now
Seems like either the RHEL 8 (batcave) or Fedora 35 system (Fedora Copr
Infra) prefers ed25519 keys over rsa, leading to weird auth problems:

TASK [allow root ssh connections] ***************************************************************************************************************************
Monday 29 November 2021  13:06:43 +0000 (0:00:00.314)       0:00:03.632 *******
Monday 29 November 2021  13:06:43 +0000 (0:00:00.314)       0:00:03.632 *******
fatal: [copr-be-dev.aws.fedoraproject.org]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host \"copr-be-dev.aws.fedoraproject.org\". Make sure this host can be reached over ssh: Certificate invalid: name is not a listed principal\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\n@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\nIT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\r\nSomeone could be eavesdropping on you right now (man-in-the-middle attack)!\r\nIt is also possible that a host key has just been changed.\r\nThe fingerprint for the ED25519 key sent by the remote host is\nSHA256:Cgs/aoJl9OJheAtZZ2CDiYx9ZeFMwD6dUYUJpPDTl58.\r\nPlease contact your system administrator.\r\nAdd correct host key in /root/.ssh/known_hosts to get rid of this message.\r\nOffending RSA key in /root/.ssh/known_hosts:21\r\nED25519 host key for copr-be-dev.aws.fedoraproject.org has changed and you have requested strict checking.\r\nHost key verification failed.\r\n", "unreachable": true}

This lets us move forward with the tomorrow's update.  The previous
hack(s) were not OK.
2021-11-29 14:21:52 +01:00
Pavel Raiskup
1efa0220c3 tasks/aws_cloud.yml: hack with known_hosts removal
We observed a situation when two keys were specified in known_hosts, and
only one was removed by the playbook.  At least we think this is what is
actually happening.
2021-11-29 14:05:20 +01:00
Pavel Raiskup
0270957497 tasks/aws_cloud.yml: try to work with ssh-ed25519, not rsa 2021-11-29 13:53:02 +01:00
Pavel Raiskup
5e8940375f tasks/aws_cloud.yml: better known_hosts cleanup when birthday=yes 2021-11-29 13:47:00 +01:00
Jakub Kadlcik
71847ba2f5 copr: set birthday for copr-backend-dev 2021-11-29 13:14:13 +01:00
Jakub Kadlcik
d5708c427c copr: drop birthday for copr-backend-dev
This reverts commit 55fd2d111e.
2021-11-29 11:48:15 +01:00
Adam Saleh
1620ea2587 Bumping Bodhi version to 5.7.2 2021-11-29 08:36:42 +01:00
Jakub Kadlcik
55fd2d111e copr: set birthday for copr-backend-dev
This reverts commit b1b51479ca.
2021-11-29 02:52:15 +01:00
Jakub Kadlcik
b1b51479ca copr: drop birthday for copr-backend-dev
This reverts commit 321944a406.
2021-11-29 02:36:12 +01:00
Jakub Kadlcik
321944a406 copr: set birthday for copr-backend-dev 2021-11-29 02:29:03 +01:00
Jakub Kadlcik
3b9d9ce8d9 copr: drop birthday for copr-backend-dev
This reverts commit 7ded300b8c.
2021-11-29 02:12:21 +01:00
Jakub Kadlcik
7ded300b8c copr: set birthday for copr-backend-dev 2021-11-29 01:34:13 +01:00
Jakub Kadlcik
1cbed7fe2e copr: drop birthday for copr-backend-dev
This reverts commit 5f6f9ac690.
2021-11-29 00:57:46 +01:00
Jakub Kadlcik
71d7e2c1f1 copr: install nrpe on backend
See also 0a4c5c303
2021-11-29 00:51:35 +01:00
Jakub Kadlcik
5f6f9ac690 copr: set birthday for copr-backend-dev 2021-11-29 00:36:13 +01:00
Jakub Kadlcik
43e9489cc6 copr: update copr-be-dev private IP address 2021-11-29 00:20:58 +01:00
Jakub Kadlcik
fa6c9e9daa copr: add -y for dnf 2021-11-28 23:08:57 +01:00
Jakub Kadlcik
e261a816b0 copr: drop birthday for copr-keygen-dev
This reverts commit b95f1ddfd3.
2021-11-28 23:04:02 +01:00
Jakub Kadlcik
1e63604bf3 copr: install gnupg2 with required bugfixes 2021-11-28 23:03:20 +01:00
Jakub Kadlcik
0a4c5c3034 copr: let nagios_client role to install nrpe
We shouldn't install `nrpe` package in the `copr/base` playbook
because it creates the following user

    nrpe992:991:NRPE user for the NRPE service:/var/run/nrpe:/sbin/nologin

That UID collides with an user for keygen

    - user: name="copr-signer" group=copr-signer groups=apache uid=992

The `nrpe` installation needs to be done later, in the `nagios_client`
role that we call after `copr/keygen` role.
2021-11-28 22:21:52 +01:00
Jakub Kadlcik
b95f1ddfd3 copr: set birthday for copr-keygen-dev 2021-11-28 21:37:51 +01:00
Igor Raits
d95c706959
koji_hub: Allow side tags for the EPEL9 (and epel8-next)
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2021-11-27 18:38:15 +01:00
Jakub Kadlcik
d4ec2983e9 copr: somehow, a version should be specified 2021-11-27 02:16:50 +01:00
Jakub Kadlcik
2e3e81674d copr: oops, syntax error 2021-11-27 02:06:09 +01:00
Jakub Kadlcik
be96df9e3f copr: install custom build of python3-rpkg to distgit
See https://pagure.io/rpkg/issue/588
See https://pagure.io/copr/copr/pull-request/1998
2021-11-27 02:02:39 +01:00
Adam Williamson
5889d3a9ae openQA: untag the swtpm-teardown task for stg now it's run
Keeping it around to run on prod when needed, then we'll take it
out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-26 14:03:33 -08:00
Adam Williamson
57d29546b0 openQA: deploy updated openQA scratch build to lab as well
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-26 13:55:35 -08:00
Adam Williamson
7f3f19035f openQA: test new os-autoinst scratch build on lab
This also tears down our swtpm systemd service setup, as
os-autoinst should now handle swtpm device setup for us.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-26 12:34:41 -08:00
David Kirwan
cdc4619675 Minor typo, role/openshift/sysadmin-openshift task
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-11-26 09:40:10 +00:00
David Kirwan
54e1a528f3 Updated sysadmin-openshift app owners
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-11-26 09:36:57 +00:00
David Kirwan
67b82dd44c Updated Fedora CoreOS Pipeline app owners
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-11-26 09:31:29 +00:00
Silvie Chlupová
b76ed1df07 copr-be: adding node_exporter package for generating metrics 2021-11-25 11:37:45 +00:00
Adam Williamson
fd0d2b5a7e Add openqa_amqp_scheduler_routing_keys back to group_vars
sigh, needs to be here too as it's used from outside of the role
where the default is set. Not sure if there's a better fix for
this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-24 11:05:09 -08:00
Adam Williamson
3e4c3534e5 openqa: switch FCOS scheduling to messages, reduce duplication
This sets us up for scheduling FCOS tests from messages, not
using a cron job. Also reduces some duplication of variables
between openqa-servers-common and the dispatcher role defaults.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-24 10:59:01 -08:00
Kevin Fenzi
7a61097671 buildvm_s390x: adjust host vars to use ansible mac addr
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-23 11:15:07 -08:00