Can't turn on AlarmReconcileConfiguration from spectrumdatapublisher (oi_connector)- ERROR CODE: 401 , message: Unauthorized
search cancel

Can't turn on AlarmReconcileConfiguration from spectrumdatapublisher (oi_connector)- ERROR CODE: 401 , message: Unauthorized

book

Article ID: 277378

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

The issue occur with the AlarmReconcileConfiguration. We can start the spectrumdatapublisher when this is set on false, But when this is set on true ( to make the AlarmReconcile functionality feature active )  then spectrumdatapublisher  wont start it gives the below error .

2023-11-27 08:48:31,496 INFO [ConnectionValidator] [validateSpectrum] - Requested URL : https:// <spectrum URL: PORT> /
2023-11-27 08:48:31,926 INFO [ConnectionValidator] [validateAll] - TAS connection successful
2023-11-27 08:48:34,311 INFO [ConnectionValidator] [validateNass] - NassReactiveClient is used
2023-11-27 08:48:34,311 INFO [ConnectionValidator] [validateAll] - NASS connection successful
2023-11-27 08:48:34,316 INFO [ConnectionValidator] [validateJarvis] - Requested URL : https://<APM SAAS UR>L/jarvis/health/ingestion 
2023-11-27 08:48:34,652 INFO [ConnectionValidator] [validateAll] - Jarvis connection successful
2023-11-27 08:48:34,656 INFO [ConnectionValidator] [validateDOI] - Requested URL : https://<APM SAAS UR>L/oipublic/aoanalytics/alarms/alarms_all/_search/?size=0&from=0&q=(status:(NOT CLOSED)+AND+product:Spectrum+AND+@tenant_id: <Actual tenant ID>) 
2023-11-27 08:48:35,051 ERROR [HttpResponseHandler] [handleResponse] - HTTP response- Url : https://<APM SAAS URL>/oipublic/aoanalytics/alarms/alarms_all/_search/?size=0&from=0&q=(status:(NOT%20CLOSED)%20AND%20prodspectrum/restful/heartbeat 

2023-11-27 08:48:31,629 INFO [ConnectionValidator] [validateAll] - Spectrum connection successful

2023-11-27 08:48:31,632 INFO [ConnectionValidator] [validateTas] - Requested URL : https://<APM SAAS URL> /tas/graph/store uct:Spectrum%20AND%20@tenant_id:<Actual tenant ID> error code: 401 , message: Unauthorized
2023-11-27 08:48:35,052 ERROR [AbstractHttpClient] [execute] - HTTP error code: 401 
2023-11-27 08:48:35,053 ERROR [ConnectionValidator] [validateDOI] - OI heartbeat request has failed with status code 401 
2023-11-27 08:48:35,054 ERROR [ConnectionValidator] [validateAll] - DOI connection failed
2023-11-27 08:48:35,054 INFO [ConnectionValidator] [validateAll] - Proxy is disabled

Environment

OI Version: Saas
Spectrum: 23.3.3
Netops connector:23.3.3

Cause

Http error message clearly shows authentication failed, so new tenant token need to create and configure .

Resolution

 In the config file with alarmreconcile on true ,

AlarmReconcileConfiguration>
<Enable>true</Enable>
</AlarmReconcileConfiguration>

ran ./run.sh reset 


Updated the credentials &  made a new Tenant token and then it worked.

Additional Information

Refer the DX NetOps document > Integrate With DX Operational Intelligence section following the below  URL for  complete configuration steps.

 

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/dx-netops/23-3/Fault-Monitoring-with-DX-Spectrum/integrating/integrate-ca-spectrum-with-ca-digital-operational-intelligence-using-spectrum-data-publisher.html

 

 Though DX netops 23.3 document is saying

 
Note : In case you used the OI Agent token and you upgrade from the previous release, reset the Spub connector using the ./run.sh reset command. Then input the Tenant token.
 
But it seems any token related change  needs the  reset command  to run .