Redis Operator Integration with AIOPS
search cancel

Redis Operator Integration with AIOPS

book

Article ID: 373574

calendar_today

Updated On:

Products

DX APM SaaS

Issue/Introduction

This is regarding the redis integration with AIOPS over containerization. We are using the apmia:2.0.0 and while using username/password, the agent is unable to connect and failing with the following error:


redis.clients.jedis.exceptions.JedisDataException: WRONGPASS invalid username-password pair or user is disabled.

$ kex aiops-redis-standalone-558f6c7c8d-gjhj6 -- env|grep user
APMENV_INTROSCOPE_AGENT_REDISINFRA_PROFILES_REDISSTANDALONE_USERNAME=<username>
APMENV_INTROSCOPE_AGENT_REDISINFRA_PROFILES_REDISSTANDALONE_PASSWORD=<password>

I'm able to connect using redis-cli:


kex redis-standalone-0 -- redis-cli --user <username> --pass <password>
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
127.0.0.1:6379>

Resolution

While reviewing the acl list, it was found that the created user was not propagated to all the redis nodes and hence the issue.
 
Once the user is created in all the nodes, then our aiops agent was able to connect to the redis cluster and collect the metrics.