Bug 1770273 - [DR] Recovery script fails to handle error during drain
Summary: [DR] Recovery script fails to handle error during drain
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.3.0
Assignee: Suresh Kolichala
QA Contact: ge liu
URL:
Whiteboard:
Depends On:
Blocks: 1772097
TreeView+ depends on / blocked
 
Reported: 2019-11-08 15:16 UTC by Sam Batschelet
Modified: 2020-01-23 11:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1772097 (view as bug list)
Environment:
Last Closed: 2020-01-23 11:11:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift machine-config-operator pull 1262 0 'None' 'closed' 'Bug 1770273: Verify all containers are dead in stop_all_containers() function' 2019-11-26 10:02:34 UTC
Red Hat Product Errata RHBA-2020:0062 0 None None None 2020-01-23 11:12:03 UTC

Description Sam Batschelet 2019-11-08 15:16:24 UTC
Description of problem: crictl will return non 0 when using stop command if the container ID passed to it is not found. DR scripts do not gracefully handle this failure and should instead of exiting handle the error and retry until the drain is complete.

ref: https://coreos.slack.com/archives/C027U68LP/p1571942729031600

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results: DR completes as expected.


Additional info:

Comment 2 ge liu 2019-11-29 07:56:29 UTC
Verified with 4.3.0-0.nightly-2019-11-29-040907 on aws cluster.

Comment 4 errata-xmlrpc 2020-01-23 11:11:45 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, 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-2020:0062


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