Commit graph

35501 commits

Author SHA1 Message Date
Kevin Fenzi
3e167e43ed branched compose cron job: this should be f35
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-11 11:22:06 -07:00
Nils Philippsen
51a4fa8639 logging: Make FM config be owned by countme user
This is so the various scripts running under the countme user actually
can read it and send messages on the bus.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-08-11 15:11:24 +00:00
Aurélien Bompard
56440ef994
Build the new datanommer on python 3.9
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-08-11 15:28:38 +02:00
Michal Konečný
98ea6b11fc distgit: Add pull_request_close ACL
Currently it's not possible to create token with pull_request_close ACL
for user (see https://pagure.io/pagure-dist-git/issue/144).

This commit will allow users to add pull_request_close ACL to their
token. The user is still validated if it has the permission, so adding
this ACL to user token doesn't allow user to use API to close any PR
currently opened in dist-git.

Thanks @pingou for helping me with this.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-08-11 15:22:42 +02:00
Lenka Segura
bc57a02675 datanommer: porting to openshift 2021-08-11 12:40:38 +00:00
Adam Saleh
db936062b3 Add more message-based tracing to log01 scripts 2021-08-11 11:18:17 +00:00
Clement Verna
805599baeb remove unused code
Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-08-11 08:56:09 +00:00
Clement Verna
f07efbe77b Add buildah to the releng composers.
This commit adds the buildah package to the releng
composer machines so that we can use it to generate the
manifest lists.

See Releng PR: https://pagure.io/releng/pull-request/10249.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-08-11 08:56:09 +00:00
David Kirwan
b7be2d3c40 metrics-for-apps: commeting out the bootstrap node for ocp4stg
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-11 12:46:46 +09:00
Kevin Fenzi
38fa66b00b Revert "metrics-for-apps: commenting out ocp4 bootstrap node from proxy configs"
This reverts commit 849b729578.
2021-08-10 19:31:42 -07:00
David Kirwan
849b729578 metrics-for-apps: commenting out ocp4 bootstrap node from proxy configs
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-11 10:14:18 +09:00
Kevin Fenzi
ad2d0a4a4e haproxy: Try dropping ssl here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-10 18:02:45 -07:00
Clement Verna
ea2354658f Remove fpdc playbooks and config.
Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-08-10 20:37:12 +00:00
Clement Verna
bc527aab5c Remove the old osbs-cluster playbook.
This is the old osbs playbook that was used before aarch64
was added. The new playbooks are under playbooks/groups/osbs.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-08-10 20:35:58 +00:00
Tomas Hrcka
e15133639e Branching f35 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-08-10 15:17:02 +00:00
František Zatloukal
92f195d899 Revert "oraculum: Use extremly WIP branch on stg"
This reverts commit 2400b318f4.
2021-08-10 15:31:24 +02:00
David Kirwan
5ad4e28eb0 metrics-for-apps: Updated inventory to correctly add worker04/05 to vm
group

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-10 20:53:09 +09:00
David Kirwan
f3897d1a67 metrics-for-apps: updated inventory ocp_vms_stg
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-10 20:49:09 +09:00
Pavel Raiskup
d3f399275b copr-be: put the copr-ping.log back to /var/log 2021-08-10 13:46:27 +02:00
Pavel Raiskup
881764b345 copr-be: copr-ping: fix wrong indentation 2021-08-10 12:51:54 +02:00
Pavel Raiskup
eb4c6fd073 copr-be: copr-ping: logging to stdout 2021-08-10 11:22:11 +02:00
Pavel Raiskup
d8872b6300 copr-be: copr ping :-( fix no-op increment 2021-08-10 11:06:13 +02:00
Pavel Raiskup
11b27cd156 copr-be: copr-ping: INFO level in check script 2021-08-10 11:00:29 +02:00
Pavel Raiskup
a0628a6c37 copr-be: copr-ping: print OK status, and more info upon failure 2021-08-10 10:57:15 +02:00
Aurélien Bompard
73f19b84e3
Use import instead of include
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-08-10 10:54:18 +02:00
Pavel Raiskup
cec8ae4147 cpor-be: copr-ping: run restorecon even when log is created 2021-08-10 10:42:46 +02:00
Pavel Raiskup
2cda9ec28d copr-be: copr-ping: selinux issue #1, fix #2 2021-08-10 10:38:13 +02:00
Aurélien Bompard
76d3ead677
Deploy TimescaleDB on staging datanommer DB
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-08-10 10:37:24 +02:00
Pavel Raiskup
0df8c3564b copr-be: copr-ping: selinux issue #1 2021-08-10 10:34:33 +02:00
Pavel Raiskup
5a17f06a45 copr-be: copr-ping: give nagios group r-x permissions 2021-08-10 10:15:58 +02:00
Pavel Raiskup
6062eec80b nagios: drop copr_external.cfg from services 2021-08-10 09:59:23 +02:00
Pavel Raiskup
d2f9b772e9 nagios: move copr-ping to internal 2021-08-10 08:51:55 +02:00
David Kirwan
bc6c6bfc32 metrics-for-apps: added two temporary worker vms 04,05
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-10 11:37:36 +09:00
Kevin Fenzi
ecbda7c851 haproxy: add staging ocp cert for api-int
haproxy needs to terminate ssl for the api part of the ocp cluster.
We can't do this in apache without listening for non standard ports and
that could be a mess, so terminate ssl here and talk into the cluster

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-09 10:51:13 -07:00
David Kirwan
d78d1070f8 metrics-for-apps: terminate tls for api/api-int in haproxy
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-09 17:48:38 +00:00
Kevin Fenzi
c3830a9698 db01: do not bother to alert on low swap
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-09 08:23:23 -07:00
Pavel Raiskup
ff215ea2b9 nagios: external: define copr_* hostgroups 2021-08-09 15:25:19 +02:00
Pavel Raiskup
8aa8247784 copr-dist-git: add nagios_client role 2021-08-09 13:59:55 +02:00
Pavel Raiskup
f76859775c nagios: pick up copr_external.cfg services 2021-08-09 13:50:30 +02:00
Jakub Kadlcik
9a8acc79ae nagios: enable disk monitoring for copr instances
I think that / monitoring should work by default just by
setting `nrpe: true` because of

    define service {
      hostgroup_name	all, !mincheckgrp
      service_description   Disk_Space_/
      check_command		check_by_nrpe!check_disk_/
      use                   disktemplate
    }
2021-08-09 11:45:53 +00:00
Pavel Raiskup
73ba7d25b1 copr-be: fixup copr-ping nagios mapping 2021-08-09 13:34:25 +02:00
Pavel Raiskup
54c5c85eaa copr-be: copr-ping: fix log destination 2021-08-09 12:21:05 +02:00
Pavel Raiskup
77e072a0b4 copr-be: copr-ping: missing touch 2021-08-09 12:12:39 +02:00
Pavel Raiskup
f4ab3f6999 copr-be: copr-ping: fix variable name clash 2021-08-09 12:09:31 +02:00
Pavel Raiskup
b16a5e3411 copr-be: add forgotten vars file 2021-08-09 12:01:02 +02:00
Pavel Raiskup
0771b0e4ad copr-be: install ping nrpe task 2021-08-09 11:59:03 +02:00
Pavel Raiskup
06f2e4b236 copr-be: copr-ping: use system paths
So NRPE can execute/read those files.  Also update the log file format a
bit.
2021-08-09 11:45:22 +02:00
Kevin Fenzi
a8ffcd6575 download / nagios: Also don't check swap on download servers.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-08 11:08:18 -07:00
David Kirwan
d3c44cfc66 metrics-for-apps: revert change gather facts
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-06 22:57:16 +09:00
David Kirwan
46d54fbb35 metrics-for-apps: Reverting recent changes 2021-08-06 22:45:22 +09:00