Hide Forgot
Description of problem: Beaker's publishing/consuming code can find itself in a busy loop trying to get a valid session from the qpid connection. Version-Release number of selected component (if applicable): How reproducible: Always, whenever there is a permission or other permanent issue. Steps to Reproduce: 1. Connect to a broker via the bkr.common.messaging_bus code. 2. Use the bkr.common.messaging_bus.fetch() to fetch something with an address string for which we don't have the appropriate permissions. 3. Actual results: We end up in a busy loop with something similar to the following bkr.common.message_bus DEBUG Attempting to recover from 'unauthorized-access: ACL denied queue create request from <user> (qpid/broker /Broker.cpp:1112)(403)' in _fetch Expected results: Additional info: The code in question ( _manage_connection() ) was designed to make the connection more robust, retrying transient failures. From looking at the logs, this appears to be working fine. However, it doesn't discern those kinds of errors from more permanent ones (i.e permissions errors).
We are not using qpid anymore (we never really did). I have posted a patch to remove this code: https://gerrit.beaker-project.org/5481