Handle missing queue gracefully

Bug #1285191 reported by Jacek Nykis
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-oops-tools
Undecided
Unassigned

Bug Description

When amqp2disk took can't find its queue it fails with:
amqplib.client_0_8.exceptions.AMQPChannelException: (404, u"NOT_FOUND - no queue 'XXX' in vhost 'YYY'", (60, 20),
'Channel.basic_consume')

This can be resolved with "--bind-to oopses"

If the solution is so simple could "--bind-to oopses" be made implicit? If this is not desirable the error message returned by amqp2disk could suggest using it to make initial setup easier.

Haw Loeung (hloeung)
tags: added: canonical-webops-oops
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers