Commit Graph

30118 Commits

Author SHA1 Message Date
Jakub Kadlcik
5ce2fa72b3 copr: automatically prune distgit repos 2020-04-24 21:34:25 +02:00
Stephen Smoogen
3859588881 remove boot items from configs 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
Pierre-Yves Chibon
00fcff8402 simple-koji-ci: Have the console handler handle debug messages
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:25 +02:00
Pierre-Yves Chibon
0c24a566ed simple-koji-ci: Change where the fedmsg config files are mounted
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:25 +02:00
Pierre-Yves Chibon
46b2439429 simple-koji-ci: Fix the name of the file mounted in the container
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:25 +02:00
Pierre-Yves Chibon
b1e241bbf6 simple-koji-ci: fix typo in volume name
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:25 +02:00
Pierre-Yves Chibon
19d025a390 simple-koji-ci: Start the port to openshift
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:25 +02:00
Ernestas Kulik
e7d1f38175 retrace: Import aws_cloud tasks and set birthday
Signed-off-by: Miroslav Suchý <msuchy@redhat.com>
2020-04-24 21:34:25 +02:00
Ernestas Kulik
76795fec4c retrace: The AWS machines were moved to a different zone.
Signed-off-by: Miroslav Suchý <msuchy@redhat.com>
2020-04-24 21:34:25 +02:00
Ernestas Kulik
1d10229530 playbooks: retrace: Only import yumrepos.yml for prod
We can’t use any of the repos there on the staging machine.

Signed-off-by: Miroslav Suchý <msuchy@redhat.com>
2020-04-24 21:34:25 +02:00
Pierre-Yves Chibon
621f87f6c5 Redefine TargetTagsDict.get() to always use __missing__
The code uses `target_tags.get(branch, 'rawhide')` and dict.get()
doesn't use __missing__, only dict[key] access does.

Patch from Miro Hrončok provided at:
https://pagure.io/fedora-ci/simple-koji-ci/pull-request/37

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:25 +02:00
Pavel Raiskup
2869ec8244 copr: builder: tag AWS instances with CoprPurpose and CoprInstance 2020-04-24 21:34:25 +02:00
Stephen Smoogen
14c240a74a clean up so nagios works 2020-04-24 21:34:25 +02:00
Stephen Smoogen
7c4f1b4be0 start 30 minute run to see if I actually fixed this 2020-04-24 21:34:25 +02:00
Stephen Smoogen
bcb5977219 start getting the hosts in inventory match what actually exists 2020-04-24 21:34:25 +02:00
Stephen Smoogen
48b27fc54e HAMMER TIME 2020-04-24 21:34:25 +02:00
Stephen Smoogen
b4e46bb0e9 try to figure out why stuff in exclude_hostgroups still get included 2020-04-24 21:34:25 +02:00
Stephen Smoogen
6efa60181e [nagios] small change to cloud-hosts where I forgot to remove an endif 2020-04-24 21:34:25 +02:00
Stephen Smoogen
fb3b9ed5c9 and when you have a hammer all the world looks like a nail 2020-04-24 21:34:25 +02:00
Stephen Smoogen
3a2cdba4bb copr is not in the cloud and this is messing up nagios complicated templates. 2020-04-24 21:34:25 +02:00
Stephen Smoogen
77fca5cf79 make the tags all _ versus so nagios_client to match nagios_server 2020-04-24 21:34:25 +02:00
Stephen Smoogen
d7e655dcdb remove some hosts from inventory which are no longer used in cloud 2020-04-24 21:34:25 +02:00
Mikolaj Izdebski
d4fdcd041c Koschei: set up automation for neuro-sig group (#8678) 2020-04-24 21:34:25 +02:00
Mikolaj Izdebski
b1cc5e1382 Koschei: set up automation for scitech_sig group (#8678) 2020-04-24 21:34:25 +02:00
Stephen Smoogen
d8e2ca0744 [nagios] add copr_dist_git_dev to list of hosts we do not scan 2020-04-24 21:34:25 +02:00
Stephen Smoogen
b534dc3ba0 [nagios] The git templates for nagios have become too complicated with too many variants for what we want done in different ways. The current problem with copr and AWS exemplifies this problem because we need to exclude them so they do not occur in the all.cfg hostgroup which is broken. This backlog needs a higher priority. 2020-04-24 21:34:25 +02:00
Miroslav Suchý
b447ba66a9 copr: enable services in AWS 2020-04-24 21:34:25 +02:00
Pavel Raiskup
e4ec014bd7 copr-be: disable ppc64le builders on BE 2020-04-24 21:34:25 +02:00
Pavel Raiskup
8451c04a94 copr: fixup final hostnames in inventory
Nobody will run playbooks till the DNS flip, so let's prepare the
hostnames now.
2020-04-24 21:34:25 +02:00
Kevin Fenzi
41d29e2f45 inventory: more adjustments for nagios
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
5980344552 inventory: all the copr-dev groups point to copr-dev-aws in dns, so try commenting them for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
2b2a4d4010 copr-fe-dev and copr-keygen-dev are in aws, disable cloud versions
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
430b9aeb83 inventory: take no longer used moonshot carts out
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
06f564309f inventory: cope*dev.cloud.fedoraproject.org goes to aws instances now, remove them from here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
d61d291c19 nagios: no ping for aws instances, use ssh for alive check
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
4fe85007f0 nagios: fix up aws group template
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Pavel Raiskup
0b64eb34bf copr: put copr*aws boxes back to ec2 group
(and disable ansible_become* hacks in ec2 group)

https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:25 +02:00
Jakub Kadlcik
227fd1ecca Revert "copr: birthday for copr_front_aws, respawning on F31"
This reverts commit 546cc13a851d7800ccc8d344217c3ceac76ebd0b.
2020-04-24 21:34:25 +02:00
Jakub Kadlcik
5cac928e90 copr: frontend in aws has new IP now 2020-04-24 21:34:25 +02:00
Jakub Kadlcik
a9c290bb54 copr: birthday for copr_front_aws, respawning on F31 2020-04-24 21:34:25 +02:00
Pavel Raiskup
75c9114d72 copr-keygen-aws: I can not use vars from parent group var file 2020-04-24 21:34:25 +02:00
Jakub Kadlcik
bc73ede1cb Revert "copr: birthday for copr_front_dev_aws, respawning on F31"
This reverts commit ddc6ffa759be21bc6509d8d9d4606e7f0b69b2e8.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
595c8803fd copr-keygen-aws: better protect against typos 2020-04-24 21:34:24 +02:00
Pavel Raiskup
47560e8426 copr_keygen_dev_aws: fixup iptables rules
And sync both copr_keygen_aws and copr_keygen_dev_aws so we can easily
diff them.
2020-04-24 21:34:24 +02:00
Jakub Kadlcik
29da953ce5 copr: fe-dev-aws has new IP now 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
218ef08c55 copr: birthday for copr_front_dev_aws, respawning on F31 2020-04-24 21:34:24 +02:00
Pavel Raiskup
1850ec7598 copr-backend: drop the rest of hacks
Relates: https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00
Pavel Raiskup
fe58e93ee5 copr: drop aws boxes from ec2 group
https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00
Pavel Raiskup
94a2ed07ad copr-be-dev-aws: test ansible PG plugin #10
Relates: https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00