Commit graph

30059 commits

Author SHA1 Message Date
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
Miroslav Suchý
25b43d9a38 copr: restart copr-dist-git service when config change 2020-04-24 21:34:24 +02:00
Pavel Raiskup
ddd1937828 copr-be-dev-aws: use letsencrypt.certificates for hosntame in lighttpd_dev config 2020-04-24 21:34:24 +02:00
Miroslav Suchý
e61331420d copr: correct path to ssl cert 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
6dde3f5bd8 copr: public domains for dev instances are the cloud ones 2020-04-24 21:34:24 +02:00
Miroslav Suchý
9c7be4c67e copr: correct path to ssl cert 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
0fcb1d784a copr: use iptables, we have enabled tcp ports now 2020-04-24 21:34:24 +02:00
Mikolaj Izdebski
4aa2caa088 aws_cloud: import basessh role 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
9f23df8c42 copr: use iptables, but allow desired tcp ports 2020-04-24 21:34:24 +02:00
Pavel Raiskup
ea15fb6a5d inventory: drop birthday for copr-be-dev-aws 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
bbb80db0e4 copr: public hostname for dev is now back at cloud 2020-04-24 21:34:24 +02:00
Pavel Raiskup
81b9c45cf6 inventory: birthday once more for copr-be-dev-aws 2020-04-24 21:34:24 +02:00
Pavel Raiskup
2b80f13dcd ssh_known_hosts: allow signing ssh keys from aws.fedoraproject.org 2020-04-24 21:34:24 +02:00
Miroslav Suchý
32ef412dfb copr: this variable must be defined 2020-04-24 21:34:24 +02:00
Miroslav Suchý
d0dafbdf40 copr: group vars for copr-dist-git-aws 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
a6bca3b65d copr: fix letsencrypt for fe-dev 2020-04-24 21:34:24 +02:00
Miroslav Suchý
514df048b4 copr: enable service on aws -dev machines 2020-04-24 21:34:24 +02:00
Miroslav Suchý
ae0a681b4c copr: birthday is over 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
c63f7faa88 copr: disable services in group_vars/copr_dev 2020-04-24 21:34:24 +02:00
Pavel Raiskup
2548acc3b0 copr-be-dev-aws: drop birthday 2020-04-24 21:34:24 +02:00
Miroslav Suchý
c55ee5b930 copr: update copr-keygen ip address
cos of respin of VM
2020-04-24 21:34:24 +02:00
Pavel Raiskup
7c98df7a75 aws_cloud: don't hack the keys more
This is done by basessh role.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
ae21353b07 copr-be-dev-aws: another try with birthday 2020-04-24 21:34:24 +02:00
Pavel Raiskup
4fa38984e3 Revert "Revert "Revert "copr-be-dev-aws: try birthday to cleanup known_hosts"""
This reverts commit e6ec8824d7321063c4299446c62d202a94de8d48.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
c005c78910 Revert "Revert "copr-be-dev-aws: try birthday to cleanup known_hosts""
This reverts commit f804cfb885aba2992bf6da2e2fc6cd7373ba836e.
2020-04-24 21:34:24 +02:00