Skip to content

CI (Windows): let Redis 8.12 start the cluster nodes - #3400

Closed
mgravell wants to merge 1 commit into
mainfrom
marc/ci-redis-812-cluster-bus
Closed

mgravell wants to merge 1 commit into
mainfrom
marc/ci-redis-812-cluster-bus

Conversation

@mgravell

@mgravell mgravell commented Dec 3, 2026

Copy link
Copy Markdown
Member

The Windows job installs whatever Redis the packages.redis.io repo has as GA, which is now 8.12.0, and 8.12 refuses to start a cluster node whose bus port is unauthenticated:

*** FATAL CONFIG FILE ERROR (Redis 8.12.0) ***
cluster-bus-port-protected-mode is enabled but tls-cluster is disabled, which leaves the cluster bus port of this node unauthenticated ...
Either set 'tls-cluster yes', ... or set 'cluster-bus-port-protected-mode no' to acknowledge that the cluster bus port is reachable by trusted hosts only

So none of the cluster nodes start, and the job fails at the topology check before running any tests (for example on #3398).

This passes --cluster-bus-port-protected-mode no to the cluster nodes, but only when redis-server --version is 8.12 or later, because older servers reject unknown options. The setting goes on the command line rather than into the .conf files for the same reason: the Docker image for the Ubuntu job is pinned to an older build.

I checked against redis:8.12: without the option it fails with the error above, and with it the node starts. The version gate gives "on" for 8.12.0 and 9.0.0, and "off" for 8.10.2 and 8.2.1.

8.12 refuses a cluster node with an unauthenticated bus port unless cluster-bus-port-protected-mode is off; older servers reject the option, so it is passed only to 8.12 and later.
@mgravell

mgravell commented Dec 3, 2026

Copy link
Copy Markdown
Member Author

Closing: this is redundant on main. #3343 already sets cluster-bus-port-protected-mode no in the cluster confs, which is why main's Windows job is fine on 8.12. The v4 side is #3399, which now ports that approach.

@mgravell mgravell closed this Dec 3, 2026
@mgravell
mgravell deleted the marc/ci-redis-812-cluster-bus branch December 3, 2026 14:32
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

Successfully merging this pull request may close these issues.

1 participant