Commit graph

149 commits

Author SHA1 Message Date
Kevin Fenzi
d366194a22 module-build-service (mbs): retire service
With the EOL of Fedora 38 yesterday, we are no longer building any
modules and can retire our module build service.

Note that toddlers needs to be adjusted still, that will happen after
this.

Thanks for all the modules!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-22 13:38:53 -07:00
Aurélien Bompard
33ebd24bc5
Create the RabbitMQ user for CentOS Integration SIG
See https://pagure.io/fedora-infrastructure/issue/11552

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-02-28 11:25:55 +01:00
Aurélien Bompard
bddfb304ba
Expand the sent topics for gitlab-centos (#11552)
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-03 11:46:07 +02:00
Kevin Fenzi
377edfb74a rabbitmq / distrobuildsync-cs: remove queue for now until ELN folks are ready to consume it
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-24 12:57:45 -07:00
Aurélien Bompard
3d58e49141
Drop the koji-centos rabbitmq account (unused, the right one is centos-koji)
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-11 08:51:31 +02:00
Aurélien Bompard
bbe5f2d6c6
Fix sent_topics for osci-pipelines
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-10 16:09:32 +02:00
Aurélien Bompard
3bc4b2f664
Add the topic auth for gitlab-centos
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-26 12:46:30 +02:00
Kevin Fenzi
7e76b777f0 rabbitmq_cluster: add distrobuildsync-cs for ticket 11294
Here we add a queue for this client/login per the ticket.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-30 14:27:13 -07:00
Aurélien Bompard
5222f6ef87
Set the sent_topics for osci-pipelines
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-15 15:10:24 +02:00
Aurélien Bompard
359d13ce25
The distrobuildsync-eln account only consume messages
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-11 14:28:49 +02:00
Aurélien Bompard
55ce8486a3
RabbitMQ: add topic authn for several CentOS users
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-11 10:55:50 +02:00
Kevin Fenzi
dc85205755 osci: remove queue-3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-18 09:28:01 -07:00
Miroslav Vadkerti
6db9b164a1 Add another OSCI queue
We need another queue as we are extending one of our triggers
to another topic.

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2022-07-18 16:26:22 +00:00
Aurélien Bompard
d083b291d3
sent_topics can't be a list, it has to be a single regexp
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-07 09:09:24 +02:00
Aurélien Bompard
24c7194f1a
Split off some rabbitmq vhosts
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-05 09:29:29 +02:00
Aurélien Bompard
4249161ad0
RabbitMQ: add topic auth to more apps
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-05 08:35:10 +02:00
Kevin Fenzi
e9fc261362 eln-next: drop rabbitmq queue for eln-next, it is no longer needed
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-22 15:58:42 -07:00
Pierre-Yves Chibon
1cbdd19d3b rabbitmq: fix the suffix for the cbs user in stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2022-02-14 11:51:57 +01:00
Pierre-Yves Chibon
85362fa63d rabbitmq: create the CBS user on rabbitmq
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2022-02-14 10:30:49 +01:00
Leonardo Rossetti
76ec9e06a1 adding resultsdb username 2022-01-24 18:49:34 +00:00
Kevin Fenzi
df6a215e0b rabbitmq: add eln user and queues
See https://pagure.io/fedora-infrastructure/issue/10200

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-10-01 13:27:15 -07:00
Brian Stinson
4f635e3ad8 Add a fedora-messaging queue for the CentOS Stream robosignatory
Signed-off-by: Brian Stinson <bstinson@redhat.com>
2021-09-02 11:05:58 +00:00
Aurélien Bompard
9f2f798b9c
typo
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-06-11 11:40:51 +02:00
Aurélien Bompard
01ed5b118a
RabbitMQ: allow server-named queues
See: https://pagure.io/fedora-infrastructure/issue/9385

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-06-11 11:39:24 +02:00
Kevin Fenzi
81030d9a3d rabbitmq_cluster: move nagios perms into main playbook in one place
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 13:43:35 -08:00
Kevin Fenzi
e753bda034 rabbitmq_cluster: cookies are 0400 after restart, set them right here too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 12:42:20 -08:00
Kevin Fenzi
c8a77c5574 rabbitmq_cluster / staging: actually delegate to the stg host when running in stg.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 12:40:49 -08:00
Kevin Fenzi
88905ed40f rabbitmq_cluster / stg: use right datacenter for federation
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 12:36:01 -08:00
Kevin Fenzi
77d44a7159 rabbitmq_cluster / apps: no need to make gitlab-centos user as the queue role does that
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 12:16:06 -08:00
Kevin Fenzi
c73f991e30 rabbitmq_cluster / osci / staging: adjust the queue names to match username
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 10:47:06 -08:00
Kevin Fenzi
3f5fe0434d rabbitmq_cluster / osci queues: have to make them start with username in stg
This worked in prod, but in staging the queue isn't starting with the
username because that has a .stg in it. So, we need to also have the
queue's have .stg in the name.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-16 10:37:22 -08:00
Kevin Fenzi
d34274b02a rabbitmq_cluster: fix some typos
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-08 14:30:26 -08:00
Kevin Fenzi
ae62e4a4e7 rabbitmq_cluster: setup private mbs vhost/user
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-08 13:09:56 -08:00
Kevin Fenzi
a7ddcf5828 rabbitmq_cluster: expire /bodhi queues that are idle more than 1 week.
Fixes https://pagure.io/fedora-infrastructure/issue/9170

Lets just have rabbitmq cleaup any queues in the /bodhi vhost that are
around for more than a week idle.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-02 17:07:35 +00:00
Kevin Fenzi
dbd763816b rabbitmq cluster / osci queues: adjust so playbook doesn't fail on trying to change queues
The osci queue's have changed since this playbook last completed.
The ttl changed and the routing keys have changed.
The ansible rabbitmq module can't change these things on already created
queues because the api doesn't allow it. This makes this playbook fail
with:

"RabbitMQ RESTAPI doesn't support attribute changes for existing
queues"

So, for now, set the ttl to what it already is, and don't change the
routing keys at all. Hopefully this will get it to complete and osci can
manage at least routing keys themseleves wherever they do that.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-28 13:50:56 -08:00
Brendan Reilly
2ce9d8e8d3 MBS uses SSL auth for celery 2021-01-28 14:16:24 -05:00
Brian Stinson
c497b17e19 Add a centos-koji user in rabbitmq that corresponds to the certs
generated for us

Note: this is indeed a different user from the one listed before it.
koji-centos is used for mbbox.

Relates to: https://pagure.io/fedora-infrastructure/issue/9603
2021-01-28 09:17:53 -06:00
Kevin Fenzi
af302f46e0 rabbitmq / centos-odcs: more adjustments to user creation
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-07 15:59:53 -08:00
Kevin Fenzi
88cae583c6 rabbitmq / centos-odcs: specify correct vhost
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-07 15:56:22 -08:00
Kevin Fenzi
c60c1fbaf8 rabbitmq / centos-odcs: we need a centos-odcs user
This was hidden away in the odcs playbook in fedora infra, so I missed
that we didn't make it in the odcs role, which is where we copied the
things for the centos odcs application. So, add it in there so it makes
a centos-odcs user.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-07 15:45:09 -08:00
Mohan Boddu
fd8e2f238d Use underscore instead of dashes
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-12-16 10:11:57 -05:00
Mohan Boddu
11db5b4cfa Adding centos-odcs/centos-odcs-private-queue queue and user
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-12-15 10:47:36 -05:00
lrossett
f09d005563 adding centos-koji mq user 2020-12-14 08:16:01 +00:00
Pierre-Yves Chibon
6ce858af4c rabbitmq: fix some more the creation of the user and queue for gitlab-centos
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-12-08 10:12:48 +01:00
Pierre-Yves Chibon
cdbf639f69 rabbitmq: drop an extra . where we defined the gitlab-centos queue
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-12-08 10:05:36 +01:00
lrossett
aa73555871 changing topic name to match centos source 2020-11-18 08:42:30 +00:00
lrossett
806b6bfbdc adding gitlab-centos queue and user 2020-11-10 17:26:05 +00:00
Siteshwar Vashisht
5118b6817d Update roles/rabbitmq_cluster/tasks/apps.yml
Add `alt-src` user and queue for `sync2git` service for CentOS Streams
2020-09-15 07:55:04 +00:00
Pierre-Yves Chibon
4bc6749fad rabbitmq_cluster: Remove the rpminspect queue from the server
The Fedora CI folks are apparently no longer using it

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-04 21:18:07 +02:00
Pierre-Yves Chibon
4a93e4f1e0 rabbitmq_cluster: add a tags for the task on the osci-pipelines
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-07-23 10:03:31 +02:00