-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When remove ephemeral csi failed, force remove it. #221
base: main
Are you sure you want to change the base?
When remove ephemeral csi failed, force remove it. #221
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #221 +/- ##
==========================================
+ Coverage 32.10% 32.38% +0.28%
==========================================
Files 41 41
Lines 6411 6425 +14
==========================================
+ Hits 2058 2081 +23
+ Misses 4064 4054 -10
- Partials 289 290 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -224,13 +225,22 @@ func (ns *nodeServer) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpu | |||
} | |||
} | |||
|
|||
ephemeralDevice, exist := ns.ephemeralVolumeStore.GetDevice(volumeID) | |||
|
|||
if err := ns.osTool.CleanupMountPoint(targetPath, ns.k8smounter, true /*extensiveMountPointCheck*/); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the case of unmount failure, is the container still running?
bc41367
to
b3ed397
Compare
b3ed397
to
74e2ff6
Compare
No description provided.