Commit graph

30083 commits

Author SHA1 Message Date
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
Kevin Fenzi
366759da22 nagios: more tweaking to monitoring
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:24 +02:00
Kevin Fenzi
25e348f33b nagios: add 2 more to ping/host check
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:24 +02:00
Kevin Fenzi
027fdfa5ed Revert "Revert "nagios: try and enable this one as well""
This reverts commit 184d9efc30729ba5548fc54744a5d617a6141f4a.
2020-04-24 21:34:24 +02:00
Kevin Fenzi
16aef6569a Revert "Revert "nagios: enable ping on aws instances. This is not really ping it is checking aliveness with ssh""
This reverts commit e3503bd863962f5e32e158b5de7ec4634f01e64c.
2020-04-24 21:34:24 +02:00
Kevin Fenzi
8bee579f59 nagios: disable nrpe checks for now on copr-be/dev in aws
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:24 +02:00
Kevin Fenzi
05ca7b4ae8 nagios: also use aws template on noc01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:24 +02:00
Kevin Fenzi
4a81f9da12 Revert "nagios: try and enable this one as well"
This reverts commit d90077aab0b347e7300b4b585626fc3150dbfc06.
2020-04-24 21:34:24 +02:00
Kevin Fenzi
85df9a0007 Revert "nagios: enable ping on aws instances. This is not really ping it is checking aliveness with ssh"
This reverts commit 44d7acf9151675f1d20e362e85d556a9a05497cd.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
25f7ff721e copr_*aws: don't override service_enabled array from Fedora.yml
... and sync the two files.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
4acf4e78e0 Fedora.yml: drop logrotate.service from enabled services
The service can not be enabled at least on Fedora 30, only the
corresponding timer.  This caused always "changed" task, which always
seemed like a non-idempotent playbook run.
2020-04-24 21:34:24 +02:00
Kevin Fenzi
e577ed7526 nagios: try and enable this one as well
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:24 +02:00
Kevin Fenzi
9d66ac3fe3 nagios: enable ping on aws instances. This is not really ping it is checking aliveness with ssh
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:24 +02:00
Kevin Fenzi
9a255e3c41 nagios_server: try and adjust for all the aws copr instances
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:24 +02:00
Pavel Raiskup
46d9f4275d Revert "copr-be-dev.aws: birthday once more"
This reverts commit 0f8b8ea24b4252b01fceb494f61b85f573ee7b14.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
c1de77e9ac copr-be-dev.aws: birthday once more 2020-04-24 21:34:24 +02:00
Kevin Fenzi
ab3e78aa0b inventory: these constructed groups do not need monitoring
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:24 +02:00
Pavel Raiskup
2ff45e328d iptables: No stg ip override in aws.fedoraproject.org
Complements a90e9070cd
2020-04-24 21:34:24 +02:00
Kevin Fenzi
5aefe716cb inventory: try adding this dev group also for monitoring
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:24 +02:00
Pavel Raiskup
9c4876dc8b copr-be: drop unused fedmsg ports
We moved to fedora-messaging some time ago.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
f28c30faeb copr-fe*: disable rubygems rebuilds during aws transition 2020-04-24 21:34:24 +02:00
Miroslav Suchý
cb7c17573b copr: use CDN for AWS 2020-04-24 21:34:24 +02:00
Pavel Raiskup
83558432f1 copr_back_dev_aws: specify ports to open via iptables 2020-04-24 21:34:24 +02:00