This message was deleted.
# longhorn-storage
a
This message was deleted.
f
defaultClassReplicaCount=0
why do you set number of replica to 0 ? Could you please provide
kubectl get replicas -n longhorn-system | grep pvc-28c4252b-d7f3-4038-a527-b9aacac35ebb
?
a
@famous-journalist-11332, i tried for one more time .. I dont see replicas for below pvc
kubectl get replicas -n longhorn-system | grep pvc-71b4a49f-6cc9-4339-b15e-90bb96784828
I also see this is error in longhorn manager pod ..
Copy code
{"file":"/go/src/github.com/longhorn/longhorn-manager/scheduler/replica_scheduler.go:627","func":"<http://github.com/longhorn/longhorn-manager/scheduler.(*ReplicaScheduler).CheckAndReuseFailedReplica|github.com/longhorn/longhorn-manager/scheduler.(*ReplicaScheduler).CheckAndReuseFailedReplica>","level":"info","msg":"Cannot find a reusable failed replicas for volume pvc-71b4a49f-6cc9-4339-b15e-90bb96784828","time":"2025-01-27T19:55:56Z"}
{"accessMode":"rwo","controller":"longhorn-volume","error":"No available disk candidates to create a new replica of size 2000683008","file":"/go/src/github.com/longhorn/longhorn-manager/controller/volume_controller.go:2305","frontend":"blockdev","func":"<http://github.com/longhorn/longhorn-manager/controller.(*VolumeController).replenishReplicas|github.com/longhorn/longhorn-manager/controller.(*VolumeController).replenishReplicas>","level":"warning","migratable":false,"msg":"Unable to create new replica pvc-71b4a49f-6cc9-4339-b15e-90bb96784828-r-ca16ce12","node":"worker2","owner":"worker2","state":"detached","time":"2025-01-27T19:55:56Z","volume":"pvc-71b4a49f-6cc9-4339-b15e-90bb96784828"}
{"accessMode":"rwo","controller":"longhorn-volume","file":"/go/src/github.com/longhorn/longhorn-manager/controller/volume_controller.go:1339","frontend":"blockdev","func":"<http://github.com/longhorn/longhorn-manager/controller.(*VolumeController).ReconcileVolumeState|github.com/longhorn/longhorn-manager/controller.(*VolumeController).ReconcileVolumeState>","level":"info","migratable":false,"msg":"All replicas are failed, set engine salvageRequested to true","node":"worker2","owner":"worker2","state":"detached","time":"2025-01-27T19:55:56Z","volume":"pvc-71b4a49f-6cc9-4339-b15e-90bb96784828"}
{"accessMode":"rwo","controller":"longhorn-volume","file":"/go/src/github.com/longhorn/longhorn-manager/controller/volume_controller.go:1344","frontend":"blockdev","func":"<http://github.com/longhorn/longhorn-manager/controller.(*VolumeController).ReconcileVolumeState|github.com/longhorn/longhorn-manager/controller.(*VolumeController).ReconcileVolumeState>","level":"info","migratable":false,"msg":"All replicas are failed, auto-salvaging volume","node":"worker2","owner":"worker2","state":"detached","time":"2025-01-27T19:55:56Z","volume":"pvc-71b4a49f-6cc9-4339-b15e-90bb96784828"}
{"accessMode":"rwo","controller":"longhorn-volume","file":"/go/src/github.com/longhorn/longhorn-manager/controller/volume_controller.go:1392","frontend":"blockdev","func":"<http://github.com/longhorn/longhorn-manager/controller.(*VolumeController).ReconcileVolumeState|github.com/longhorn/longhorn-manager/controller.(*VolumeController).ReconcileVolumeState>","level":"warning","migratable":false,"msg":"Failed to auto salvage volume: no data exists","node":"worker2","owner":"worker2","state":"detached","time":"2025-01-27T19:55:56Z","volume":"pvc-71b4a49f-6cc9-4339-b15e-90bb96784828"}
@famous-journalist-11332 , this is happening with
defaultClassReplicaCount=1
.... I can provide support bundle
Can you please help me @famous-journalist-11332, debug this one, as i am blocked on this since 2 days ..
i have collected support bundle as well @famous-journalist-11332