Cloud Pak for Business Automation

 View Only
Expand all | Collapse all

ODM BAI emitter not working, unable to see ODM events on BAI Dashboard

  • 1.  ODM BAI emitter not working, unable to see ODM events on BAI Dashboard

    Posted Tue March 15, 2022 12:52 AM

    We have configured the ODM BAi emitter per the documentation but ODM-related events are never seen on the BAI dashboard.

    We see some kafka-related error messages in the odm decisionserver pod logs,

    but need help understanding this and resolving it.



    #CloudPakforBusinessAutomation
    #Support
    #SupportMigration


  • 2.  RE: ODM BAI emitter not working, unable to see ODM events on BAI Dashboard

    Posted Thu April 07, 2022 11:45 AM

    The kafka exception you are getting in the ODM decisionserver pods from the emitter plug-in user/token properties are incorrect;

    This is the root cause as to why events are not emitted and due to kafka user credentials were incorrect and in turn, not seen on BAI dashboard.

    SystemErr R 342063847 [kafka-producer-network-thread | producer-1] ERROR org.apache.kafka.clients.NetworkClient - [Producer clientId=producer-1] Connection to node -1 failed authentication due to: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: User name could not be obtained

    Review the doc Configuring the ODM event emitter for setting the values in the plugin-configuration.properties file in section Configure event emission with security , specifically the last property for username/password:

    Correct the values for property for username/password in the plugin-configuration.properties file as follows:

    com.ibm.rules.bai.plugin.kafka.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="token" password="<api_key>";

    Once kafka user credentials are corrected then restart the decisionserver pods.. the kafka exception shown above should no longer be occurring and emitted events from odm should now be seen on the BAI Dashboard .



    #CloudPakforBusinessAutomation
    #Support
    #SupportMigration