Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1770273

Summary: [DR] Recovery script fails to handle error during drain
Product: OpenShift Container Platform Reporter: Sam Batschelet <sbatsche>
Component: EtcdAssignee: Suresh Kolichala <skolicha>
Status: CLOSED ERRATA QA Contact: ge liu <geliu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: mfojtik, skolicha
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1772097 (view as bug list) Environment:
Last Closed: 2020-01-23 11:11:45 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: 1772097    

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