Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-12696

GCP volumeattachment clean up slowly when bounding multiple PVC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.12
    • Storage
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The node's volumes allocatable count is 127 on GCP . When created a pod consumed 127 PVC ,it took long time to operate volumeMount. Delete pod is quick ,but some volumeAttachment is still exist after several hours though the reclaimPolicy is delete.

      Version-Release number of selected component (if applicable):

      openshift 4.12

      How reproducible:

      Random

      Steps to Reproduce:

      1.Deploy a cluster on GCP with version 4.12
      2.Create pvc 0-127 (mulpvc.yaml) and a pod consumed these pvcs (podWithMulPVC.json)
      https://drive.google.com/file/d/1-18aMACU3PF_dCBh7LLnCPuWqx8nLfGg/view?usp=sharing, https://drive.google.com/file/d/1cvyD9KFjwXDLuW5ituWMGDfw--iI9AxG/view?usp=sharing
      3.Delete the pod. If lucky ,it takes about 7 minutes to detach all the pvcs. If sth happened, some pvcs will be "failed to datached" and the pvs' status will be "Released" for several hours. 
      

      Actual results:

      Some volumeAttachment is still exist after pod is deleted several hours.

      Expected results:

      VolumeAttachment is cleaned up

      Additional info:

       

              hekumar@redhat.com Hemant Kumar
              rh-ee-jiasun Jiayu Sun (Inactive)
              None
              Penghao Wang
              Jiayu Sun Jiayu Sun (Inactive)
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: