OpsRequest redis-qjdsth-volumeexpansion-vpjmw created successfully, you can view the progress:
kbcli cluster describe-ops redis-qjdsth-volumeexpansion-vpjmw -n default
Last Configuration:
COMPONENT VOLUME-CLAIM-TEMPLATE STORAGE
Status:
Start Time: Jun 21,2024 14:12 UTC+0800
Completion Time: Jun 21,2024 14:42 UTC+0800
Duration: 30m
Status: Failed
Progress: 2/3
OBJECT-KEY STATUS DURATION MESSAGE
PVC/data-redis-qjdsth-redis-2(data) Succeed Successfully expand volume: PVC/data-redis-qjdsth-redis-2 in component: redis
PVC/data-redis-qjdsth-redis-1(data) Succeed Successfully expand volume: PVC/data-redis-qjdsth-redis-1 in component: redis
Conditions:
LAST-TRANSITION-TIME TYPE REASON STATUS MESSAGE
Jun 21,2024 14:12 UTC+0800 WaitForProgressing WaitForProgressing True wait for the controller to process the OpsRequest: redis-qjdsth-volumeexpansion-vpjmw in Cluster: redis-qjdsth
Jun 21,2024 14:12 UTC+0800 Validated ValidateOpsRequestPassed True OpsRequest: redis-qjdsth-volumeexpansion-vpjmw is validated
Jun 21,2024 14:12 UTC+0800 VolumeExpanding VolumeExpansionStarted True Start to expand the volumes in Cluster: redis-qjdsth
Jun 21,2024 14:42 UTC+0800 Failed OpsRequestFailed False Timed out waiting for volume expansion to complete, the timeout value is 30 minutes
Warning Events:
TIME TYPE REASON OBJECT MESSAGE
Jun 21,2024 14:42 UTC+0800 Warning OpsRequestFailed OpsRequest/redis-qjdsth-volumeexpansion-vpjmw Timed out waiting for volume expansion to complete, the timeout value is 30 minutes
➜ ~ kbcli version Kubernetes: v1.27.11-gke.1062004 KubeBlocks: 0.9.0-beta.35 kbcli: 0.9.0-beta.27
This does not fail every time
create cluster
volume expand, 2 redis pod expand success while the 3rd hang
OpsRequest redis-qjdsth-volumeexpansion-vpjmw created successfully, you can view the progress: kbcli cluster describe-ops redis-qjdsth-volumeexpansion-vpjmw -n default
➜ ~ kbcli cluster describe-ops redis-qjdsth-volumeexpansion-vpjmw -n default Spec: Name: redis-qjdsth-volumeexpansion-vpjmw NameSpace: default Cluster: redis-qjdsth Type: VolumeExpansion
Command: kbcli cluster volume-expand redis-qjdsth --components=redis --volume-claim-template-names=data --storage=6Gi --namespace=default
Last Configuration: COMPONENT VOLUME-CLAIM-TEMPLATE STORAGE
Status: Start Time: Jun 21,2024 14:12 UTC+0800 Completion Time: Jun 21,2024 14:42 UTC+0800 Duration: 30m Status: Failed Progress: 2/3 OBJECT-KEY STATUS DURATION MESSAGE PVC/data-redis-qjdsth-redis-2(data) Succeed Successfully expand volume: PVC/data-redis-qjdsth-redis-2 in component: redis
PVC/data-redis-qjdsth-redis-1(data) Succeed Successfully expand volume: PVC/data-redis-qjdsth-redis-1 in component: redis
Conditions: LAST-TRANSITION-TIME TYPE REASON STATUS MESSAGE Jun 21,2024 14:12 UTC+0800 WaitForProgressing WaitForProgressing True wait for the controller to process the OpsRequest: redis-qjdsth-volumeexpansion-vpjmw in Cluster: redis-qjdsth Jun 21,2024 14:12 UTC+0800 Validated ValidateOpsRequestPassed True OpsRequest: redis-qjdsth-volumeexpansion-vpjmw is validated Jun 21,2024 14:12 UTC+0800 VolumeExpanding VolumeExpansionStarted True Start to expand the volumes in Cluster: redis-qjdsth Jun 21,2024 14:42 UTC+0800 Failed OpsRequestFailed False Timed out waiting for volume expansion to complete, the timeout value is 30 minutes
Warning Events: TIME TYPE REASON OBJECT MESSAGE Jun 21,2024 14:42 UTC+0800 Warning OpsRequestFailed OpsRequest/redis-qjdsth-volumeexpansion-vpjmw Timed out waiting for volume expansion to complete, the timeout value is 30 minutes
➜ ~ k get pvc | grep redis-qjdsth data-redis-qjdsth-redis-1 Bound pvc-6b06ecfb-7414-4a71-a681-ce18b4cbbfc6 6Gi RWO kb-default-sc 52m data-redis-qjdsth-redis-2 Bound pvc-411711a2-6005-4507-97ce-99066ebf81a8 6Gi RWO kb-default-sc 48m data-redis-qjdsth-redis-3 Bound pvc-587a9eb5-1bfd-4e1f-8402-0bba9f8f1367 1Gi RWO kb-default-sc 48m data-redis-qjdsth-redis-sentinel-0 Bound pvc-90e76298-7cbf-4fd9-9c96-fd11b0a5e64e 1Gi RWO kb-default-sc 52m data-redis-qjdsth-redis-sentinel-1 Bound pvc-5be45130-a760-4277-b718-24415019770c 1Gi RWO kb-default-sc 52m data-redis-qjdsth-redis-sentinel-2 Bound pvc-c52776e5-a2cf-4d3f-9068-24264d87d028 1Gi RWO kb-default-sc 52m data-redis-qjdsth-redis-twemproxy-0 Bound pvc-6ce24656-d359-4b37-bdde-2bcd93b48eb0 1Gi RWO kb-default-sc 52m data-redis-qjdsth-redis-twemproxy-1 Bound pvc-a06ac4f3-dbf0-4278-ac02-70cca88c695a 1Gi RWO kb-default-sc 52m data-redis-qjdsth-redis-twemproxy-2 Bound pvc-d531ff44-86bc-4b92-8c31-c2cda4eebcea 1Gi RWO kb-default-sc 52m