Bug 2122599

Summary: podman kill may deadlock
Product: Red Hat Enterprise Linux 8 Reporter: Valentin Rothberg <vrothber>
Component: podmanAssignee: Tom Sweeney <tsweeney>
Status: CLOSED CURRENTRELEASE QA Contact: Alex Jia <ajia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.7CC: bbaude, dwalsh, jligon, jnovy, lsm5, mheon, pthomas, toneata, tsweeney, umohnani, ypu
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2124716 2125647 (view as bug list) Environment:
Last Closed: 2023-03-24 07:47:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2124716, 2125647    

Description Valentin Rothberg 2022-08-30 11:22:26 UTC
Description of problem:

`podman kill` (Podman v4.2 only) can deadlock on low-performance machines or machines under extremely high load as reported upstream.

[1] https://github.com/containers/podman/issues/15492

Version-Release number of selected component (if applicable):
Podman v4.2.x

How reproducible:

I never managed to reproduce, neither did upstream CI or gating tests.  According to upstream report [1] it's easy to reproduce low-performance ARM machines.

Steps to Reproduce:
Kill a running container via `podman kill`.

Actual results:
Deadlock.

Expected results:
Container gets killed.

Additional info:
An upstream fix has already been merged: https://github.com/containers/podman/pull/15494
The fix is trivial as it's merely removing a number of lines.

Comment 1 Tom Sweeney 2022-09-06 22:00:13 UTC
Can I get a dev and qa ack for zero day purposes please?

Comment 3 Tom Sweeney 2022-09-09 00:21:51 UTC
@ypu can I get a qa ack on this please?

Comment 5 Alex Jia 2023-03-24 07:47:31 UTC
This bug has been verified on podman-4.4.1-8.module+el8.8.0+18438+15d3aa65.