Skip to content

fix(redis): Regression for masterauth field causing NOAUTH Authentication required error#1200

Merged
svghadi merged 4 commits into
redhat-developer:v1.21from
akhilnittala:v1.21
Jul 1, 2026
Merged

fix(redis): Regression for masterauth field causing NOAUTH Authentication required error#1200
svghadi merged 4 commits into
redhat-developer:v1.21from
akhilnittala:v1.21

Conversation

@akhilnittala

Copy link
Copy Markdown
Member

What type of PR is this?
/kind bug

What does this PR do / why we need it:
RCA: masterauth has been removed in redis.conf.tpl as part of this pr #1124, but init.sh script use sed command to overwrite REPLACE_DEFAULT_AUTH with password. sed command will replace the existing but field itself is removed, so password is not getting added in redis.confRCA: masterauth has been removed in redis.conf.tpl as part of this pr #1124, but init.sh script use sed command to overwrite REPLACE_DEFAULT_AUTH with password. sed command will replace the existing but field itself is removed, so password is not getting added in redis.conf
Have you updated the necessary documentation?

  • Documentation update is required by this PR.
  • Documentation has been updated.

Which issue(s) this PR fixes:

Fixes #?
https://redhat.atlassian.net/browse/GITOPS-10178
Test acceptance criteria:

  • Unit Test
  • E2E Test

How to test changes / Special notes to the reviewer:

  • Deploy redis with ha enabled, ha.enabled: true
  • verify the redis pods are up and check the below commands for ha proxy pods.
kubectl logs -f openshift-gitops-redis-ha-server-1 -n openshift-gitops
oc exec -it openshift-gitops-redis-ha-server-0 -n openshift-gitops -- \
sh -c 'REDISCLI_AUTH=$(cat /app/config/redis-auth/auth) redis-cli INFO replication'
oc exec -it openshift-gitops-redis-ha-server-0  -n openshift-gitops -- cat /data/conf/redis.conf

Signed-off-by: akhil nittala <nakhil@redhat.com>
Signed-off-by: akhil nittala <nakhil@redhat.com>
…tion required error

Signed-off-by: akhil nittala <nakhil@redhat.com>
@openshift-ci openshift-ci Bot added the kind/bug Something isn't working label Jul 1, 2026
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: a5320edf-db8b-494c-ab1b-0495e99565ed

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@openshift-ci openshift-ci Bot requested review from Naveena-058 and svghadi July 1, 2026 10:05
@akhilnittala akhilnittala changed the title V1.21 fix(redis): Regression for masterauth field causing NOAUTH Authentication required error Jul 1, 2026
@varshab1210

Copy link
Copy Markdown
Member

/lgtm

@svghadi

svghadi commented Jul 1, 2026

Copy link
Copy Markdown
Member

/lgtm
/approve

@openshift-ci

openshift-ci Bot commented Jul 1, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: svghadi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved label Jul 1, 2026
@svghadi svghadi merged commit 4648fa0 into redhat-developer:v1.21 Jul 1, 2026
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved kind/bug Something isn't working lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants