Aurélien Bompard
573a151de1
RabbitMQ: use the new configuration file format in RDU3
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-06-24 10:00:03 +02:00
James Antill
1bb4982217
rabbitmq: Enable the plugins by hand, in el9, for now.
...
Signed-off-by: James Antill <james@and.org >
2025-06-22 17:35:52 -04:00
James Antill
c83547366e
Move the user removal after the HTTP management has started, again.
...
Signed-off-by: James Antill <james@and.org >
2025-06-22 17:13:53 -04:00
James Antill
9421e125cb
rabbitmq: Expliticly set HOME to /var/lib/rabbitmq.
...
Signed-off-by: James Antill <james@and.org >
2025-06-22 20:49:03 +00:00
James Antill
1bc914f0b5
rabbitmq: reorder the plugin task, as some require a running server.
...
Signed-off-by: James Antill <james@and.org >
2025-06-20 16:11:53 -04:00
Aurélien Bompard
9aca5b724a
RabbitMQ: deploy the new CA cert to prod too
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-04-23 09:49:54 +02:00
Aurélien Bompard
b9553f3378
Use the manually combined RabbitMQ CA, it's much easier
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-04-10 12:25:52 +02:00
Aurélien Bompard
475838940a
Use lookup instead of assemble for the RabbitMQ CA
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-04-10 12:16:51 +02:00
Aurélien Bompard
4c52d4603b
Deploy the new RabbitMQ CA in staging
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-04-10 11:44:50 +02:00
Aurélien Bompard
9c5d4f0768
Repair logging in rabbitmq
...
We had set the wrong file context for log files.
This changes is followed by these commands:
- `ansible -m command rabbitmq\* -a 'semanage fcontext -d -t var_log_t "/var/log/rabbitmq(/.*)?"'`
- `ansible -m command rabbitmq\* -a 'restorecon -v -R /var/log/rabbitmq'`
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-03-28 12:10:47 +01:00
Michal Konecny
2ec055db6f
Use first uppercase letter for all handlers
...
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.
I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```
Then I went through all the changes and removed the ones that wasn't
expected to be changed.
Fixes https://pagure.io/fedora-infrastructure/issue/12391
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-02-10 20:31:49 +00:00
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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
Ryan Lerch
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