TTL pattern does not match leaking queues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat Charm |
Triaged
|
High
|
Unassigned |
Bug Description
The PR:
https:/
allowed setting a TTL policy on heat queues. However, it still leaks quite a fair number of queues after each restart (18 for a 3 node heat deployment).
The following diff sets a pattern that will set a TTL on all heat queues (fanout included):
diff --git a/hooks/
index fa6d9ce..3c937e7 100755
--- a/hooks/
+++ b/hooks/
@@ -225,7 +225,7 @@ def amqp_joined(
relation_
- ttlreg=
+ ttlreg=
This, coupled with the change in:
https:/
made the queues disapear after TTL expired.
Triaged by looking at the regex provided in the diff. Seems pretty straightforward; adjust the regex to account for queues that are prefixed with the queuenames and adds the engine_fanout queue.