Commit graph

30655 commits

Author SHA1 Message Date
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
Pavel Raiskup
70733f58ad copr-be-dev-aws: test ansible PG plugin #9
Relates: https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00
Pavel Raiskup
55c087bd3e copr-be-dev-aws: test ansible PG plugin #8
Relates: https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00
Pavel Raiskup
d2b44af0c2 copr-be-dev-aws: test ansible PG plugin #7
Relates: https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00
Pavel Raiskup
d52658a5f6 copr-be-dev-aws: test ansible PG plugin #6
Relates: https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00
Pavel Raiskup
30633a0f69 copr-be-dev-aws: test ansible PG plugin #5
Relates: https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00
Pavel Raiskup
67cb33d299 copr-be-dev-aws: test ansible PG plugin #4
Seems like we got moved to ec2 group, which probably broke our become
plugin.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
59d7020c0f copr-be-dev-aws: test ansible PG plugin #4
Seems like become doesn't work.

Relates https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00
Pavel Raiskup
e0474a9857 copr-fe-dev-aws: test ansible PG plugin #3
This can not work.  But the plugin should behave differently.

Relates https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00
Pavel Raiskup
acc2a5436f copr-fe-dev-aws: test ansible PG plugin #2
This can not work.  But the plugin should behave differently.

Relates https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00
Pavel Raiskup
e655e9f1d7 copr-fe-dev-aws: test ansible PG plugin 2020-04-24 21:34:24 +02:00
Pavel Raiskup
e49912067a copr-dist-git: add missing task names
So we can better orient in playbook output.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
92171f9b8d copr-builders: update mock core configs for OpenSUSE 15.1 config 2020-04-24 21:34:24 +02:00
Pavel Raiskup
2d1b607186 copr-dist-git: disable cgit periodic scanning
That is taking too long, and eats too much io probably (complicates
rsyncing to aws).
2020-04-24 21:34:24 +02:00