Minion user not authorized to read from topic OpenNMS.Twin.Sink

Description

After upgrading to Horizon 29.0.0 I have seen the following log entries on in the Karaf.log of the Minion:

12:22:09.904 WARN [Camel (camel-4) thread #9 - JmsConsumer[OpenNMS.Twin.Sink]] Setup of JMS message listener invoker failed for destination 'OpenNMS.Twin.Sink' - trying to recover. Cause: User minion is not authorized to read from: topic://OpenNMS.Twin.Sink

I've checked the opennms-activemq.xml configuration file and it has the following authorization entries:

<authorizationEntry queue="OpenNMS.Twin.Sink" read="minion" admin="minion" /> <authorizationEntry queue="OpenNMS.Twin.RPC" write="minion" admin="minion" />

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Chandra Gorantla November 12, 2021 at 4:15 PM

Ronny Trommer November 12, 2021 at 4:14 PM
Edited

suggested to change the configuration for the authorizationEntry from queue to topic as the following:

<!-- Users in the minion role can read queue OpenNMS.Twin.Sink --> <authorizationEntry topic="OpenNMS.Twin.Sink" read="minion" admin="minion" /> <!-- Users in the minion role can write queue OpenNMS.Twin.RPC --> <authorizationEntry queue="OpenNMS.Twin.RPC" write="minion" admin="minion" />

this fixed the problem for me.

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created November 12, 2021 at 4:11 PM
Updated November 15, 2021 at 4:52 PM
Resolved November 15, 2021 at 4:52 PM

Flag notifications