-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(redis)!: add default auth to redis clusters #37337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(redis)!: add default auth to redis clusters #37337
Conversation
rarkins
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need some time to check with some known users of cluster mode to confirm that none of them are using username/password. If they are, then we need to reconfirm the assumptions which lead to this PR
|
Hi there, Please don't merge from Thanks, The Renovate team |
|
@rarkins are their any updates from customers? |
|
(I've raised this internally at Mend, thanks for your patience!) |
|
To confirm, as far as we're aware, @jaylindquist y'all are the main folks impacted by this 🤓 This is planned to land in the coming CLI 42 release this coming week - I'll get the branch updated |
|
Working through the follow-on from the major release #36423 |
0e91f3d to
3e87498
Compare
When using Redis in a cluster with authentication, we see errors
connecting to non-root nodes with:
WARN: Error while setting Redis cache value (repository=<org>/<repo>)
"err": {"message": "NOAUTH Authentication required."}
This change adds the username and password from the redis URL as
defaults for connections to non-root node servers as described in the
node-redis docs[0].
Co-authored-by: Michael Kriese <[email protected]>
[0]: https://github.com/redis/node-redis/blob/master/docs/clustering.md#auth-with-password-and-username
93df76e to
245a349
Compare
When using Redis in a cluster with authentication, we see errors
connecting to non-root nodes with:
WARN: Error while setting Redis cache value (repository=<org>/<repo>)
"err": {"message": "NOAUTH Authentication required."}
This change adds the username and password from the redis URL as
defaults for connections to non-root node servers as described in the
node-redis docs[0].
Co-authored-by: Michael Kriese <[email protected]>
[0]: https://github.com/redis/node-redis/blob/master/docs/clustering.md#auth-with-password-and-username
When using Redis in a cluster with authentication, we see errors
connecting to non-root nodes with:
WARN: Error while setting Redis cache value (repository=<org>/<repo>)
"err": {"message": "NOAUTH Authentication required."}
This change adds the username and password from the redis URL as
defaults for connections to non-root node servers as described in the
node-redis docs[0].
Co-authored-by: Michael Kriese <[email protected]>
[0]: https://github.com/redis/node-redis/blob/master/docs/clustering.md#auth-with-password-and-username
When using Redis in a cluster with authentication, we see errors
connecting to non-root nodes with:
WARN: Error while setting Redis cache value (repository=<org>/<repo>)
"err": {"message": "NOAUTH Authentication required."}
This change adds the username and password from the redis URL as
defaults for connections to non-root node servers as described in the
node-redis docs[0].
Co-authored-by: Michael Kriese <[email protected]>
[0]: https://github.com/redis/node-redis/blob/master/docs/clustering.md#auth-with-password-and-username
When using Redis in a cluster with authentication, we see errors
connecting to non-root nodes with:
WARN: Error while setting Redis cache value (repository=<org>/<repo>)
"err": {"message": "NOAUTH Authentication required."}
This change adds the username and password from the redis URL as
defaults for connections to non-root node servers as described in the
node-redis docs[0].
Co-authored-by: Michael Kriese <[email protected]>
[0]: https://github.com/redis/node-redis/blob/master/docs/clustering.md#auth-with-password-and-username
Changes
Using redis in a cluster with authentication causes the following error:
This change adds the username and password from the redis URL as defaults for connections to non-root node servers as described in the node redis docs
Context
Logs and motivation in #37319
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: