47c68f478d
ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
...
Replaces references to template: with ansible.builtin.template
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00
25391e95b7
ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
...
Replaces many references to package: with ansible.builtin.package
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
462176464b
ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
...
Replaces many references to command: with ansible.builtin.command
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
6a3816dfdc
ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
...
Replaces many references to 'copy' with ansible.builtin.copy
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
62952df107
ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
...
Replaces many references to file: with ansible.builtin.file
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
691adee6ee
Fix name[casing] ansible-lint issues
...
fix 1900 failures of the following case issue:
`name[casing]: All names should start with an uppercase letter.`
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
Kevin Fenzi
37425b8f9c
rabbitmq_cluster: add missing _
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-11 12:43:15 -08:00
Aurélien Bompard
b4462755f0
Prefix variables in rabbit/queue
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:58:18 +01:00
Aurélien Bompard
b37685848f
Prefix sent_topics where appropriate
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:39:54 +01:00
89f6f1fc32
Fix majority of remaining yamllint warnings and errors
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Kevin Fenzi
a3a40cddf1
rabbitmq / staging: no need for eln-distrosync queue in staging
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-01 11:08:28 -07:00
Seddik Alaoui Ismaili
b29b23f3e9
selinux allow rabbitmq logs in logrotate
2024-09-24 18:27:30 +00:00
Stephen Gallagher
23311d8f9c
AMQP: Fix pointless yamllint failures
...
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2024-07-09 10:47:36 +00:00
Stephen Gallagher
1e004c1252
AMQP: Add more routing keys for ELNBuildSync
...
EBS expects to receive notifications for task state changes as well as
the start of repo regeneration. Otherwise, it has to fall back to
polling, which is much slower (and what it has been doing for some time
now).
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2024-07-09 10:47:36 +00:00
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