Commit Graph

6504 Commits

Author SHA1 Message Date
Stephen Smoogen
83f0c19f07 and we try yet another cargo cult dance to make the nagios gods happy 2020-04-24 21:34:25 +02:00
Stephen Smoogen
dffa4d33ea try to set this for hosts in aws cleanly and in one spot 2020-04-24 21:34:25 +02:00
Stephen Smoogen
f008705799 HAMMER TIME. [fill in ascii art of MC Hammer here 2020-04-24 21:34:25 +02:00
Stephen Smoogen
4dbdbb94af try to make it so all items in ec2 do not have swap 2020-04-24 21:34:25 +02:00
Kevin Fenzi
3774929058 simple-koji-ci-prod.fedorainfracloud.org: set datacenter
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
dd089806be simple-koji-ci-prod.fedorainfracloud.org: move to aws
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Jan Kaluža
08a0f1f8d8 Set datacenter:phx2 for odcs-backend01.stg.phx2.fedoraproject.org. 2020-04-24 21:34:25 +02:00
Stephen Smoogen
68c936375e clean up nagios cloud to use cloud_phx2 2020-04-24 21:34:25 +02:00
Kevin Fenzi
3d7ff175d9 cloud: comment hosts that have moved to external cloud
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
4928799c97 ipsilon_dev: try and get nagios monitoring working right
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
93949ba854 add iddev to ec2 group
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
49a9b90a78 iddev: re-added ports we need
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
e1164d1ae9 iddev: set datacenter to aws so repo files are right
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
88df232c00 iddev: move over to aws
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
19703e17bb move el6/el7 maintainer test instances
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Stephen Smoogen
0bc7d5ffb1 remove libravatar from ansible 2020-04-24 21:34:25 +02:00
Mikolaj Izdebski
4828817e4b Drop java-deptools cloud instance 2020-04-24 21:34:25 +02:00
Miroslav Suchý
18519c9a09 copr: enable swap on be, fe, dist-git 2020-04-24 21:34:25 +02:00
Miroslav Suchý
101ffe36dc copr: enable swap on copr-dist-git 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
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
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
d7e655dcdb remove some hosts from inventory which are no longer used in cloud 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
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
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
fe58e93ee5 copr: drop aws boxes from ec2 group
https://pagure.io/fedora-infrastructure/issue/8675
2020-04-24 21:34:24 +02:00