diff --git a/oslo_messaging/_drivers/impl_rabbit.py b/oslo_messaging/_drivers/impl_rabbit.py index a1f5ce220..0519ca1d8 100644 --- a/oslo_messaging/_drivers/impl_rabbit.py +++ b/oslo_messaging/_drivers/impl_rabbit.py @@ -1274,6 +1274,7 @@ class Connection(object): # from the one used first. if "PRECONDITION_FAILED - inequivalent arg 'durable'" \ in str(err): + LOG.warning("Force creating a non durable exchange.") exchange.durable = False exchange(self.channel).declare() self._declared_exchanges.add(exchange.name)