Bug 2158635
Summary: | podman rm leaves running container behind [rhel-8.7.0.z] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | RHEL Program Management Team <pgm-rhel-tools> |
Component: | podman | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED ERRATA | QA Contact: | Alex Jia <ajia> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 8.7 | CC: | arajendr, bbaude, dornelas, dwalsh, gscrivan, jligon, jnovy, lsm5, mboddu, mheon, pthomas, tsweeney, umohnani, ypu |
Target Milestone: | rc | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | podman-4.2.0-8.el8_7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 2155828 | Environment: | |
Last Closed: | 2023-02-21 09:31:37 UTC | Type: | --- |
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: | 2155828 | ||
Bug Blocks: |
Comment 2
Tom Sweeney
2023-01-09 19:33:41 UTC
I can reproduce this bug on podman-4.2.0-6.module+el8.7.0+17498+a7f63b89 and verified it on podman-4.2.0-8.module+el8.7.0+17824+66a0202b. [root@kvm-01-guest28 ~]# rpm -q podman runc systemd kernel podman-4.2.0-8.module+el8.7.0+17824+66a0202b.x86_64 runc-1.1.4-1.module+el8.7.0+17498+a7f63b89.x86_64 systemd-239-68.el8_7.2.x86_64 kernel-4.18.0-425.12.1.el8_7.x86_64 [root@kvm-01-guest28 ~]# podman run -d --name test_remove --health-cmd /bin/false --health-interval 5s --health-retries 1 --health-time out 1s --health-on-failure=stop --health-start-period 5s --stop-signal SIGTERM ubi8 sleep infinity; sleep 8;(ps -ef|grep sleep); podman rm test_remove --force 085bcd776ad689e70303a6838dd4d009e387d5658a524b211fc18f8be090280b root 29582 29573 0 04:43 ? 00:00:00 /usr/bin/coreutils --coreutils-prog-shebang=sleep /usr/bin/sleep infinity root 29652 11808 0 04:43 ? 00:00:00 sleep 5 root 29655 29653 0 04:43 pts/0 00:00:00 grep --color=auto sleep 085bcd776ad689e70303a6838dd4d009e387d5658a524b211fc18f8be090280b [root@kvm-01-guest28 ~]# podman ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES [root@kvm-01-guest28 ~]# ps -fww 29582 UID PID PPID C STIME TTY STAT TIME CMD Closing this bug as verified per Comment 4. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (container-tools:rhel8 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:0849 |