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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to