check_rabbitmq_queues.py results in TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack RabbitMQ Server Charm |
Fix Released
|
High
|
Unassigned |
Bug Description
On upgrade to cs:rabbitmq-
/usr/local/
Traceback (most recent call last):
File "/usr/local/
stats_collated = collate_
File "/usr/local/
for vhost, queue, m_all in stats:
File "/usr/local/
for line in data_lines:
File "/usr/local/
if not line.startswith
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Changed in charm-rabbitmq-server: | |
milestone: | none → 18.11 |
Changed in charm-rabbitmq-server: | |
assignee: | Alex Kavanagh (ajkavanagh) → nobody |
Changed in charm-rabbitmq-server: | |
status: | Fix Committed → Fix Released |
Well, that's embarrassing. I missed that on the last bug fix. Sadly we have no check for this; we probably need to think about how to improve it.