Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4806

qpid-config traceback in case of ACL denial

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22
    • 0.23
    • C++ Tools
    • None

    Description

      [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)

      Attachments

        Activity

          People

            jross Justin Ross
            jross Justin Ross
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: