Trident:从RHEV 迁移到OpenShift后、PVC未绑定
适用场景
- NetApp Astra Trident [AstrA] Trident
- Red Hat虚拟化[RHE5]
- OpenShift虚拟化
问题描述
- 将RHEV虚拟机迁移到OpenShift后、系统会动态创建两个永久性卷请求。
- 动态配置的永久性卷与PVC不匹配。
- 一个PVC绑定、创建的第二个PVC无法绑定。
- 日志显示:
trident-controller-sidecar-csi-provisioner
I0730 13:53:34.329131 1 controller.go:1239] shouldDelete volume "pvc-c368fdd9-9a1e-426f-aefc-4f751c4706a3"
I0730 13:53:34.329139 1 controller.go:1260] shouldDelete volume "pvc-c368fdd9-9a1e-426f-aefc-4f751c4706a3" is false: PersistentVolumePhase is not Released
I0730 13:53:40.965795 1 controller.go:1366] provision "vm-network-test/6c69c5ff-7c2b-42ae-842c-7f17c4bbeeee-2rwdx" class "basic-csi": started
I0730 13:53:40.965863 1 controller.go:1441] provision "vm-network-test/6c69c5ff-7c2b-42ae-842c-7f17c4bbeeee-2rwdx" class "basic-csi": volume provision ignored: ignored because data source (OvirtVolumePopulator) is not handled by the provisioner, assuming an external populator will provision it
I0730 13:53:40.965874 1 controller.go:1071] Stop provisioning, removing PVC 3a8874b8-8b7a-46e7-9129-09769836227c from claims in progress
trident-controller-sidecar-csi-resizer
I0730 13:50:00.351353 1 round_trippers.go:577] Response Headers:
I0730 13:50:00.351371 1 round_trippers.go:580] Content-Type: application/json
I0730 13:50:00.351387 1 round_trippers.go:580] Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
I0730 13:50:00.351403 1 round_trippers.go:580] X-Kubernetes-Pf-Flowschema-Uid: cb18315d-40f5-490d-8611-13b1af64e74f
I0730 13:50:00.351419 1 round_trippers.go:580] X-Kubernetes-Pf-Prioritylevel-Uid: 8a549b51-a588-4f33-982c-b87029d2945d
I0730 13:50:00.351434 1 round_trippers.go:580] Date: Tue, 30 Jul 2024 13:50:00 GMT
I0730 13:50:00.351450 1 round_trippers.go:580] Audit-Id: b83b06df-8f51-4c76-bad5-c84473db2bbd
I0730 13:50:00.351478 1 round_trippers.go:580] Cache-Control: no-cache, private
I0730 13:53:30.595517 1 controller.go:295] Started PVC processing "vm-network-test/6c69c5ff-7c2b-42ae-842c-7f17c4bbeeee-2rwdx"
I0730 13:53:30.595540 1 controller.go:318] PV bound to PVC "vm-network-test/6c69c5ff-7c2b-42ae-842c-7f17c4bbeeee-2rwdx" is not created yet
I0730 13:53:30.742173 1 controller.go:295] Started PVC processing "vm-network-test/prime-3a8874b8-8b7a-46e7-9129-09769836227c"
I0730 13:53:30.742184 1 controller.go:318] PV bound to PVC "vm-network-test/prime-3a8874b8-8b7a-46e7-9129-09769836227c" is not created yet