i wrote requirepass,i wrote masterauth,yet it told me "invalid username-password pair"! wtf should i do?i don't need a user at all!ever i if used "--user default --pass xxx" instead of "-a",it still didn't work!

[root@localhost redis7]# redis-cli --cluster create 172.31.4.18:7000 172.31.4.18:7001 172.31.4.19:7000 172.31.4.19:7001 172.31.4.20:7000 172.31.4.20:7001 --cluster-replicas 1 -a xxx Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe. Node 172.31.4.18:7000 replied with error: WRONGPASS invalid username-password pair or user is disabled.

Comment From: oranagra

@xanawang did it used to work for you before 7.0? i'm no expert to redis-cli --cluster, but AFAIU --cluster create just joins pre-configured instances into a cluster. have a look the script in utils/create-cluster/create-cluster to see how to pass configuration to the instances. or maybe i'm missing your point and that's what you already did? please share more details.