0

问题:我正在尝试在 RKE 本地集群上安装 maystor openebs 存储,我尝试使用 StorageClass 创建 PVC 来测试设置。StorageClass 已成功创建,但 PVC 将 STATUS 显示为 Pending。它无法从 SC 创建卷。它需要使用给定的 SC 动态创建 PV,并将状态显示为 BOUND。

重现行为的步骤:您可以在 RHEL8.2 RKE 集群上遵循以下设置文档:参考:https ://mayastor.gitbook.io/introduction/quickstart/prerequisites

ISSUE 这里 PVC 卡在 Pending STATUS

kubectl get pvc ms-volume-claim
NAME              STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS     AGE
ms-volume-claim   Pending                                      mayastor-iscsi   125m

kubectl describe pvc ms-volume-claim -n mayastor
  Type    Reason                Age                    From                                                                                Message
  ----    ------                ----                   ----                                                                                -------
  Normal  Provisioning          3m54s (x32 over 126m)  io.openebs.csi-mayastor_moac-6f8b4cb884-8sh8j_370e05a1-cb21-48ab-9783-2b066ed44b26  External provisioner is provisioning volume for claim "default/ms-volume-claim"
  Normal  ExternalProvisioning  86s (x503 over 126m)   persistentvolume-controller                                                         waiting for a volume to be created, either by external provisioner "io.openebs.csi-mayastor" or manually created by system administrator
kubectl logs -f moac-6f8b4cb884-8sh8j -c csi-provisioner  -n mayasto

I0305 08:27:07.805203       1 controller.go:1058] Temporary error received, adding PVC 698956d7-3e56-4612-9a31-60976d3e185a to claims in progress
W0305 08:27:07.805260       1 controller.go:916] Retrying syncing claim "698956d7-3e56-4612-9a31-60976d3e185a", failure 33
E0305 08:27:07.805294       1 controller.go:939] error syncing claim "698956d7-3e56-4612-9a31-60976d3e185a": failed to provision volume with StorageClass "mayastor-iscsi": rpc error: code = DeadlineExceeded desc = context deadline exceeded
I0305 08:27:07.805700       1 event.go:281] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"ms-volume-claim", UID:"698956d7-3e56-4612-9a31-60976d3e185a", APIVersion:"v1", ResourceVersion:"19500553", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "mayastor-iscsi": rpc error: code = DeadlineExceeded desc = context deadline exceeded
4

0 回答 0