Bug 1729979
Summary: | drain takes 600s to evict the image-registry pod and container is still running afterwards | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Antonio Murdaca <amurdaca> | |
Component: | Image Registry | Assignee: | Oleg Bulatov <obulatov> | |
Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | high | |||
Version: | 4.1.0 | CC: | aos-bugs | |
Target Milestone: | --- | |||
Target Release: | 4.2.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: the image registry was running from sh and signals were not propagated to the image registry.
Consequence: the registry wasn't able to receive SIGTERM and it took few minutes to terminate the registry pod.
Fix: replace sh with the registry process using exec
Result: the registry is the pid 1 process and it's able to receive SIGTERM
|
Story Points: | --- | |
Clone Of: | ||||
: | 1737379 1744948 (view as bug list) | Environment: | ||
Last Closed: | 2019-10-16 06:29:43 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: | 1737379, 1744948 |
Description
Antonio Murdaca
2019-07-15 13:26:13 UTC
Has this been cloned and targeted for 4.1? The MCO needs a 4.1 fix for https://github.com/openshift/machine-config-operator/pull/1023 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, 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-2019:2922 |