-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Labels
kind/bugCategorizes issue or PR as related to a bugCategorizes issue or PR as related to a bug
Description
Hello,
Describe the bug
When requesting a new Mayastor PVC, the PVC remains in Pending state.
We encounter an error related to a comparison function in the Rust Code .
Logs :
failed to provision volume with StorageClass "mayastor-repl2": rpc error: code = Unavailable desc = error in response: status code '503 Service Unavailable', content: 'RestJsonError { details: "Failed to
wait for thread", message: "task 36179 panicked with message "user-provided comparison function does not correctly implement a total order"", kind: Aborted }'
To Reproduce
Create (or apply) a new PVC.
Expected behavior
The PVC should be successfully bound and reach the Bound state without any errors.
Mayastor setup
Events:
Type Reason Age From Message
Warning ProvisioningFailed 6s io.openebs.csi-mayastor_prd-app-kub-wsl12_160dff92-82a9-4ad0-bea0-b3f2cf2a2f91 failed to provision volume with StorageClass "mayastor-repl1": rpc error: code = Unavailable desc = error in response: status code '503 Service Unavailable', content: 'RestJsonError { details: "Failed to wait for thread", message: "task 40900 panicked with message \"user-provided comparison function does not correctly implement a total order\"", kind: Aborted }'
Normal Provisioning 3s (x3 over 6s) io.openebs.csi-mayastor_prd-app-kub-wsl12_160dff92-82a9-4ad0-bea0-b3f2cf2a2f91 External provisioner is provisioning volume for claim "mayastor/pvc-test-4"
Normal ExternalProvisioning 3s (x3 over 6s) persistentvolume-controller Waiting for a volume to be created either by the external provisioner 'io.openebs.csi-mayastor' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.
Warning ProvisioningFailed 3s (x2 over 5s) io.openebs.csi-mayastor_prd-app-kub-wsl12_160dff92-82a9-4ad0-bea0-b3f2cf2a2f91 failed to provision volume with StorageClass "mayastor-repl1": rpc error: code = Aborted desc = Existing volume 9f6e0192-3d61-4694-be59-d7535666189c is in insufficient state: Creatingpool mayastor :
NAMESPACE NAME NODE STATE POOL_STATUS ENCRYPTED CAPACITY USED AVAILABLE
mayastor pool-prd-app-kub-wsf11 prd-app-kub-wsf11 Created Online false 1.7 TiB 59.1 GiB 1.7 TiB
mayastor pool-prd-app-kub-wsf12 prd-app-kub-wsf12 Created Online false 1.7 TiB 120 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf13 prd-app-kub-wsf13 Created Online false 1.7 TiB 68 GiB 1.7 TiB
mayastor pool-prd-app-kub-wsf14 prd-app-kub-wsf14 Created Online false 1.7 TiB 75.9 GiB 1.7 TiB
mayastor pool-prd-app-kub-wsf15 prd-app-kub-wsf15 Created Online false 1.7 TiB 83 GiB 1.7 TiB
mayastor pool-prd-app-kub-wsf16 prd-app-kub-wsf16 Created Online false 1.7 TiB 53.3 GiB 1.7 TiB
mayastor pool-prd-app-kub-wsf17 prd-app-kub-wsf17 Created Online false 1.7 TiB 229 GiB 1.5 TiB
mayastor pool-prd-app-kub-wsf18 prd-app-kub-wsf18 Created Online false 1.7 TiB 120.7 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf19 prd-app-kub-wsf19 Created Online false 1.7 TiB 61.8 GiB 1.7 TiB
mayastor pool-prd-app-kub-wsf20 prd-app-kub-wsf20 Created Online false 1.7 TiB 116.1 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf21 prd-app-kub-wsf21 Created Online false 1.7 TiB 54.8 GiB 1.7 TiB
mayastor pool-prd-app-kub-wsf22 prd-app-kub-wsf22 Created Online false 1.7 TiB 125.8 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf23 prd-app-kub-wsf23 Created Online false 1.7 TiB 133.8 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf24 prd-app-kub-wsf24 Created Online false 1.7 TiB 120.9 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf25 prd-app-kub-wsf25 Created Online false 1.7 TiB 103.2 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf26 prd-app-kub-wsf26 Created Online false 1.7 TiB 57.4 GiB 1.7 TiB
mayastor pool-prd-app-kub-wsf27 prd-app-kub-wsf27 Created Online false 1.7 TiB 168.8 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf28 prd-app-kub-wsf28 Created Online false 1.7 TiB 55.6 GiB 1.7 TiB
mayastor pool-prd-app-kub-wsf29 prd-app-kub-wsf29 Created Online false 1.7 TiB 103.6 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf30 prd-app-kub-wsf30 Created Online false 1.7 TiB 110.7 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf31 prd-app-kub-wsf31 Created Online false 1.7 TiB 50 GiB 1.7 TiB
mayastor pool-prd-app-kub-wsf32 prd-app-kub-wsf32 Created Online false 1.7 TiB 132.2 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf33 prd-app-kub-wsf33 Created Online false 1.7 TiB 126.5 GiB 1.6 TiB
mayastor pool-prd-app-kub-wsf34 prd-app-kub-wsf34 Created Online false 1.7 TiB 61.9 GiB 1.7 TiBstern 'ac-chart-mayastor-agent-(core|ha-node)' -n mayastor --max-log-requests 100 | grep -Ei 'panic|fail|error|warn|backtrace'
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core thread 'tokio-runtime-worker' panicked at core/src/slice/sort/shared/smallsort.rs:860:5:
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core stack backtrace:
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core 0: 0x561aefc3b0ca - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h304520fd6a30aa07
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core 3: 0x561aefc3cbd2 - std::panicking::default_hook::{{closure}}::he1ad87607d0c11c5
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core 4: 0x561aefc3c83e - std::panicking::default_hook::h81c8cd2e7c59ee33
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core 5: 0x561aefc3d4cf - std::panicking::rust_panic_with_hook::had2118629c312a4a
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core 6: 0x561aefc3d183 - std::panicking::begin_panic_handler::{{closure}}::h7fa5985d111bafa2
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core 7: 0x561aefc3b5a9 - std::sys::backtrace::__rust_end_short_backtrace::h704d151dbefa09c5
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core 9: 0x561aefc67173 - core::panicking::panic_fmt::h3eea515d05f7a35e
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core 10: 0x561aefc6bbdb - core::slice::sort::shared::smallsort::panic_on_ord_violation::h972f60d892347b6f
ac-chart-mayastor-agent-core-5c4df49757-k22jd agent-core 31: 0x561aefbda94e - std::sys::backtrace::__rust_begin_short_backtrace::hdbfad5935d0cad4fkmay get pools --show-labels
ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED ENCRYPTED LABELS
pool-prd-app-kub-wsf27 aio:///dev/disk/by-id/virtio-mayastor_wsf27?uuid=9893fb1d-aaa2-49c0-8a24-d6f94f1c1210 true prd-app-kub-wsf27 Online 1.7 TiB 168.8 GiB 1.6 TiB 168.8 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf20 aio:///dev/disk/by-id/virtio-mayastor_wsf20?uuid=5f319944-feb3-4761-b80c-693149e6f59a true prd-app-kub-wsf20 Online 1.7 TiB 116.1 GiB 1.6 TiB 116.1 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf26 aio:///dev/disk/by-id/virtio-mayastor_wsf26?uuid=d600f886-340a-45a1-9076-6c61f3057af5 true prd-app-kub-wsf26 Online 1.7 TiB 57.4 GiB 1.7 TiB 57.4 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf34 aio:///dev/disk/by-id/virtio-mayastor_wsf34?uuid=8b9ff5ae-8a5c-4f23-99c8-99de71d85a11 true prd-app-kub-wsf34 Online 1.7 TiB 61.9 GiB 1.7 TiB 61.9 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf25 aio:///dev/disk/by-id/virtio-mayastor_wsf25?uuid=943b4ee3-6992-4d69-921d-f39711b33c6c true prd-app-kub-wsf25 Online 1.7 TiB 103.2 GiB 1.6 TiB 103.2 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf30 aio:///dev/disk/by-id/virtio-mayastor_wsf30?uuid=73ee0168-73a4-4414-9dee-d66328e4446a true prd-app-kub-wsf30 Online 1.7 TiB 110.7 GiB 1.6 TiB 110.7 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf11 aio:///dev/disk/by-id/virtio-mayastor_wsf11?uuid=e86ee600-6a39-48bc-9fd6-68da14ac17a0 true prd-app-kub-wsf11 Online 1.7 TiB 59.1 GiB 1.7 TiB 59.1 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf24 aio:///dev/disk/by-id/virtio-mayastor_wsf24?uuid=6100f580-a7fe-4dc2-ad78-50dab9cb9d91 true prd-app-kub-wsf24 Online 1.7 TiB 120.9 GiB 1.6 TiB 120.9 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf28 aio:///dev/disk/by-id/virtio-mayastor_wsf28?uuid=d2ad2f3d-5b6a-49ad-9ab8-5d7f3526d547 true prd-app-kub-wsf28 Online 1.7 TiB 55.6 GiB 1.7 TiB 55.6 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf17 aio:///dev/disk/by-id/virtio-mayastor_wsf17?uuid=1aee9514-ac83-4b2a-bde4-5bc599dba07e true prd-app-kub-wsf17 Online 1.7 TiB 229 GiB 1.5 TiB 229 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf12 aio:///dev/disk/by-id/virtio-mayastor_wsf12?uuid=85c2d5f5-9fde-4ca2-8e2f-05bf743d0537 true prd-app-kub-wsf12 Online 1.7 TiB 120 GiB 1.6 TiB 120 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf31 aio:///dev/disk/by-id/virtio-mayastor_wsf31?uuid=e4d9e618-2347-40be-96d8-b891118cb12e true prd-app-kub-wsf31 Online 1.7 TiB 50 GiB 1.7 TiB 50 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf14 aio:///dev/disk/by-id/virtio-mayastor_wsf14?uuid=c2ccb31e-b538-4dc2-89ef-dd990d4fe153 true prd-app-kub-wsf14 Online 1.7 TiB 75.9 GiB 1.7 TiB 75.9 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf16 aio:///dev/disk/by-id/virtio-mayastor_wsf16?uuid=3ace06e5-3c90-4bf2-a0d0-92fce9594932 true prd-app-kub-wsf16 Online 1.7 TiB 53.3 GiB 1.7 TiB 53.3 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf32 aio:///dev/disk/by-id/virtio-mayastor_wsf32?uuid=16053a58-57be-40d1-8f71-c93bd3e364a5 true prd-app-kub-wsf32 Online 1.7 TiB 132.2 GiB 1.6 TiB 132.2 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf33 aio:///dev/disk/by-id/virtio-mayastor_wsf33?uuid=8e43a15b-8c4c-4335-be96-eba1dc25980f true prd-app-kub-wsf33 Online 1.7 TiB 126.5 GiB 1.6 TiB 126.5 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf13 aio:///dev/disk/by-id/virtio-mayastor_wsf13?uuid=38a11fd4-f589-4018-889e-36731bccd568 true prd-app-kub-wsf13 Online 1.7 TiB 68 GiB 1.7 TiB 68 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf18 aio:///dev/disk/by-id/virtio-mayastor_wsf18?uuid=37d34532-48e8-47ae-997f-dc93d5ab2741 true prd-app-kub-wsf18 Online 1.7 TiB 120.7 GiB 1.6 TiB 120.7 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf21 aio:///dev/disk/by-id/virtio-mayastor_wsf21?uuid=8f44cb99-b74e-4be6-9361-f7bccc9855c4 true prd-app-kub-wsf21 Online 1.7 TiB 54.8 GiB 1.7 TiB 54.8 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf29 aio:///dev/disk/by-id/virtio-mayastor_wsf29?uuid=6261ea27-0bd2-44e8-93ad-df0655ae4b20 true prd-app-kub-wsf29 Online 1.7 TiB 103.6 GiB 1.6 TiB 103.6 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf22 aio:///dev/disk/by-id/virtio-mayastor_wsf22?uuid=9ff65f3d-96e5-43fb-9fb9-5127c9dafa43 true prd-app-kub-wsf22 Online 1.7 TiB 125.8 GiB 1.6 TiB 125.8 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf23 aio:///dev/disk/by-id/virtio-mayastor_wsf23?uuid=3c7d7bec-4ed1-4590-8ede-39ea31bbc343 true prd-app-kub-wsf23 Online 1.7 TiB 133.8 GiB 1.6 TiB 133.8 GiB false node.k8s.toto/datacenter=datacenter1
pool-prd-app-kub-wsf15 aio:///dev/disk/by-id/virtio-mayastor_wsf15?uuid=d941064d-efeb-49a7-86bd-b12798265805 true prd-app-kub-wsf15 Online 1.7 TiB 83 GiB 1.7 TiB 83 GiB false node.k8s.toto/datacenter=datacenter2
pool-prd-app-kub-wsf19 aio:///dev/disk/by-id/virtio-mayastor_wsf19?uuid=c3508212-b080-48c8-a0ad-2d4ba26cd12e true prd-app-kub-wsf19 Online 1.7 TiB 61.8 GiB 1.7 TiB 61.8 GiB false node.k8s.toto/datacenter=datacenter2allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
labels:
argocd.argoproj.io/instance: ac-chart-mayastor
name: mayastor-repl1
parameters:
repl: "1"
provisioner: io.openebs.csi-mayastor
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
labels:
argocd.argoproj.io/instance: ac-chart-mayastor
name: mayastor-repl2
parameters:
poolHasTopologyKey: |
node.k8s.toto/datacenter
repl: "2"
provisioner: io.openebs.csi-mayastor
reclaimPolicy: Delete
volumeBindingMode: ImmediateThank you for your help.
TheoCouss, erwaan and kiliandscTheoCouss
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bugCategorizes issue or PR as related to a bug