Skip to content
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

Latest update has caused broken connection #154

Closed
lreher opened this issue Feb 22, 2023 · 8 comments
Closed

Latest update has caused broken connection #154

lreher opened this issue Feb 22, 2023 · 8 comments

Comments

@lreher
Copy link

lreher commented Feb 22, 2023

Hello, ever since the latest updates to these images our redis cluster has started refusing to connect. Has there been any changes to how we configure this?

@Sedemicra
Copy link

Same issue here. Connecting applications complain about "Redis is running in protected mode". This was not an issue before the updates (was using "latest" tag). Now, since all the images available in docker hub are updated, there isn't an option to go back to a previously working version either.

@Grokzen
Copy link
Owner

Grokzen commented Feb 22, 2023

@lreher @Sedemicra grokzen/redis-cluster:latest tag was updated yesterday from 6.2 to 7.0 and in that build the default is protected mode see #153 for it. You will have to disable protected mode manually in 7.0 and above before running the cluster.

The best for you todo is to use the old 6.2.x tags if you really depend on it. Running on :latest in the docker world is like running directly from master branch in a coding project, it is where anything and everything can break so it is risky to run on it. Change the tags on your end back one major version and you should be good to go again

@Grokzen Grokzen closed this as completed Feb 22, 2023
@Sedemicra
Copy link

Well aware of the risks of :latest, just taking over someone elses project :)
Just before my previous comment I didn't see the 6.2.x tags in docker hub so I figured they were no longer an option, but now they are available again - not sure what happened there. But thanks for making me look again @Grokzen
Might consider trying some option from #149 in the future, but currently 6.2.x tag will work just fine.

@Grokzen
Copy link
Owner

Grokzen commented Feb 22, 2023

All tags for 6.0, 6.2 & 7.0 should have been there since the last year at least O.o i hope so at least, most of the time i don't keep up with minor versions as they release. I have been thinking about some other solutions for that, maybe make a cron based solution with a github action that constantly builds all released versions for example, but that solution is not ready yet.

On the config side i have also been messing around with a new configuration solution that uses and makes environment variables much more usefull and able to configure anything instead of having to implement and support each key and variable as they are needed. The simplest way is to just volume map in your own configuration files to make it what you want, but i think that environment variables is the way to really go in the long run as things is going towards env vars more.

@lreher
Copy link
Author

lreher commented Feb 22, 2023

Thanks for the follow up, we've just replaced the image with an older digest.

@lreher
Copy link
Author

lreher commented Feb 22, 2023

I saw the same issue as @Sedemicra, all the tags look like they were replaced yesterday?

@Sedemicra
Copy link

It seems there is a bug in docker hub tags page logic.
When I open (or refresh) it I only see "latest" and 7.0.x tags on first page, and on next page there are only 6.0.x tags. I only see 6.2.x tags when I navigate back to first page and then they miraculously appear. This is why I originally missed them.
It seems to be some kind of general issue in docker hub as I see similar problem on other projects.

@Grokzen
Copy link
Owner

Grokzen commented Feb 23, 2023

@Sedemicra I think it is based on what order i upload the latest layers in, best is to sort them Z-A then it would always come in the correct order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants