Commit Graph

21 Commits

Author SHA1 Message Date
Aurélien Bompard
be681e40f3 Bind AMQP queues to both amq.topic and zmq.topic
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
449b5988d0 Take some precautions against misuse of the rabbit roles
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:11 +02:00
Mikolaj Izdebski
da1144aa65 rabbit/queue: Fix default value for message_ttl 2020-04-24 21:34:10 +02:00
Mikolaj Izdebski
22dfe009c8 Revert "Fixing the type error"
This reverts commit f44bfd2ac307334500c5c4c5a704c28c2eb74143.
2020-04-24 21:34:10 +02:00
Mohan Boddu
a1ecbc722d Fixing the type error
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-24 21:34:10 +02:00
Mikolaj Izdebski
8b0df497f4 rabbit/queue: Tag all tasks with fedora-messaging tag 2020-04-24 21:34:10 +02:00
Mikolaj Izdebski
3ff6a8502f Koschei: create RabbitMQ queue 2020-04-24 21:34:10 +02:00
Kevin Fenzi
6a717f8536 rabbitmq: Switch default server back to 01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:09 +02:00
Aurélien Bompard
c31b3aa14e Trivial change to test the handler
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:08 +02:00
Aurélien Bompard
ac6245ddde Delegate the nagios and nrpe handlers
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:08 +02:00
Aurélien Bompard
309ec254bf Add thresholds on Bodhi's RabbitMQ queues
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:08 +02:00
Adam Williamson
359e69f519 rabbit/queue/tasks: allow specifying custom write_queues
When creating a queue, the user is automatically created, but
there is no control over what queues the user can write to. A
user might need to write to queues other than ones prefixed with
their name (e.g. some users need to write to 'ci.*' queues).
This makes it possible to specify additional custom prefixes of
queues the user will be permitted to write to.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-24 21:34:07 +02:00
Jeremy Cline
b6cb5aa35d rabbit: queue: Allow users to read from zmq.topic 2019-06-14 19:26:07 +00:00
Adam Williamson
a0be8f9850 rabbit: show user and queue names when creating queues
It makes it a lot easier to know which queue is which when a
playbook creates more than one...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-06-14 08:42:31 -07:00
Aurélien Bompard
58d7002000 Rabbit: add perm to write in a user's queue 2019-03-01 14:19:57 +00:00
Michal Konečný
4321d3e7a8 rabbit/queue: Fix missing parantheses
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2019-03-01 14:50:15 +01:00
Michal Konečný
7ce97e217f rabbit/queue: Fix escape character
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2019-03-01 14:46:21 +01:00
Aurélien Bompard
91862963c6 Rabbit: add perm to read from the exchange 2019-03-01 13:07:18 +00:00
Michal Konečný
52d8c3939a rabbitmq: Add user and password for login to binding
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2019-02-28 10:54:41 +01:00
Michal Konečný
40773f5afa rabbitmq: Add user and password for login
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2019-02-28 10:52:24 +01:00
Jeremy Cline
5de9d7ce57 Add role for creating RabbitMQ users and queues
A basic role that should cover most people's use cases for creating uses
and queues. For more advanced setups, folks should use the modules
directly.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2019-02-27 18:11:09 +00:00