Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9752

Users with the MINION role cannot write to Telemetryd queues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 21.0.0, 21.0.1
    • Fix Version/s: 21.0.2
    • Component/s: Minion
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      Users in the MINION role get the following exception when attempting to write publish Telemetryd messages to ActiveMQ:

      Caused by: java.lang.SecurityException: User minion is not authorized to write to: queue://OpenNMS.Sink.Telemetry.Netflow-5
              at org.apache.activemq.security.AuthorizationBroker.send(AuthorizationBroker.java:221) ~[?:?]
              at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:158) ~[?:?]
              at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:581) ~[?:?]
              at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:768) ~[?:?]
              at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:336) ~[?:?]
              at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:200) ~[?:?]
              at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50) ~[?:?]
              at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:125) ~[?:?]
              at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:301) ~[?:?]
              at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83) ~[?:?]
              at org.apache.activemq.transport.tcp.SslTransport.doConsume(SslTransport.java:108) ~[?:?]
              at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:233) ~[?:?]
              at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215) ~[?:?]
              at java.lang.Thread.run(Thread.java:745) ~[?:?]
      

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: