Bug 2084259 - [4.8] OCP ignores STOPSIGNAL in Dockerfile and sends SIGTERM
Summary: [4.8] OCP ignores STOPSIGNAL in Dockerfile and sends SIGTERM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.z
Assignee: Peter Hunt
QA Contact: MinLi
URL:
Whiteboard:
Depends On: 2000877
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-11 18:45 UTC by Peter Hunt
Modified: 2022-05-25 21:48 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2000877
Environment:
Last Closed: 2022-05-25 21:48:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github cri-o cri-o pull 5861 0 None open [release-1.21] oci: use c/common signal parsing function 2022-05-11 18:45:54 UTC
Red Hat Product Errata RHSA-2022:2272 0 None None None 2022-05-25 21:48:35 UTC

Comment 5 MinLi 2022-05-18 07:55:00 UTC
verified!

% oc get clusterversion 
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2022-05-17-083040   True        False         161m    Cluster version is 4.8.0-0.nightly-2022-05-17-083040

sh-4.4# podman run -d --name echo-the-trapper-0  echo-the-trapper
e194bb99963fe1a44ca0f3e1844a4a6c75d68211cf531597d0244f58887de635

sh-4.4# podman inspect e194bb99963fe1a44ca0f3e1844a4a6c75d68211cf531597d0244f58887de635 | grep StopSignal
            "StopSignal": 37,

sh-4.4# podman stop echo-the-trapper-0 --log-level debug
INFO[0000] podman filtering at log level debug          
DEBU[0000] Called stop.PersistentPreRunE(podman stop echo-the-trapper-0 --log-level debug) 
DEBU[0000] Merged system config "/usr/share/containers/containers.conf" 
DEBU[0000] Using conmon: "/usr/bin/conmon"              
DEBU[0000] Initializing boltdb state at /var/lib/containers/storage/libpod/bolt_state.db 
DEBU[0000] Using graph driver overlay                   
DEBU[0000] Using graph root /var/lib/containers/storage 
DEBU[0000] Using run root /var/run/containers/storage   
DEBU[0000] Using static dir /var/lib/containers/storage/libpod 
DEBU[0000] Using tmp dir /run/libpod                    
DEBU[0000] Using volume path /var/lib/containers/storage/volumes 
DEBU[0000] Set libpod namespace to ""                   
DEBU[0000] [graphdriver] trying provided driver "overlay" 
DEBU[0000] cached value indicated that overlay is supported 
DEBU[0000] cached value indicated that metacopy is not being used 
DEBU[0000] NewControl(/var/lib/containers/storage/overlay): nextProjectID = 113 
DEBU[0000] cached value indicated that native-diff is usable 
DEBU[0000] backingFs=xfs, projectQuotaSupported=true, useNativeDiff=true, usingMetacopy=false 
DEBU[0000] Initializing event backend file              
DEBU[0000] configured OCI runtime kata initialization failed: no valid executable found for OCI runtime kata: invalid argument 
DEBU[0000] configured OCI runtime runsc initialization failed: no valid executable found for OCI runtime runsc: invalid argument 
DEBU[0000] configured OCI runtime crun initialization failed: no valid executable found for OCI runtime crun: invalid argument 
DEBU[0000] Using OCI runtime "/usr/bin/runc"            
INFO[0000] Found CNI network crio (type=bridge) at /etc/cni/net.d/100-crio-bridge.conf 
INFO[0000] Found CNI network 200-loopback.conf (type=loopback) at /etc/cni/net.d/200-loopback.conf 
INFO[0000] Found CNI network podman (type=bridge) at /etc/cni/net.d/87-podman-bridge.conflist 
DEBU[0000] Default CNI network name podman is unchangeable 
INFO[0000] Setting parallel job count to 13             
DEBU[0000] Starting parallel job on container e194bb99963fe1a44ca0f3e1844a4a6c75d68211cf531597d0244f58887de635 
DEBU[0000] Stopping ctr e194bb99963fe1a44ca0f3e1844a4a6c75d68211cf531597d0244f58887de635 (timeout 10) 
DEBU[0000] Stopping container e194bb99963fe1a44ca0f3e1844a4a6c75d68211cf531597d0244f58887de635 (PID 231617) 
DEBU[0000] Sending signal 37 to container e194bb99963fe1a44ca0f3e1844a4a6c75d68211cf531597d0244f58887de635 
DEBU[0000] Cleaning up container e194bb99963fe1a44ca0f3e1844a4a6c75d68211cf531597d0244f58887de635 
DEBU[0000] Network is already cleaned up, skipping...   
DEBU[0000] Container e194bb99963fe1a44ca0f3e1844a4a6c75d68211cf531597d0244f58887de635 storage is already unmounted, skipping... 
echo-the-trapper-0
DEBU[0000] Called stop.PersistentPostRunE(podman stop echo-the-trapper-0 --log-level debug)

Comment 7 errata-xmlrpc 2022-05-25 21:48:25 UTC
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: OpenShift Container Platform 4.8.41 bug fix and security 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-2022:2272


Note You need to log in before you can comment on or make changes to this bug.