200 Commits

Author SHA1 Message Date
Greg Sutcliffe
5443368122 Zabbix: Add RabbitMQ monitoring ... to the correct role
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-04 14:27:59 +00:00
Cristian Le
144fbc70fd RabbitMQ: Add rmdepcheck queue
Signed-off-by: Cristian Le <git@lecris.dev>
2025-12-04 01:47:32 +00:00
Aurélien Bompard
f2739e64ae RabbitMQ: be more specific for the server-named queues to avoid conflict with exchange names
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-11-12 12:48:05 +01:00
Aurélien Bompard
825afa22f1 Remove unused OSCI pipelines queues in RabbitMQ
See: https://pagure.io/fedora-infrastructure/issue/12810

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-10-07 12:38:37 +02:00
Kevin Fenzi
948346f457 rabbitmq: drop some osci queues
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-09-26 13:35:11 -07:00
Aurélien Bompard
ba0393fece Deploy a patch in distgit to fix Infra ticket 12622
See: https://pagure.io/fedora-infrastructure/issue/12622
Patch sent upstream: https://pagure.io/pagure/pull-request/5529

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-08-06 17:04:00 +02:00
Aurélien Bompard
a1c3a34ff5 RabbitMQ Centos Monitoring: fix the timer
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-21 15:36:50 +02:00
Aurélien Bompard
a51c0ea353 RabbitMQ: setup sending the queue metrix to CentOS
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-21 15:23:42 +02:00
Kevin Fenzi
72789a919f rabbitmq: switch datacenter out for rdu3
This was useful when we had clusters in iad2 and rdu3, but it didn't
actually quite work then and it definitely doesn't now. :)

Datacenters like 'aws' do not have their own clusters, they use the one
in rdu3. So, just switch it back to hard coding.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-17 18:00:47 -07:00
Aurélien Bompard
02abc93d59 Add a script to send queue metrics to CentOS's Zabbix
Fixes: https://pagure.io/fedora-infrastructure/issue/12617

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-09 15:13:32 +02:00
Aurélien Bompard
60b7c10cf4 RabbitMQ: set the max acknowledgment time to 6h
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-07 23:41:51 +02:00
Aurélien Bompard
83ce202846 Don't expire queues at all in the /pubsub vhost
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-07 17:13:08 +02:00
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
Aurélien Bompard
253e47796b RabbitMQ: set the max message processing time to 2 hours
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-03 07:37:19 +02:00
Aurélien Bompard
05fee99f7a Fix authentication in RabbitMQ (hopefully)
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-27 09:48:41 +02:00
Aurélien Bompard
af66688770 RabbitMQ: refactor the plugin activation
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-26 16:41:53 +02:00
Aurélien Bompard
06d83032c4 The fail_if_no_peer_cert option is a server-only value, it now fails
https://groups.google.com/g/rabbitmq-users/c/qAwG0zHI53o

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-26 16:35:09 +02:00
Aurélien Bompard
246b738631 RabbitMQ: use when filter instead of delegating to rabbitmq01
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-26 11:12:47 +02:00
Aurélien Bompard
a7e8047af7 Fixup 6ddb896537
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-26 11:04:34 +02:00
Aurélien Bompard
8248acbe1e RabbitMQ: Drop the zmq.topic exchange, fedmsg has been retired
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-26 10:58:07 +02:00
Aurélien Bompard
6686ca4f7f RabbitMQ: use when filter instead of delegating to rabbitmq01
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-26 10:57:38 +02:00
Aurélien Bompard
6ddb896537 RabbitMQ: fix the federation setting
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-26 10:57:03 +02:00
Aurélien Bompard
447ea9c8ad RabbitMQ: create the /centos-odcs vhost before giving the nagios user access to it
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-26 09:20:42 +02:00
Aurélien Bompard
3fa3a0fc19 Fix erlang SSL path
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-25 15:18:05 +02:00
Aurélien Bompard
165c56fbf8 Move the bodhi sweeper configuration to the bodhi role
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-25 15:11:27 +02:00
Aurélien Bompard
7f1e3a1b73 Attempt to fix the RabbitMQ CLI tools
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-25 13:06:58 +02:00
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