Uploaded image for project: 'OpenShift Storage'
  1. OpenShift Storage
  2. STOR-1124

Performance issues when creating a PVC from VolumeSnapshotContent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Critical Critical
    • None
    • None
    • None
    • False
    • None
    • False
    • Customer Escalated, Customer Facing

      A volumesnapshotcontent that we clone immediately goes to a readyToUse: true state as soon as we create it.We then create a PVC using the volumesnapshotcontent as the dataSource. The PVC remains pending for a very long time. The PVC shows events:

      Events:
      Type Reason Age From Message
      ---- ------ ---- ---- -------
      Normal PVCReconciled 4m VolumeSnapshotBackup-Controller performed created on PVC snapcontent-e6d0918b-f192-403d-9c10-f64175e73117-pvc
      Warning ProvisioningFailed 2m52s (x8 over 3m59s) openshift-storage.cephfs.csi.ceph.com_csi-cephfsplugin-provisioner-5655f4c8c-8blm4_70c6ece6-dc05-4b0b-8955-ccc79d1898d4 failed to provision volume with StorageClass "ocs-storagecluster-cephfs": rpc error: code = Aborted desc = clone from snapshot is pending
      Normal Provisioning 108s (x9 over 4m) openshift-storage.cephfs.csi.ceph.com_csi-cephfsplugin-provisioner-5655f4c8c-8blm4_70c6ece6-dc05-4b0b-8955-ccc79d1898d4 External provisioner is provisioning volume for claim "openshift-adp/snapcontent-e6d0918b-f192-403d-9c10-f64175e73117-pvc"
      Warning ProvisioningFailed 108s openshift-storage.cephfs.csi.ceph.com_csi-cephfsplugin-provisioner-5655f4c8c-8blm4_70c6ece6-dc05-4b0b-8955-ccc79d1898d4 failed to provision volume with StorageClass "ocs-storagecluster-cephfs": rpc error: code = Aborted desc = clone from snapshot is already in progress
      Normal ExternalProvisioning 14s (x17 over 4m) persistentvolume-controller waiting for a volume to be created, either by external provisioner "openshift-storage.cephfs.csi.ceph.com" or manually created by system administrator 

      in my most recent test case it took a PVC 4m20s to move to a bound state even though the VSC was in a `ReadyToUse: true` state prior to the PVC being created.

      I unfortunately have no way to know where to look for relevant logs at this point, but I can easily reproduce this problem in my environment.

              mrajanna@redhat.com Madhu R
              rhn-engineering-dymurray Dylan Murray
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: