From 03e5ce1b44e9b4cd94e3ebc653e677ff124d2873 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 25 Jun 2020 10:00:11 +0200 Subject: [PATCH] toddlers: Instruct fedora-messaging to not create the queue Signed-off-by: Pierre-Yves Chibon --- roles/openshift-apps/toddlers/templates/fedora-messaging.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/openshift-apps/toddlers/templates/fedora-messaging.toml b/roles/openshift-apps/toddlers/templates/fedora-messaging.toml index 8886b30596..2d3ed71dc0 100644 --- a/roles/openshift-apps/toddlers/templates/fedora-messaging.toml +++ b/roles/openshift-apps/toddlers/templates/fedora-messaging.toml @@ -6,6 +6,9 @@ amqp_url = "amqps://toddlers{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub" callback = "toddlers.runner:RunningToddler" +# Just check if the queue exist, don't try to create it as you won't be allowed +# to (this is done in the ansible playbook) +passive_declares = true # The topic_prefix configuration value will add a prefix to the topics of every sent message. # This is used for migrating from fedmsg, and should not be used afterwards.