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
Kevin Fenzi
632d4a0273
nagios_server: adjust a bunch more things for iad2.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-30 15:39:32 -07:00
Kevin Fenzi
d703de535a
iad2-move: disable nagios handler for rabbitmq for now until we have a iad2 nagios
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-08 07:51:54 -07:00
Kevin Fenzi
5351aa704e
iad2 move: setup rabbitmq to be ready for moving.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-08 07:49:28 -07:00
Stephen Smoogen
f54401aca0
this hack probably breaks things in a way different way
2020-06-06 09:32:53 -04:00
Kevin Fenzi
eae8075d65
iad2: generalize rabbit/queue for both datacenters.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 20:53:12 -07:00
Kevin Fenzi
3f9c2e5d53
iad2: adjust rabbit/user defaults for either datacenter
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 15:13:31 -07:00
Aurélien Bompard
9370ffcf7e
Add the rabbitmq_cluster tag to the rabbit roles
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:22 +02:00
Aurélien Bompard
c1d04e9783
Add default Nagios alerts for rabbit queues
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:20 +02:00
Aurélien Bompard
05f6dcdc39
rabbit/queue: don't default to subscribing to everything
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:20 +02:00
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
756619cee0
Create a rabbit/user role
2019-03-05 08:54:40 +00: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