Commit graph

36054 commits

Author SHA1 Message Date
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
Kevin Fenzi
fe86292793 buildvm_s390x: fix new install command
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-23 10:55:59 -08:00
Kevin Fenzi
5187e5a9d7 buildvm-s390x: switch install command
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-23 10:53:37 -08:00
5cfab0d7cc clean up redirect from help.fp.o to ask.fp.o
previously the redirect from help.fedoraproject.org pointed to an old
location on fedoraproject.org which in turn re-directed to an interstital
that eventually redirected to getfedora.org index

This commit sets the redirect from help.fp.o to ask,fp.o

Resolves: https://pagure.io/fedora-infrastructure/issue/10364

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-11-23 20:59:06 +10:00
7778d92f73 clean up redirect from join.fp.o to docs/join
previously the redirect from join.fedoraproject.org pointed to the old
join page on the wiki, which in turn re-directed to the final (correct)
destination of https://docs.fedoraproject.org/en-US/project/join/

This commit sets the redirect from join.fp.o to the docs site, skipping
the wiki altogether.

Resolves: https://pagure.io/fedora-infrastructure/issue/10363

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-11-23 20:58:39 +10:00
Pavel Raiskup
b04ab5d83a copr-dev: re-enable services 2021-11-22 13:26:59 +01:00
Pavel Raiskup
989b2f82f3 Revert "copr-dist-git-dev: birthday"
This reverts commit c5de4e816d.
2021-11-22 13:26:24 +01:00
Silvie Chlupová
274fa87d44 copr-distgit: drop patch, it's fixed in fedora 35, we don't need it 2021-11-22 11:32:23 +01:00
Pavel Raiskup
c5de4e816d copr-dist-git-dev: birthday 2021-11-22 10:57:30 +01:00
Jakub Kadlcik
346e0253e3 copr: ensure services are running only when not services_disabled 2021-11-22 03:05:40 +01:00