Bug 2087983

Summary: remove etcd_perf before restore
Product: OpenShift Container Platform Reporter: Thomas Jungblut <tjungblu>
Component: EtcdAssignee: Thomas Jungblut <tjungblu>
Status: CLOSED ERRATA QA Contact: ge liu <geliu>
Severity: low Docs Contact:
Priority: low    
Version: 4.11CC: geliu
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:12:58 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: 2087985, 2088131    

Description Thomas Jungblut 2022-05-18 15:25:06 UTC
external contribution by Forlot Romain (claneys)

This commit deletes "etcd_perf" files that could present if someone has ran a fio test under /var/lib/etcd
like specified in the OpenShift docs about the recommended host practices.

As this file is known as non essential, it could be freely deleted by anticipation by the restore pod when
restoring a cluster to a previous state.

https://github.com/openshift/cluster-etcd-operator/pull/823

Comment 3 ge liu 2022-05-24 09:33:33 UTC
Hey, Thomas, a question, is this action will backport to 4.10/4.9?

Comment 4 Thomas Jungblut 2022-05-30 11:32:21 UTC
@geliu only 4.10 as per https://github.com/openshift/cluster-etcd-operator/pull/823#issuecomment-1130196223
could you kindly apply the labels for https://github.com/openshift/cluster-etcd-operator/pull/836 then?

Comment 6 errata-xmlrpc 2022-08-10 11:12:58 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 (Important: OpenShift Container Platform 4.11.0 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:5069