Giter Club home page Giter Club logo

Comments (6)

tamilselvan1102 avatar tamilselvan1102 commented on July 24, 2024

/sig storage

from kubernetes.

tamilselvan1102 avatar tamilselvan1102 commented on July 24, 2024

I think it is expected behavior. PV is not belong to any pod as long as it is bound to PVC

from kubernetes.

dsxing avatar dsxing commented on July 24, 2024

I think it is expected behavior. PV is not belong to any pod as long as it is bound to PVC

as the bound pv's persistentVolumeReclaimPolicy is Delete, When the PVC is deleted, the PV should be deleted successfully;

In my test, Most of the time, the PV can be deleted successfully, but occasionally the PV may remain in a terminating state and cannot be deleted.

from kubernetes.

dsxing avatar dsxing commented on July 24, 2024

ping @gnufied @jsafrane @jingxu97 @xing-yang Could you please take a look at this issue

from kubernetes.

dsxing avatar dsxing commented on July 24, 2024

Based on the log content, I carefully analyzed the code and found that the issue occurs because of a failure during the mountVolume operation. This failure causes AWS to record the VolumeMountState as VolumeNotMounted. Consequently, during the unmountVolume operation, nothing need to do as VolumeMountState is VolumeNotMounted in ASW. This results in the unmountDevice operation detecting that the volume is still in use by a pod (due to residual pod ID information in the path /var/lib/kubelet/plugins/kubernetes.io/csi/volumeDevices/pv-dc3407bc-6c3f-4123-bcf8-8f28b7575820/dev/42077f53-c1df-4b6f-8647-f06100647095), preventing the PV from being deleted.

the detail time-series is shown in the diagram
p1

from kubernetes.

xing-yang avatar xing-yang commented on July 24, 2024

/triage accepted

from kubernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.