Pierre-Yves Chibon
2384341514
staging-sync/db-sync: Name a few more tasks to have a nicer output
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 12:03:06 +02:00
Pierre-Yves Chibon
66cbb8da16
staging-sync/db-sync: Name the task stopping/restarting apache
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:58:52 +02:00
Pierre-Yves Chibon
f755eef97f
staging-sync/db-sync: Fix the condition to ensure the server is defined and not null
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:57:22 +02:00
Pierre-Yves Chibon
cf31e3f0c8
staging-sync/db-sync: Point to batcave01 only instead of all the batcaves
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:53:46 +02:00
Pierre-Yves Chibon
e3943b0e52
staging-sync/db-sync: Allow the deletion of the stg database to fail without breaking the playbook
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:53:46 +02:00
Pierre-Yves Chibon
c377f97e50
staging-sync/db-sync: strings need quotes
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:48:41 +02:00
Pierre-Yves Chibon
2046802ec5
staging-sync/db-sync: yet another attempt to make the server argument optional
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:47:28 +02:00
Pierre-Yves Chibon
28e5751542
staging-sync/db-sync: when are not a valid attribute for plays
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:38:21 +02:00
Pierre-Yves Chibon
b4ea291fe9
staging-sync/db-sync: Another attempt to make the server optional
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:37:30 +02:00
Pierre-Yves Chibon
c3ad168fb0
staging-sync/db-sync: stop apache after having dumped the prod db
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:30:23 +02:00
Pierre-Yves Chibon
ca8130bdca
staging-sync/db-sync: port the playbook to iad2 and make the server argument optional
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:28:15 +02:00
Kevin Fenzi
5869c9c160
koji prod->stg sync: adjust for new datacenter
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 16:01:22 -07:00
Kevin Fenzi
8907393be0
autosign: the group is autosign_stg not autosign-stg
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 15:11:48 -07:00
Kevin Fenzi
82179a74b9
Add autosign01.stg
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 14:58:51 -07:00
Aurélien Bompard
fa775d6538
Fix IPA backup playbook
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-14 13:28:36 +02:00
Nils Philippsen
750dc6da45
Add playbooks to manually backup/restore IPA (stg)
...
This is to be able to restore things to a clean slate when we test the
fas2ipa data migration script.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-08-27 23:30:24 +00:00
Michael Scherer
5c3052862f
Fix the working directory repo for badge deployment
2020-08-04 14:54:46 +00:00
Michael Scherer
e77d45b643
Use the new location for git
2020-08-04 16:25:13 +02:00
Michael Scherer
9a691c48a7
Use yaml syntax for the badge playbook
2020-08-04 16:24:03 +02:00
Jan Kaluza
a96ff74f27
ODCS: Update also odcs-client to latest version
2020-07-31 13:23:18 +02:00
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