Commit graph

858 commits

Author SHA1 Message Date
Michal Konečný
04863be9e5 Add SAR script support for Openshift apps
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2020-07-21 07:46:20 +00:00
Kevin Fenzi
7984b46eb7 The great phx2 pruning run (1st cut).
Since we no longer have any machines in phx2, I have tried to remove
them from ansible. Note that there are still some places where we need
to remove them still: nagios, dhcp, named were not touched, and in cases
where it wasn't pretty clear what a conditional was doing I left it to
be cleaned up later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 14:14:31 -07:00
Stephen Smoogen
08f622be41 remove db-koji0[12].phx2, sign-bridge01.phx2, fedocal01.phx2, nuancier01.phx2, nuancier02.phx2 2020-06-11 17:14:29 -04:00
Stephen Smoogen
5553dfe42d i think this needs to go to iad2 2020-06-10 17:55:58 -04:00
Pavel Raiskup
5628b8d2a5 copr-fe: log alembic upgrade log
The migration time we expect in the following upgrade is somewhere
around 5 minutes.  So it's good to see progress somewhere.
2020-06-10 07:29:26 +02:00
Kevin Fenzi
a9ab782340 iad2: fedora-ostree-content is now fedora_ostree_content to better match netapp standards
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-09 21:08:21 -07:00
Pavel Raiskup
84cb1a0061 copr-fe: easier logic for upgrade playbook 2020-06-09 20:42:31 +02:00
Pavel Raiskup
ea69eebfe6 copr-fe: make copr-frontend-upgrade.yml more usable
Without shutting httpd down, sometimes - when there's high enough load -
post scriptlet of copr-frontend takes too long to finish (restarging
httpd, gently waiting for existing connections).  But that makes the
outage window larger as httpd doesn't accept the new connections when
shutting down.

So automatize (forced) shutdown of httpd first (when there's existing
frontend update) -> upgrade the package -> run the migrations -> and
make httpd started again.
2020-06-09 20:32:37 +02:00
Kevin Fenzi
24fdf77f64 iad2: add clevis and serial to sign-vault01.iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-07 16:05:40 -07:00
Jan Kaluza
b00e296350 ODCS: Install also latest libdmodulemd in manual/upgrade/odcs.yml. 2020-06-04 13:14:15 +02:00
Jan Kaluza
83d756cf00 ODCS upgrade playbook: Use 'dnf clean all'. 2020-06-04 10:58:33 +02:00
Mark O'Brien
5aa22c2e02 [koji-iad2] add file for koji db transfer to iad2 2020-06-04 03:54:53 +00:00
Pierre-Yves Chibon
fb4bc2cf84 Fix some problems found by ansible-review.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-05-29 10:28:49 +00:00
Stephen Smoogen
bda254db6d add in items for manual playbook 2020-05-25 16:55:16 -04:00
Kevin Fenzi
6a8306295c build playbooks: in iad2 use fedora_ostree_content instead of fedora-ostree-content
It's best practice to use _ in netapp volume junction paths.
So, switch iad2 over to those and we can clean up the phx2 ones after we
move.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-25 10:21:47 -07:00
Pierre-Yves Chibon
81da617cd2 staging-sync/koji: fix the name of the host groups
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-13 15:57:52 +02:00
Pierre-Yves Chibon
1193ccd63b staging-sync/koji: fix the name of the groups having the koji builders in staging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-13 15:43:52 +02:00
Pierre-Yves Chibon
41e3162744 staging-sync/koji: umount a few more mounted nfs shares
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-13 12:59:39 +00:00
Pierre-Yves Chibon
653e82b17c koji-reset-staging: Try adjusting the script for koji 1.11 - Take #2
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-12 23:14:05 +02:00
Pierre-Yves Chibon
ce82794c64 koji-reset-staging: Try adjusting the script for koji 1.11
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-12 22:31:12 +02:00
Kevin Fenzi
812f33003e autosign / staging: just do not mount ostree mounts for now as we do not have a eth1 setup on that vm
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:29 +02:00
Clement Verna
3677360f75 releng: manage external repo for modularity
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:29 +02:00
Clement Verna
b90a8c4d2a releng: manage koji targets and update the rawhide tag inheritance
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:29 +02:00
Clement Verna
29a52ad3c8 releng: make the playbook more generic by using variables and tags
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:29 +02:00
Clement Verna
b07c674872 releng: koji tags add the coreos and modularity tags
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:29 +02:00
Clement Verna
8149688f10 releng: add more info to the koji tags in stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:28 +02:00
Clement Verna
1f3dc7d19e releng: we need to specify the koji profile.
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:28 +02:00
Clement Verna
dab0380653 releng: copy the koji.conf needed to authenticate
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:28 +02:00
Clement Verna
81de73a732 releng: specify the collections we use in the playbook
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:28 +02:00
Clement Verna
d3d384fd33 releng: create a playbook to manage koji tags in stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:28 +02:00
Jan Kaluža
6d1a2f1373 ODCS: Start odcs-celery-beat after the upgrade is finished. 2020-04-24 21:34:27 +02:00
Jan Kaluža
72468d5f6e ODCS: Stop odcs-celery-backend and odcs-celery-beat before db upgrade. 2020-04-24 21:34:27 +02:00
Jan Kaluža
08a3917043 ODCS: do not stop/start fedmsg-hub-3, odcs does not use fedmsg-hub-3 anymore. 2020-04-24 21:34:26 +02:00
Kevin Fenzi
183f57e385 autosign: add ostree mounts here also
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Mikolaj Izdebski
4828817e4b Drop java-deptools cloud instance 2020-04-24 21:34:25 +02:00
Pavel Raiskup
164d3d1548 copr: fix hosts specs in upgrade playbooks 2020-04-24 21:34:25 +02:00
Stephen Smoogen
f05aa2a046 start excising boot from websites 2020-04-24 21:34:23 +02:00
Stephen Smoogen
870eee6e99 Revert "remove boot.fedoraproject.org from proxy data files"
This reverts commit d6ecabe44506a1ca82125e17d1dc6a7f05ac7a2a.
2020-04-24 21:34:23 +02:00
Stephen Smoogen
9d3706d64d remove boot.fedoraproject.org from proxy data files 2020-04-24 21:34:23 +02:00
Mikolaj Izdebski
3e8fec7a95 Koschei stage: update rawhide version number 2020-04-24 21:34:23 +02:00
Patrick Uiterwijk
ba9c7ed503 Remove message to ping puiterwijk
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2020-04-24 21:34:22 +02:00
Clement Verna
c6211bbb8e koji stg sync: make sure the prod sync does not break robosignatory in stg.
Fixes https://pagure.io/fedora-infrastructure/issue/8611

Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:21 +02:00
Clement Verna
0c7ac2f41a koji sync stg: user_krb_principals uses user_id and not id as a column name
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:21 +02:00
Clement Verna
9b9bffa9e6 koji sync stg: we need to delete hosts in user_krb_principals before users
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:21 +02:00
Clement Verna
3b78584a65 Koji sync stg: create a user for the builders so that we can create the krb_principal for them.
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:21 +02:00
Kevin Fenzi
8f8f928d03 koji sync: the user_kbr_principals table users user_id and not username, update for the change
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:21 +02:00
Kevin Fenzi
899f1c7aa6 koji sync sql: koji 1.19 moved krb to a user_krb_principals table
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:21 +02:00
Kevin Fenzi
60d8bef6a5 manual / staging-sync / koji: use _ in group names for builders too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:21 +02:00
Kevin Fenzi
ffba2b31f5 manual / staging-sync / koji: use _ in group name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:21 +02:00
Pavel Raiskup
6d32ca5431 copr: backend: assure createrepo_c >= 0.15.5 2020-04-24 21:34:20 +02:00