You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2013/05/02 12:02:15 UTC
[jira] [Created] (QPID-4806) qpid-config traceback in case of ACL
denial
Justin Ross created QPID-4806:
---------------------------------
Summary: qpid-config traceback in case of ACL denial
Key: QPID-4806
URL: https://issues.apache.org/jira/browse/QPID-4806
Project: Qpid
Issue Type: Bug
Components: Python Tools
Affects Versions: 0.22
Reporter: Justin Ross
Assignee: Justin Ross
Fix For: 0.23
[Text from Leonid]
The latest version of qpid-config tool shows an ugly traceback in case that the request was denied by ACL rule:
[root@lzhaldyb-rhel63x ~]# qpid-config add exchange topic new -b user/password@localhost:5672
Failed: UnauthorizedAccess: unauthorized-access: ACL denied queue create request from user@QPID (qpid/broker/Broker.cpp:1106)(403)
Traceback (most recent call last):
File "/usr/bin/qpid-config", line 772, in <module>
sys.exit(main())
File "/usr/bin/qpid-config", line 755, in main
bm.Disconnect()
File "/usr/bin/qpid-config", line 376, in Disconnect
self.conn.close()
File "<string>", line 6, in close
File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 316, in close
ssn.close(timeout=timeout)
File "<string>", line 6, in close
File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 739, in close
self.sync(timeout=timeout)
File "<string>", line 6, in sync
File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 731, in sync
if not self._ewait(lambda: not self.outgoing and not self.acked, timeout=timeout):
File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 567, in _ewait
self.check_error()
File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 556, in check_error
raise self.error
qpid.messaging.exceptions.UnauthorizedAccess: unauthorized-access: ACL denied queue create request from user@QPID (qpid/broker/Broker.cpp:1106)(403)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org