Bug 2155828
Summary: | podman rm leaves running container behind | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Francois Andrieu <fandrieu> | |
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.4.0-1.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2158632 2158635 (view as bug list) | Environment: | ||
Last Closed: | 2023-05-16 08:22:23 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: | 2158632, 2158635 |
Description
Francois Andrieu
2022-12-22 14:10:16 UTC
opened a PR for upstream https://github.com/containers/podman/pull/16978 This bug has been verified on podman-4.4.0-1.module+el8.8.0+18060+3f21f2cc.x86_64.
[root@kvm-02-guest12 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.8 Beta (Ootpa)
[root@kvm-02-guest12 ~]# rpm -q podman runc systemd kernel
podman-4.4.0-1.module+el8.8.0+18060+3f21f2cc.x86_64
runc-1.1.4-1.module+el8.8.0+18060+3f21f2cc.x86_64
systemd-239-71.el8.x86_64
kernel-4.18.0-458.el8.x86_64
[root@kvm-02-guest12 ~]# (
> podman run -d --name test_remove --health-cmd /bin/false --health-interval 5s --health-retries 1 --health-timeout 1s --health-on-failure=stop --health-start-period 5s --stop-signal SIGTERM ubi8 sleep infinity
> sleep 8
> ps -ef|grep sleep
> podman ps -a
> podman rm test_remove --force
> )
Resolved "ubi8" as an alias (/etc/containers/registries.conf.d/001-rhel-shortnames.conf)
Trying to pull registry.access.redhat.com/ubi8:latest...
Getting image source signatures
Checking if image destination supports signatures
Copying blob ea0a20a2c448 skipped: already exists
Copying config 55e87c8c55 done
Writing manifest to image destination
Storing signatures
d67e64ff7d3f5fc22b1d61918b7aa5734c41c153a2ba6ead9bbdaee022645413
root 43103 43095 0 01:55 ? 00:00:00 /usr/bin/coreutils --coreutils-prog-shebang=sleep /usr/bin/sleep infinity
root 43171 10034 0 01:55 ? 00:00:00 sleep 5
root 43173 42992 0 01:55 pts/0 00:00:00 grep --color=auto sleep
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d67e64ff7d3f registry.access.redhat.com/ubi8:latest sleep infinity 8 seconds ago Stopping (unhealthy) test_remove
test_remove
[root@kvm-02-guest12 ~]# podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@kvm-02-guest12 ~]# ps -fww 43103
UID PID PPID C STIME TTY STAT TIME CMD
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 (Moderate: container-tools:rhel8 security, 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/RHSA-2023:2758 |