kubeblocks
kubeblocks copied to clipboard
[BUG] redis cluster role is all primary create via ipv6
Describe the bug
kbcli version
Kubernetes: v1.21.0
KubeBlocks: 0.8.3-beta.2
kbcli: 0.8.2
To Reproduce Steps to reproduce the behavior:
- create cluster
kbcli cluster create redis redis --mode='replication' --cpu=0.5 --memory=0.5 --storage=1 --availability-policy=none --termination-policy=Delete --monitoring-interval=0 --version=redis-7.0.6 --replicas=2
- See error
kbcli cluster list-instances -n default redis
NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME
redis-redis-0 default redis redis Running primary <none> <none> 500m / 500m 512Mi / 512Mi data:1Gi izj6c0fefwrwyyuv03vpzuz/240b:4001:233:ff00:9e65:d8aa:6597:2a79 Mar 27,2024 17:20 UTC+0800
redis-redis-1 default redis redis Running primary <none> <none> 500m / 500m 512Mi / 512Mi data:1Gi izj6c0fefwrwyyuv03vpztz/240b:4001:233:ff00:9e65:d8aa:6597:2a7b Mar 27,2024 17:20 UTC+0800
redis-redis-sentinel-0 default redis redis-sentinel Running <none> <none> <none> 200m / 200m 214748364800m / 214748364800m data:20Gi izj6c0fefwrwyyuv03vpztz/240b:4001:233:ff00:9e65:d8aa:6597:2a7b Mar 27,2024 17:20 UTC+0800
redis-redis-sentinel-1 default redis redis-sentinel Running <none> <none> <none> 200m / 200m 214748364800m / 214748364800m data:20Gi izj6c0fefwrwyyuv03vpztz/240b:4001:233:ff00:9e65:d8aa:6597:2a7b Mar 27,2024 17:20 UTC+0800
redis-redis-sentinel-2 default redis redis-sentinel Running <none> <none> <none> 200m / 200m 214748364800m / 214748364800m data:20Gi izj6c0fefwrwyyuv03vpztz/240b:4001:233:ff00:9e65:d8aa:6597:2a7b Mar 27,2024 17:20 UTC+0800
log pod lorry
kubectl logs -ndefault redis-redis-0 lorry
2024-03-27T09:20:49Z INFO Initialize DB manager
2024-03-27T09:20:49Z INFO KB_WORKLOAD_TYPE ENV not set
2024-03-27T09:20:49Z INFO Volume-Protection succeed to init volume protection {"pod": "redis-redis-0", "spec": {"highWatermark":"0","volumes":[]}}
2024-03-27T09:20:49Z INFO HTTPServer Starting HTTP Server
2024-03-27T09:20:58Z INFO Redis DB startup ready
2024-03-27T09:20:58Z INFO DCS-K8S pod selector: app.kubernetes.io/instance=redis,app.kubernetes.io/managed-by=kubeblocks,apps.kubeblocks.io/component-name=redis
2024-03-27T09:20:58Z INFO DCS-K8S podlist: 2
2024-03-27T09:20:58Z INFO DCS-K8S Leader configmap is not found {"configmap": "redis-redis-leader"}
2024-03-27T09:20:58Z INFO event send event: map[event:Success operation:checkRole originalRole: role:primary]
kubectl logs -ndefault redis-redis-1 lorry
2024-03-27T09:20:54Z INFO Initialize DB manager
2024-03-27T09:20:54Z INFO KB_WORKLOAD_TYPE ENV not set
2024-03-27T09:20:54Z INFO Volume-Protection succeed to init volume protection {"pod": "redis-redis-1", "spec": {"highWatermark":"0","volumes":[]}}
2024-03-27T09:20:54Z INFO HTTPServer Starting HTTP Server
2024-03-27T09:20:58Z INFO Redis DB startup ready
2024-03-27T09:20:58Z INFO DCS-K8S pod selector: app.kubernetes.io/instance=redis,app.kubernetes.io/managed-by=kubeblocks,apps.kubeblocks.io/component-name=redis
2024-03-27T09:20:58Z INFO DCS-K8S podlist: 2
2024-03-27T09:20:58Z INFO DCS-K8S Leader configmap is not found {"configmap": "redis-redis-leader"}
2024-03-27T09:20:58Z INFO event send event: map[event:Success operation:checkRole originalRole: role:primary]
logs sentinel
kubectl logs -n default redis-redis-sentinel-0
+ echo start to setup redis sentinel conf
+ mkdir -p /data/sentinel
start to setup redis sentinel conf
+ [ -f /data/sentinel/redis-sentinel.conf ]
+ sed -i /sentinel announce-ip/d /data/sentinel/redis-sentinel.conf
+ sed -i /sentinel resolve-hostnames/d /data/sentinel/redis-sentinel.conf
+ sed -i /sentinel announce-hostnames/d /data/sentinel/redis-sentinel.conf
+ [ ! -z 175rUH9c7b ]
+ sed -i /sentinel sentinel-user/d /data/sentinel/redis-sentinel.conf
+ sed -i /sentinel sentinel-pass/d /data/sentinel/redis-sentinel.conf
+ [ ! -z 26379 ]
+ sed -i /port 26379/d /data/sentinel/redis-sentinel.conf
+ [ ! -z 26379 ]
+ echo port 26379
+ kb_pod_fqdn=redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc
+ echo sentinel announce-ip redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc
+ echo sentinel resolve-hostnames yes
+ echo sentinel announce-hostnames yes
+ [ ! -z 175rUH9c7b ]
+ echo sentinel sentinel-user default
+ echo sentinel sentinel-pass 175rUH9c7b
+ echo Starting redis sentinel server...
+ exec redis-server /data/sentinel/redis-sentinel.conf --sentinel
Starting redis sentinel server...
1:X 27 Mar 2024 09:20:52.367 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:X 27 Mar 2024 09:20:52.367 # Redis version=7.0.9, bits=64, commit=00000000, modified=0, pid=1, just started
1:X 27 Mar 2024 09:20:52.367 # Configuration loaded
1:X 27 Mar 2024 09:20:52.367 * monotonic clock: POSIX clock_gettime
1:X 27 Mar 2024 09:20:52.368 * Running mode=sentinel, port=26379.
1:X 27 Mar 2024 09:20:52.369 # Sentinel ID is f0cb956de98575f70a1b79d860d4671eb79677fc
kubectl logs -n default redis-redis-sentinel-1
+ echo start to setup redis sentinel conf
+ mkdir -p /data/sentinel
start to setup redis sentinel conf
+ [ -f /data/sentinel/redis-sentinel.conf ]
+ sed -i /sentinel announce-ip/d /data/sentinel/redis-sentinel.conf
+ sed -i /sentinel resolve-hostnames/d /data/sentinel/redis-sentinel.conf
+ sed -i /sentinel announce-hostnames/d /data/sentinel/redis-sentinel.conf
+ [ ! -z 175rUH9c7b ]
+ sed -i /sentinel sentinel-user/d /data/sentinel/redis-sentinel.conf
+ sed -i /sentinel sentinel-pass/d /data/sentinel/redis-sentinel.conf
+ [ ! -z 26379 ]
+ sed -i /port 26379/d /data/sentinel/redis-sentinel.conf
+ [ ! -z 26379 ]
+ echo port 26379
+ kb_pod_fqdn=redis-redis-sentinel-1.redis-redis-sentinel-headless.default.svc
+ echo sentinel announce-ip redis-redis-sentinel-1.redis-redis-sentinel-headless.default.svc
+ echo sentinel resolve-hostnames yes
+ echo sentinel announce-hostnames yes
+ [ ! -z 175rUH9c7b ]
+ echo sentinel sentinel-user default
+ echo sentinel sentinel-pass 175rUH9c7b
+ echo Starting redis sentinel server...
+ exec redis-server /data/sentinel/redis-sentinel.conf --sentinel
Starting redis sentinel server...
1:X 27 Mar 2024 09:20:50.869 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:X 27 Mar 2024 09:20:50.869 # Redis version=7.0.9, bits=64, commit=00000000, modified=0, pid=1, just started
1:X 27 Mar 2024 09:20:50.869 # Configuration loaded
1:X 27 Mar 2024 09:20:50.870 * monotonic clock: POSIX clock_gettime
1:X 27 Mar 2024 09:20:50.870 * Running mode=sentinel, port=26379.
1:X 27 Mar 2024 09:20:50.871 # Sentinel ID is a01fcb7fc8024e27d14fa8ff6c2760e04e991120
kubectl logs -n default redis-redis-sentinel-2
+ echo start to setup redis sentinel conf
+ mkdir -p /data/sentinel
start to setup redis sentinel conf
+ [ -f /data/sentinel/redis-sentinel.conf ]
+ sed -i /sentinel announce-ip/d /data/sentinel/redis-sentinel.conf
+ sed -i /sentinel resolve-hostnames/d /data/sentinel/redis-sentinel.conf
+ sed -i /sentinel announce-hostnames/d /data/sentinel/redis-sentinel.conf
+ [ ! -z 175rUH9c7b ]
+ sed -i /sentinel sentinel-user/d /data/sentinel/redis-sentinel.conf
+ sed -i /sentinel sentinel-pass/d /data/sentinel/redis-sentinel.conf
+ [ ! -z 26379 ]
+ sed -i /port 26379/d /data/sentinel/redis-sentinel.conf
+ [ ! -z 26379 ]
+ echo port 26379
+ kb_pod_fqdn=redis-redis-sentinel-2.redis-redis-sentinel-headless.default.svc
+ echo sentinel announce-ip redis-redis-sentinel-2.redis-redis-sentinel-headless.default.svc
+ echo sentinel resolve-hostnames yes
+ echo sentinel announce-hostnames yes
+ [ ! -z 175rUH9c7b ]
+ echo sentinel sentinel-user default
+ echo sentinel sentinel-pass 175rUH9c7b
+ echo Starting redis sentinel server...
+ exec redis-server /data/sentinel/redis-sentinel.conf --sentinel
Starting redis sentinel server...
1:X 27 Mar 2024 09:20:51.469 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:X 27 Mar 2024 09:20:51.469 # Redis version=7.0.9, bits=64, commit=00000000, modified=0, pid=1, just started
1:X 27 Mar 2024 09:20:51.469 # Configuration loaded
1:X 27 Mar 2024 09:20:51.469 * monotonic clock: POSIX clock_gettime
1:X 27 Mar 2024 09:20:51.470 * Running mode=sentinel, port=26379.
1:X 27 Mar 2024 09:20:51.471 # Sentinel ID is 1c5747225e0aff36a66a0d217fc6ff20d44c4672
kubectl get pod -n default
NAME READY STATUS RESTARTS AGE
kb-post-provision-job-redis-redis-5qqc7 1/1 Running 0 3m55s
kb-post-provision-job-redis-redis-l2lzm 0/1 Error 0 14m
kb-post-provision-job-redis-redis-tpqqd 0/1 Error 0 24m
kubectl logs kb-post-provision-job-redis-redis-tpqqd -n default -f
+ redis_service_node_port_0=REDIS_NODE_PORT_0
+ redis_pod_index_0=redis-redis-0
+ eval redis_node_port_value=$REDIS_NODE_PORT_0
+ redis_node_port_value=
+ parse_host_ip_from_built_in_envs redis-redis-0
+ local given_pod_name=redis-redis-0
+ [ -z redis-redis-0,redis-redis-1 ]
+ [ -z 240b:4001:233:ff00:9e65:d8aa:6597:2a79,240b:4001:233:ff00:9e65:d8aa:6597:2a79 ]
+ old_ifs=
+ IFS=,
+ set -f
+ pod_name_list=redis-redis-0,redis-redis-1
+ pod_ip_list=240b:4001:233:ff00:9e65:d8aa:6597:2a79,240b:4001:233:ff00:9e65:d8aa:6597:2a79
+ set +f
+ IFS=
+ [ -n redis-redis-0,redis-redis-1 ]
+ pod_name=redis-redis-0
+ host_ip=240b:4001:233:ff00:9e65:d8aa:6597:2a79
+ [ redis-redis-0 = redis-redis-0 ]
+ echo 240b:4001:233:ff00:9e65:d8aa:6597:2a79
+ return 0
+ redis_node_port_host_value=240b:4001:233:ff00:9e65:d8aa:6597:2a79
+ echo redis_node_port_value=, redis_node_port_host_value=240b:4001:233:ff00:9e65:d8aa:6597:2a79
redis_node_port_value=, redis_node_port_host_value=240b:4001:233:ff00:9e65:d8aa:6597:2a79
redis sentinel component replicas found, register to sentinel.
+ echo redis sentinel component replicas found, register to sentinel.
+ [ -n 240b:4001:233:ff00:9e65:d8aa:6597:2a79 ]
+ [ -n ]
+ echo register to sentinel with ClusterIP service: redis_default_primary_host=, redis_default_service_port=
register to sentinel with ClusterIP service: redis_default_primary_host=, redis_default_service_port=
+ register_to_sentinel redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc.cluster.local redis-redis redis-redis-0.redis-redis-headless.default.svc.cluster.local 6379
+ local sentinel_host=redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc.cluster.local
+ local master_name=redis-redis
+ local sentinel_port=26379
+ local redis_primary_host=redis-redis-0.redis-redis-headless.default.svc.cluster.local
+ local redis_primary_port=6379
+ local timeout=600
+ date +%s
+ local start_time=1711614623
+ local current_time
+ wait_for_connectivity redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc.cluster.local 26379 8089InXab4
+ local host=redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc.cluster.local
+ local port=26379
+ local password=8089InXab4
+ echo Checking connectivity to redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc.cluster.local on port 26379 using redis-cli...
+ true
Checking connectivity to redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc.cluster.local on port 26379 using redis-cli...
+ date +%s
+ current_time=1711614623
+ [ 0 -gt 600 ]
+ redis-cli -h redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc.cluster.local -p 26379 -a 8089InXab4 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
+ echo redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc.cluster.local is reachable on port 26379.
+ break
+ wait_for_connectivity redis-redis-0.redis-redis-headless.default.svc.cluster.local 6379 7FWW63H7f7
+ local host=redis-redis-0.redis-redis-headless.default.svc.cluster.local
+ local port=6379
redis-redis-sentinel-0.redis-redis-sentinel-headless.default.svc.cluster.local is reachable on port 26379.
Checking connectivity to redis-redis-0.redis-redis-headless.default.svc.cluster.local on port 6379 using redis-cli...
+ local password=7FWW63H7f7
+ echo Checking connectivity to redis-redis-0.redis-redis-headless.default.svc.cluster.local on port 6379 using redis-cli...
+ true
+ date +%s
+ current_time=1711614623
+ [ 0 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614628
+ [ 5 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614633
+ [ 10 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614638
+ [ 15 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614643
+ [ 20 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614648
+ [ 25 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614653
+ [ 30 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614658
+ [ 35 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614663
+ [ 40 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614668
+ [ 45 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614673
+ [ 50 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614678
+ [ 55 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614683
+ [ 60 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614688
+ [ 65 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614693
+ [ 70 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614698
+ [ 75 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614703
+ [ 80 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614708
+ [ 85 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614713
+ [ 90 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614718
+ [ 95 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614723
+ [ 100 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614728
+ [ 105 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614734
+ [ 111 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614739
+ [ 116 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614744
+ [ 121 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711614749
+ [ 126 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
...
+ [ 587 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711615215
+ [ 592 -gt 600 ]
+ grep -q PONG
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711615220
+ [ 597 -gt 600 ]
+ redis-cli -h redis-redis-0.redis-redis-headless.default.svc.cluster.local -p 6379 -a 7FWW63H7f7 PING
+ grep -q PONG
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at redis-redis-0.redis-redis-headless.default.svc.cluster.local:6379: Connection refused
+ sleep 5
+ true
+ date +%s
+ current_time=1711615225
+ [ 602 -gt 600 ]
+ echo Timeout waiting for redis-redis-0.redis-redis-headless.default.svc.cluster.local to become available.
+ exit 1
Timeout waiting for redis-redis-0.redis-redis-headless.default.svc.cluster.local to become available.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
This issue has been marked as stale because it has been open for 30 days with no activity