Skip to content

eos-mgm: redis-cli requires password to ping qdb cluster

[root@eos-mgm-0 ~]#  redis-cli -h eos-qdb.default.svc.cluster.local -p 7777 ping 
(error) NOAUTH Authentication required.

We should pass the password but

  • -a option is a shell escape nightmare
  • env var REDISCLI_AUTH does not seem to work for us

This breaks the check in the initContainer, BUT it does not block the deployment as redis-cli has exit code 0 even if unable to authenticate.

Edited by Enrico Bocchi