Commit graph

35613 commits

Author SHA1 Message Date
David Kirwan
f042ec7a4d metrics-for-apps: update hosts ocp4-place-ignitionfiles playbook targets
to include new prod ocp hosts

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-02 11:02:44 +09:00
David Kirwan
7b9e35a562 metrics-for-apps: Update hosts target to only tarket existing hosts +
new staging cluster

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-02 10:47:51 +09:00
David Kirwan
c54d0b3470 metrics-for-apps: Updating asknot ocp install target
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-02 10:47:51 +09:00
David Kirwan
9f39d76e2c metrics-for-apps: Adding inventory/groupvars/changes for ocp prod
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-02 01:37:34 +00:00
Mark O Brien
52dadb7d0d ipa: add opeshift host group and tidy grooup vars
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-09-01 08:49:35 +00:00
Kevin Fenzi
873b8280fb proxies: add content for matrix files
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-31 13:33:26 -07:00
Kevin Fenzi
19188af5b0 staging / CORS: apache syntax fixes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 17:55:43 -07:00
Kevin Fenzi
6e4117cb94 fix closing LocationMatch
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 17:26:22 -07:00
Kevin Fenzi
b4c0acd1b9 staging: add CORS for matrix
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 17:01:28 -07:00
Kevin Fenzi
d65041c2c1 matrix: aliases will not work here, use redirects
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 16:26:58 -07:00
Kevin Fenzi
3bdb267ad4 staging: rename the ocp cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 15:53:34 -07:00
Kevin Fenzi
78ae760408 fedora.im: also need to make the /srv/web/fedora.im dir
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 15:27:14 -07:00
Kevin Fenzi
19b66e404b Add matrix well-known files
Matrix can use some well-known uri's for configuration (rfc 8615).
This commit:
* Sets up fedora.im as a seperate side on proxies that redirects to
  getfedora.org and serves a server and client static matrix file.
* gets fedora.im it's own ssl cert via letsencrypt so it's all valid
  (currently it points to proxies generically and gets the
fedoraproject.org cert)
* Adds config to serve matrix client/server well-known static files for
  fedoraproject.org site.

Note that all the acutal contents of these files are empty for now, but
once our matrix server is up we can fill them in properly and re-run the
playbook. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 21:53:56 +00:00
Dusty Mabe
de0b7f9df1 openshift-apps/coreos-koji-tagger: fixup specified keytab username
This was changed slightly when the datacenter moved from phx2.
2021-08-30 20:24:36 +00:00
Dusty Mabe
ddc89da862 aws-iam-policies: fcos-upload-amis: add ability to clean up AMIs
Adding DeregisterImage and DeleteSnapshot will allow us to prune
old AMIs from EC2.
2021-08-30 20:24:36 +00:00
Dusty Mabe
c2ceab0958 aws-iam-policies: fcos-upload-amis: group some policies with other similar ones
Move CreateSnapshot to be with ImportSnapshot. Move DescribeImageAttribute
to be with ModifyImageAttribute.
2021-08-30 20:24:36 +00:00
Stephen Smoogen
2272ab1f6f Add in a test to make that the nagios templates try to add in groups
with no vpn.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2021-08-27 11:05:40 -04:00
Pavel Raiskup
58c451d6ed copr-be: decrease the amount of AWS builders 2021-08-26 21:00:11 +02:00
Pavel Raiskup
288b487bf5 copr-be: use vmhost x86 02 again 2021-08-26 18:59:58 +02:00
Kevin Fenzi
bfb3e7f26d ocp_stg: no vpn here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-26 09:02:12 -07:00
Mark O Brien
5da8595200 os: add access to os control for sysadmin-openshift group
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-08-26 15:25:45 +00:00
Kevin Fenzi
0dade64ba2 ocp / staging: tell nagios not to check nrpe/swap/mails on ocp hosts
By default nagios assumes it can connect to everything in inventory via
nrpe and monitor things like swap and number of emails in the postfix
queue. For ocp hosts running CoreOS we don't want to have nagios
monitor any of that, we only want it to monitor ping (is the host up).
This change is only in vars here, but it needs a noc run to activate, so
it will need a freeze break to run the noc playbook (as noc is frozen).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-26 15:06:12 +00:00
Pavel Raiskup
6574da16d4 copr-be: prefer ppc64le boxes over AWS non-SPOT for source builds 2021-08-26 13:38:39 +02:00
Pavel Raiskup
1e0279cfbb copr-be: deprioritize AWS (all builds) and ppc64le builders for source builds 2021-08-26 11:29:43 +02:00
Pavel Raiskup
35664cc9a3 copr-be-upgrade: upgrade also copr-cli
Which is needed nowadays for the copr-ping cronjob.
2021-08-26 09:37:49 +02:00
Kevin Fenzi
a64b1e8e4f value: make sure to only start zodbot on value02 now
We moved zodbot from value01 (rhel7/python2) to value02 (rhel8/python3).
Without this it starts zodbot on 2 hosts and caused problems.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-25 16:04:53 -07:00
Kevin Fenzi
bb62cec8f8 osbs-node01/02: moved to 240g space so 0ad flatpak can build
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-25 12:57:43 -07:00
Pavel Raiskup
d635907b4a copr-be: drain vmhost x86 02 2021-08-25 19:23:20 +02:00
Adam Williamson
beacd484a1 greenwave: leave fedora-35 out of the main policy
Tomas added f35 back to this policy yesterday, which would
usually be the right thing to do, but in fact we have a modified
policy for f35 because some tests are known failing - see
d19fd11 . We don't want f35 in the main policy till the bugs
affecting those tests are fixed, or else no update will ever
pass gating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-25 09:01:56 -07:00
David Kirwan
03c6f77555 metrics-for-apps: no longer need pxe bios template for ocp nodes
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-25 13:52:16 +09:00
David Kirwan
fc3153dc91 metrics-for-apps: added noc01.iad2.fedoraproject.org to staging_friendly
group, to ensure it does not receive iptable rule banning access to
staging network 10.3.166.0/24

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-25 13:44:05 +09:00
David Kirwan
e47f5bbe18 metrics-for-apps: synchronise rhcos files to noc01 for uefi boot
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-25 12:22:41 +09:00
David Kirwan
b5fd9a05b9 metrics-for-apps: Update ocp compute nodes to use uefi boot
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-25 11:58:40 +09:00
Brendan Early
0f18b26363 fedora-packages-static: add production os to hosts 2021-08-24 21:28:41 +00:00
Kevin Fenzi
2b0a7558e0 add vmhost-x86-09
This host is an old phx2 host thats been sitting there on this ip, but
we haven't moved any vm's to it (thus it shouldn't be affected by the
freeze). However, we should get in ansible so it's network is managed
and so we remember to reboot it for updates, etc.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-24 10:54:55 -07:00
Tomas Hrcka
4a52541da4 F35 bodhi activation point
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-08-24 11:48:17 +02:00
petebuffon
5a97060249 Batch update of vmhost* Ansible host_vars files for linux-system-roles/network conversion. 2021-08-23 23:06:55 +00:00
f561217bdf Correct the database URLs for badges-backend in staging
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-08-23 23:04:40 +00:00
Kevin Fenzi
5c709e38e5 bvmhost-a64-10: use linux-system-roles/networking
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-23 15:10:55 -07:00
lrossett
97c9915b94
adds a check for the deployment_type var 2021-08-23 15:06:53 -03:00
lrossett
48b8957386
fixes ca sceret name 2021-08-23 15:06:27 -03:00
lrossett
7f79ed6880
removing linvess check 2021-08-23 14:38:17 -03:00
lrossett
3ba84f6b97
checks if deployment_type var is defined 2021-08-23 14:04:25 -03:00
lrossett
e56d0b6809
enabling both stg and prod servers 2021-08-23 13:42:23 -03:00
Frank Ch. Eigler
d835aba567 debuginfod proxies: preserve & pass %2F etc.
Apache httpd by default blocks URL-encoded / (%2F) characters in the
URL path, even though these are RFC-compliant.  Enable them and permit
their safe passage to the debuginfod servers.

See also https://stackoverflow.com/a/9933890/661150

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
2021-08-23 11:39:36 +00:00
9a32ce7912 ursabot: create pki/fedora-messaging directory
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-08-23 19:52:20 +10:00
6b43caff64 set fedora-messaging certs for ursabot
Just doing this for staging right now, to check it works as expected

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-08-23 19:39:22 +10:00
Pavel Raiskup
35bb0977fb copr-be: tag x86 builders as arch_noarch
This will be used to avoid biulding source RPMs on ppc64le boxes.
2021-08-23 11:37:45 +02:00
Kevin Fenzi
ec0d18a8b8 nagios: adjust where zodbot announces alerts, zodbot is on value02 now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-22 10:10:10 -07:00
Adam Williamson
d19fd11654 Greenwave policy: skip some known-broken F35 tests from policy
desktop_background tests are known to fail ATM because the F35
backgrounds don't exist yet, and desktop_update_graphical on
GNOME is known broken:
https://bugzilla.redhat.com/show_bug.cgi?id=1995817
so we add a copy of the policy with those tests left out, to
avoid all F35 updates failing gating because of these issues.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-20 15:50:17 -07:00