-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[1.23] Make storage unmount less strict #6518
[1.23] Make storage unmount less strict #6518
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## release-1.23 #6518 +/- ##
================================================
- Coverage 43.02% 42.99% -0.03%
================================================
Files 123 123
Lines 12396 12401 +5
================================================
- Hits 5333 5332 -1
- Misses 6556 6560 +4
- Partials 507 509 +2 |
50f385b
to
bfd88c2
Compare
There are cases where the container storage unmount has been already (partially) done. This would cause `StopContainer()` in `server/container_stop.go:76` fail and therefore make containers get stuck in recreation, making their pods stuck in `NotReady`. We now double check the two c/stroage errors `ErrContainerUnknown` and `ErrLayerUnknown` Somehow related to: containers/podman#11207 (comment) Signed-off-by: Sascha Grunert <[email protected]>
bfd88c2
to
260dfc0
Compare
@haircommander PTAL, 4.11 got verified. |
/test e2e-agnostic |
What type of PR is this?
/kind bug
What this PR does / why we need it:
There are cases where the container storage unmount has been already (partially) done. This would cause
StopContainer()
inserver/container_stop.go:76
fail and therefore make containers get stuck in recreation, making their pods stuck inNotReady
.We now double check the two c/storage errors
ErrContainerUnknown
andErrLayerUnknown
Somehow related to: containers/podman#11207 (comment)
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Cherry-pick of #6517
Issue: https://issues.redhat.com/browse/OCPBUGS-6585
Does this PR introduce a user-facing change?