Commit graph

8039 commits

Author SHA1 Message Date
Adam Williamson
a5c322b4ee More cleanup on the openQA AMQP stuff
nirik and I went around and around a bit today and ended up back
where we started, but with a clearer understanding of where that
this. This explains it a bit better, and makes what's actually
going on in various places clearer with the use of appropriate
shared variables. This should not actually *change* anything at
all when deployed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-22 23:21:28 +02:00
Joseph Marrero
dfbfed61e2 fedora-coreos-pipeline.yml: Add luyang 2023-06-22 15:39:19 -04:00
Kevin Fenzi
b2a5d19443 directory.fedoraproject.org redirect: fix double slash
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-22 11:23:41 -07:00
Kevin Fenzi
d8580004c7 directory: redirect with url ( infra 11385 )
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-22 10:57:01 -07:00
Adam Williamson
5a7591a618 openqa AMQP: mark the users as not publish-only
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 13:33:54 +02:00
Adam Williamson
b50fa6a477 openqa amqp: fix stg-on-prod queue names
so, this was working before somehow, but it was pretty clearly
wrong. We were using queues owned by openqa.stg on the prod
rabbitmq instance for the cases where the openQA "stg" consumers
need to listen to prod queues. This can only have been working
with an openqa.stg user on prod, which seems wrong. Instead,
these three consumers should do it the way the relval and
relvalami consumers do - use a queue owned by the "openqa" user,
but with a suffix so they have a different queue from the actual
prod queue. The upshot of this is that in the configs, we should
go from:

amqp_url = "amqps://openqa:@rabbitmq.fedoraproject.org/%2Fpubsub"
...
queue = "openqa.stg_scheduler"

- which is weird and I have no idea how it ever worked - to:

amqp_url = "amqps://openqa:@rabbitmq.fedoraproject.org/%2Fpubsub"
...
queue = "openqa_scheduler_stg"

- which seems much more sensible.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 13:15:38 +02:00
Adam Williamson
e3a4908ae0 ...so close...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 12:27:03 +02:00
Adam Williamson
31f4668476 openqa: tweak rabbit user creation stuff...
ugh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 12:25:21 +02:00
Adam Williamson
085e6e0828 unquote sent_topics
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 12:07:15 +02:00
Adam Williamson
9953afa06e openqa etc: fix up and improve AMQP messaging configuration
This is triggered by
https://pagure.io/fedora-infrastructure/issue/11375 , but the
changes are rather extensive. Unfortunately, some of the
relevant files got messed up by the alphabetical sort thing that
got run on several group variable files a while ago, so that
confuses the diff a bit - I had to unwind those changes to make
the files readable again in order to make these changes.

Ultimately the goal here is to make the config more consistent
and more functional - the variables used and their names should
be more consistently related to what they're actually *for*,
which I didn't entirely understand when setting this up. So
we have variables for the username being used in each case and
we use that variable where we're referring to the username, for
instance. This should also make the whole thing about the cases
where listeners on the openQA stg/lab instance need to listen
to prod messages clearer, too. It also makes the user creation
clearer by doing it explicitly, just once per user, instead of
haphazardly doing it implicitly through the queue definitions.

And finally it should also actually fix 11375, by giving the
appropriate write permissions to each user.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 12:04:55 +02:00
Pavel Raiskup
21be6fd294 copr: use smtp-auth-relay for all hosts 2023-06-19 11:08:23 +02:00
Pavel Raiskup
82205131b7 smtp_auth_relay: new role, use by copr-dist-git-dev for now 2023-06-19 10:10:43 +02:00
Timothée Ravier
9240690c3a openshift: Remove Silverblue website
The website is now available at https://fedoraproject.org/silverblue/
The repo for the previous website has been archived:
https://github.com/fedora-silverblue/silverblue-site
2023-06-16 16:50:07 +00:00
Kevin Fenzi
adef5b55fd proxies: fix duplicate cert here, only use the wildcard one.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-14 11:58:16 -07:00
Kevin Fenzi
b6d8e745d1 flatpak-indexer: add kalev to appowners
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-14 07:32:23 -07:00
Timothée Ravier
31ef29a34b Redirect kinoite.fp.org to the new website
Redirect the kinoite subdomain to the new Kinoite website at:
https://fedoraproject.org/kinoite/

See: https://pagure.io/fedora-kde/SIG/issue/362#comment-861293
2023-06-13 08:50:14 +00:00
David Kirwan
325c691693 zabbix: remove keytab roles from playbook
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-06-12 12:11:36 +01:00
David Kirwan
79ed7fdc45 zabbix: fix user/group file ownership for keytabs
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-06-12 12:08:11 +01:00
David Kirwan
99b51133f1 zabbix: restore original playbook layout
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-06-12 11:55:12 +01:00
David Kirwan
c5cad9e168 zabbix_server: readd handlers
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-06-12 11:23:06 +01:00
David Kirwan
88e544bf53 zabbix: readd base roles
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-06-12 11:11:30 +01:00
David Kirwan
a8263f98e9 zabbix: add zabbix_server role
WIP

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-06-12 10:50:58 +01:00
Kevin Fenzi
34ea0dfcb3 autosign: add quotes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-06 10:29:45 -07:00
Kevin Fenzi
4f0fe17dc1 autosign: fix up import for newer ansible
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-06 10:27:04 -07:00
Kevin Fenzi
7e20e39474 wiki: re-enable fedmsg
Turns out we never completed it's migration to fedora-messaging, so we
need to re-enable fedmsg for now until we do.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-05 12:27:28 -07:00
Kevin Fenzi
16576acfe1 proxies: use wildcard cert for directory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-02 09:37:03 -07:00
Kevin Fenzi
49a625697b proxies: add a directory.fedoraproject.org redirect to www.port389.org ticket 11355
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-02 09:25:16 -07:00
Kevin Fenzi
cd4835f27f wiki: drop fedmsg here, we are using fedora-messaging now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-31 16:49:48 -07:00
amedvede
7b46fe06af feat: adding amedvede to toddlers appowners role 2023-05-29 10:18:52 +02:00
Kevin Fenzi
c04bf151ad proxies: add tag for bugz
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-26 11:13:22 -07:00
Kevin Fenzi
51be01a2bd proxies: registry.centos.org is retired
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-26 09:41:12 -07:00
a4d2fb7107 retire arm.fedoraproject.org
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-05-24 23:57:33 +00:00
b0b0acd4e5 [redirect] fix silverblue redirect
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-05-25 09:44:49 +10:00
Seddik Alaoui Ismaili
b8bc31b08b fedora silverblue redirect 2023-05-25 00:06:12 +02:00
Lukas Holecek
ff3609dd18 Remove inactive maintainers of gating services 2023-05-24 12:48:04 +00:00
ee7d388632 [proxies] add redirect for silverblue
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-05-24 17:05:21 +10:00
Kevin Fenzi
0111ccfe2d Retire old rdu2 space.
This space was in a networking cage thats going away and all the
machines there are old and out of warentee.
This space was intended for disaster recovery purposes.
For that now we have a internal vm that can access our mirrored netapp
storage, so we can sync anything off it we need to when iad2 is down.
I will be resetting up a batcave13 in another datacenter to allow us a
backup ansible/dns control host. bastion13/ns13/proxy13 will likely just
go away forever. download-rdu01 should be replaced by the new
download-cc-rdu01 once we have the new hardware in place for that.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-22 10:09:34 -07:00
Michal Konečný
0f615454fc [coreos-cincinnati] service.yml is now a template
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-05-22 11:07:17 +02:00
Michal Konečný
77b1c76fa1 [coreos-cincinnati] config-stub is now a template
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-05-22 11:04:13 +02:00
Dusty Mabe
d0aac9493c openshift-apps: remove egress policy for coreos-cincinnati
This is effectively doing nothing since 3cd0849. Let's delete it for
now and add it back if we want it later.
2023-05-22 08:54:10 +00:00
Kevin Fenzi
2ecf286302 osbs: move playbook to new ansible import syntax
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-20 08:46:24 -07:00
Dusty Mabe
3152c186a1 openshift-apps: fix yamllint on coreos/ostree files 2023-05-19 20:18:16 +00:00
Dusty Mabe
faede3940d openshift-apps: drop expired users from appowners for coreOS apps
Here are just a few that don't need access any longer.
2023-05-19 20:18:16 +00:00
Dusty Mabe
3ba43f2bd4 openshift-apps: overhaul coreos-cincinnati config
This commit makes the coreos-cincinnati setup look similar to the
other CoreOS/OSTree apps that we own. Notable changes:

- We are still building via commit, we only track a single commit
  and not a separate deploy/build one.
- We are now just outputting to a coreos-cincinnati-img:latest
  imagestream tag.
- We are now using a fedora:38 imagestream tag as the from: in our
  build and triggering new builds based on imagestream updates,
  which means we'll get security updates more regularly.
- A bunch of quoting (") in yaml files was removed as it clouded the
  diffs between this app and other apps.
- Some minor diffs between playbooks and other files were removed.
2023-05-19 20:18:16 +00:00
Dusty Mabe
fb4897d490 openshift-apps: move some coreos-cincinnati files around
As part of an effort to make coreos-cincinnati look like the rest
of the CoreOS Apps we'll move all files into the templates dir
(because even if they aren't templatized they still work there)
and rename `buildconfig-stub.yml` to `buildconfig.yml`.
2023-05-19 20:18:16 +00:00
Dusty Mabe
4546f35f28 openshift-apps: add comment to fedora-ostree-pruner playbook
We have this comment in our other coreos/ostree playbooks so
let's put it in here too.
2023-05-19 20:18:16 +00:00
Kevin Fenzi
3211ff358e vhost_reboot: update import_playbook calls to new syntax
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-19 09:53:27 -07:00
Lukas Holecek
90ce359a71 resultsdb: Auto-deploy when new image is available 2023-05-19 09:03:59 +00:00
Kevin Fenzi
ddfd50de03 smtp-auth-cc-rdu01: create new smtp auth relay
We need this to try and relay in emails.
It turns out to be bordering on impossible to do this sanely with our
current setup, so make a fedora vm that lets us use saslauthdb to have a
specific (small) list of users that can authenticate and relay emails
via bastion and out. We can't do this on rhel, because they don't build
the saslauthdb backend. We can't use any of the other backends because
they either don't work or would allow any fedora user to relay, which we
do not want.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-18 14:35:49 -07:00
Andrew Heath
dd5a282c7c adding hosts folder as well to the PR 2023-05-18 16:29:58 -04:00