Commit graph

35483 commits

Author SHA1 Message Date
Pavel Raiskup
00b5afa1a9 nagios: add me and schlupov to copr contact group 2021-07-28 13:41:30 +02:00
Pavel Raiskup
92ff0683f5 nrpe: check_disk order (almost) alphabetically
Without this, it was hard to tell if check_disk.cfg.j2 mirrors
nrpe.cfg.j2.
2021-07-28 13:41:26 +02:00
David Kirwan
d5aace1574 metrics-for-apps: hotfix dhcp conf worker01-03
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-28 12:25:08 +01:00
David Kirwan
01da817e7f metrics-for-apps: hotfix worker01 mac address dhcp
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-28 11:29:48 +01:00
David Kirwan
2b96995c8e metrics-for-apps: Updated the worker01-03.ocp mac addresses in dhcp
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-28 10:50:47 +01:00
Adam Saleh
7a013fe511 Send tracing messages to the bus in syncHttpLogs
In the course, fix a typo which reduces stdout spam.

Signed-off-by: Adam Saleh <asaleh@redhat.com>
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-07-28 11:23:10 +02:00
David Kirwan
e7faec028d metrics-for-apps: add os-control01 access to ocp4 api
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-28 09:59:18 +01:00
Kevin Fenzi
041b82d1ec proxies / ocp: fix app vs apps typo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-27 13:49:40 -07:00
Kevin Fenzi
63eb9d6765 haproxy: fix typo in backend name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-27 13:22:56 -07:00
Kevin Fenzi
abec29acf4 ocp / staging: add posts for control plane behind haproxy and open proxy firewalls
Put the api ports that ocp4 needs behind haproxy (with bootstrap node)
and open them to just the ocp4 machines on the proxies.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-27 13:19:16 -07:00
Mark O Brien
df6249fc69 ocp4@ add bootstrap node to masters
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-07-27 10:56:50 +01:00
David Kirwan
4abc799fa1 metrics-for-apps: copy kubeadmin authentication files
to the os-control01 host

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-27 09:55:24 +01:00
Kevin Fenzi
3e0e15c349 fedmsg-irc: drop #fedora-apps for now.
See discussion on infrastructure list.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-26 15:57:33 -07:00
Kevin Fenzi
e25775ed59 postgresql: fix db-fas01.stg breakage from playbook runs
In prod db-fas01 is rhel7 and uses postgresql 9.6.
In staging db-fas01.stg is rhel8, and should also use postgresql 9.6,
but we were blanket making rhel8 hosts use postgresql 12.
We could drop this by reinstalling db-fas01.stg with rhel7, or waiting
until we finally kill fas2 and just setting them both to use postgresql
12.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-26 13:53:56 -07:00
Kevin Fenzi
786bf4e138 ocp / proxies: add ocp4 to staging proxies
We first add a website to proxies-websites, then information to
proxies-reverseproxy about the load-balancer/site, then finally vars
about which hosts are in which blanacer.

We still need to get ssl certs issued, which we can do via dns challenge
and certbot.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-26 09:58:32 -07:00
Pavel Raiskup
25dd467819 copr-be: unify spot/on-demand playbooks 2021-07-26 14:28:00 +02:00
František Zatloukal
2400b318f4 oraculum: Use extremly WIP branch on stg 2021-07-26 14:24:08 +02:00
Nils Philippsen
c782eceae1 Move syncHttpLogs.sh into web-data-analysis role
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-07-23 13:06:23 +02:00
Nils Philippsen
dc86a465e9 Add logging role
This installs configuration and certificates to enable sending messages
to the bus using fedora-messaging.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-07-23 13:06:23 +02:00
Nils Philippsen
15d5b3c80e Set up logging user in RabbitMQ
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-07-23 13:06:21 +02:00
Michal Konečný
8d139003e8 release-monitoring: Lower the failure threshold for project deletion
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-07-23 11:01:16 +02:00
Stephen Smoogen
bbf19c899d try to get collectd from using 50+GB for random things which will not live for verylong 2021-07-22 16:40:09 -04:00
Stephen Smoogen
a5ddc65d13 try to get collectd from using 50+GB for random things which will not live for verylong 2021-07-22 16:38:25 -04:00
Adam Saleh
eb42244c28 Remove the comment, timeouts should be sufficient. 2021-07-22 21:34:00 +02:00
Adam Saleh
be40017d00 Change the syncHttp timeout to 2h max, comment out the misbehaving proxy09 2021-07-22 21:34:00 +02:00
Adam Saleh
721e3e9864 Add 3 times retry and 30m+30m rsync timeout to syncHttpLogs 2021-07-22 21:34:00 +02:00
Adam Williamson
fca9cbad46 openQA: use a scratch os-autoinst on lab for debugging
There's an annoying issue where openQA tasks incomplete sometimes
and I'm trying to debug it to find out why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-22 11:20:44 -07:00
Mark O Brien
f637f9c132 ocp4: add network hostname vars 2021-07-22 12:32:43 +01:00
Mark O Brien
590c34064f ocp4: change net iface to ens2
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-07-22 11:58:38 +01:00
Mark O Brien
9853c8a6d6 cop4: edit net port on virt install 2021-07-22 11:42:53 +01:00
David Kirwan
40da61e678 metrics-for-apps: hotfix targetting correct group for vms
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-22 11:11:28 +01:00
David Kirwan
5f62141f79 metrics-for-apps: hotfix targetning correct groups
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-22 11:05:46 +01:00
David Kirwan
6854214b6e metrics-for-apps: hotfix fix tags
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-22 10:49:04 +01:00
David Kirwan
a297d3ac25 metrics-for-apps: extravariable fixing vm create
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-22 10:45:22 +01:00
David Kirwan
2d8ef7b7e3 metrics-for-apps: Removed os-type parameter from virt_install for rhcos
vms

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-22 10:40:42 +01:00
David Kirwan
74aa790311 metrics-for-apps: fix syntax targeting multiple groups
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-22 10:36:26 +01:00
David Kirwan
50ffa8a458 metrics-for-apps: updated playbook to target bootstrap vm
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-22 10:19:49 +01:00
David Kirwan
47953f5677 metrics-for-apps: added hostvars for bootstrap, worker02, worker03
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-22 10:02:07 +01:00
Aurélien Bompard
adf5af64bc
Not so idempotent after all.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-07-21 17:47:19 +02:00
Aurélien Bompard
a5be08dab3
Most tasks in the ipa playbook are actually idempotent
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-07-21 17:36:14 +02:00
Michal Konečný
b4974fe2db release-monitoring: Use the correct path for fedora backend
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-07-21 16:12:56 +02:00
Michal Konečný
f8e8989edf release-monitoring: Use the correct path for social_core
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-07-21 16:06:43 +02:00
Michal Konečný
4f0bfdaf60 release-monitoring: Don't comment jinja templates
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-07-21 15:43:38 +02:00
Michal Konečný
1ae9d15635 release-monitoring: Use the correct comment style
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-07-21 15:08:41 +02:00
Michal Konečný
460c9c01cd release-monitoring: Comment out the offending line
This is only temporary workaround to check where the file will be
located.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-07-21 15:01:26 +02:00
David Kirwan
786641df6f metrics-for-apps: enable playbook on ocpworker nodes
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-21 13:44:59 +01:00
David Kirwan
5a0ccee1f8 metrics-for-apps: enable playbook on ocpworker nodes
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-21 13:40:02 +01:00
David Kirwan
a4996141de metrics-for-apps: enable playbook on ocpworker nodes
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-21 13:31:04 +01:00
Michal Konečný
40ac393700 release-monitoring: Fix social_auth_core path on F34
The social_auth_core is no longer installed as fedora package, so we
need to use /urs/local/lib/ instead /usr/lib/

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-07-21 12:26:07 +00:00
David Kirwan
b538a1b7c2 metrics: Adding pxeboot template for rhcos
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-21 13:11:07 +01:00