Hello There, I have noticed that starting from Redis 7.0RC1 we can explicitly specify cluster-port rather than +10000 port..
so now i am creating the cluster using following command , but Redis still trying to connect to +10000 port , is this a bug or there is a config to override?
Ex:
export REDIS_CLUSTER_PORT_6 =6379
export REDIS_CLUSTER_BUS_PORT_6 =7379
redis-server $REDIS_CLUSTER_PORT_6.conf --port $REDIS_CLUSTER_PORT_6 --cluster-enabled yes --cluster-config-file /opt/ais/conf/amp-redis-cluster/$REDIS_CLUSTER_PORT_6/node.conf --dir /opt/ais/data/amp-redis-cluster/$REDIS_CLUSTER_PORT_6 --protected-mode no --requirepass $REDIS_CLUSTER_PASSWORD --masterauth $REDIS_CLUSTER_PASSWORD --cluster-node-timeout 2000 --cluster-allow-reads-when-down yes --cluster-require-full-coverage no --cluster-port $REDIS_CLUSTER_BUS_PORT_6
redis-cli --cluster create $REDIS_CLUSTER_HOST:$REDIS_CLUSTER_PORT_1 $REDIS_CLUSTER_HOST:$REDIS_CLUSTER_PORT_2 $REDIS_CLUSTER_HOST:$REDIS_CLUSTER_PORT_3 $REDIS_CLUSTER_HOST:$REDIS_CLUSTER_PORT_4 $REDIS_CLUSTER_HOST:$REDIS_CLUSTER_PORT_5 $REDIS_CLUSTER_HOST:$REDIS_CLUSTER_PORT_6 -a $REDIS_CLUSTER_PASSWORD --cluster-replicas 1
Redis Log:
32:M 24 Feb 2022 19:54:06.837 - Connection with Node 7de445ff670148fc0240c7b65fcbe0ceb373fdd7 at 127.0.0.1:16379 failed: Connection refused
Redis CLI Cluster create stuck with ```` Can I set the above configuration? (type 'yes' to accept): yes
Nodes configuration updated Assign a different config epoch to each node Sending CLUSTER MEET messages to join the cluster Waiting for the cluster to join ............................................................. ```
Comment From: satheeshaGowda
Hi @oranagra can you please suggest if you have a spare ?
Comment From: enjoy-binbin
currently the bus port only supports manual CLUSTER MEET redis-cli does not support it yet, i think take a look later
and currently the bus port is missing in CLUSTER MEET doc, see https://github.com/redis/redis/pull/10304
Comment From: oranagra
@hwware @madolson PTAL (related to #9389)
Comment From: enjoy-binbin
i am working on redis-cli part, make it accept the bus port parameter. (It doesn't look complicated)
Comment From: enjoy-binbin
~~since cluster-bus is configurable, I feel like we should list it in INFO cluster? (did it in the below PR)~~ ~~Although we can get this information from CLUSTER NODES (and config get)~~
~~also i see cluster-port is IMMUTABLE_CONFIG, need to change it to MODIFIABLE_CONFIG?~~
Comment From: enjoy-binbin
I think I should have covered everything, will become like this: see #10344
Comment From: satheeshaGowda
thank you all, for quick turn around on this. i will test and confirm once the PR merged.