-
Bug
-
Resolution: Unresolved
-
Undefined
-
oadp-1.5.1
-
Incidents & Support
-
3
-
False
-
-
False
-
ToDo
-
-
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
-
None
[ Description ]:
While running StorageClass Conversion using MTC over a volume that was successfully restored with OADP, we encountered the following errors:
2m53s Normal Provisioning persistentvolumeclaim/xxxxxxx External provisioner is provisioning volume for claim "yyyyyyyyyyy/xxxxxxx" 2m53s Warning ProvisioningFailed persistentvolumeclaim/xxxxxxxx failed to provision volume with StorageClass "ocs-storagecluster-cephfs": claim Selector is not supported
Checking on the PVC definition that is being converted, we noticed that it comes with a selector label:
$ oc get pvc xxxxxxxxx -o yaml |yq '.spec.selector' { "matchLabels": { "velero.io/dynamic-pv-restore": "xxxxxxxxxxx" } }
According to the following KCS or Kubernetes documentation, dynamically provisioned PVC's even if they are restored, should not come with a selector: