Bug 1894267

Summary: Provide an ability to turn off rollbackcopier
Product: OpenShift Container Platform Reporter: Suresh Kolichala <skolicha>
Component: EtcdAssignee: Dan Mace <dmace>
Status: CLOSED ERRATA QA Contact: ge liu <geliu>
Severity: medium Docs Contact:
Priority: low    
Version: 4.5CC: jseunghw, sbatsche
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1896894 (view as bug list) Environment:
Last Closed: 2020-12-01 10:48:48 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: 1896894    
Bug Blocks:    

Description Suresh Kolichala 2020-11-03 21:36:47 UTC
Description of problem:
Currently there is no option to turn off rollbackcopy sidecar container, which periodically takes snapshots of the etcd database and writes to disk. The action of snapshotting state itself is mostly non blocking but its a major I/O event. 

When the database is huge (in Gbs), writing the huge data to the disk can impact other disk operations, and results in fsync delays in etcd metrics.

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


How reproducible:
All 4.4 and 4.5 have a sidecar implementation of periodic rollbackcopy

Steps to Reproduce:
1. Install 4.5
2. On leader node, notice snapshots being taken hourly into /etc/kubernetes/rollbackcopy directory

Actual results:
Snapshots are generated every hour on the leader node.

Expected results:
With option to turn off, the snapshots are no longer generated.


Additional info:

Comment 6 errata-xmlrpc 2020-12-01 10:48:48 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.5.21 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-2020:5194

Comment 7 Sam Batschelet 2021-01-23 16:50:09 UTC
*** Bug 1909586 has been marked as a duplicate of this bug. ***