Bug 1866164 - Etcd auto backup 'rollbackcopy' missed in 4.6
Summary: Etcd auto backup 'rollbackcopy' missed in 4.6
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd
Version: 4.6
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Sam Batschelet
QA Contact: ge liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-05 03:17 UTC by ge liu
Modified: 2021-06-24 13:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-11 18:57:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1894267 1 low CLOSED Provide an ability to turn off rollbackcopier 2024-03-25 16:54:55 UTC

Comment 1 Sam Batschelet 2020-08-11 18:57:21 UTC
Ge this is expected, rollbackcopy was deployed for the specific intent of ensuringin a backup existed between 4.4 and 4.5 backups. So it was removed in 4.6.

Comment 2 Colin Walters 2021-06-23 14:18:01 UTC
It looks like something in this code added the immutable bit on the target directory, which in turn breaks ostree upgrades.

Sam, is this something that was enabled by default for all customers, or something they had to opt-in to?  So far I've only heard of one instance.

Comment 3 Colin Walters 2021-06-24 13:27:35 UTC
More carefully reading Comment #1 - to reproduce this, we'd need to do a 4.4 install, then...potentially wait until the rollbackcopy kicked in (?) then do an upgrade to 4.5+ to hit this?

Where is the code for "rollbackcopy"?  I did `git log -G rollbackcopy` in both openshift/cluster-etcd-operator and openshift/etcd, no hits.  Launching a 4.4 cluster now to see this sidecar.

Comment 4 Sam Batschelet 2021-06-24 13:28:49 UTC
>It looks like something in this code added the immutable bit on the target directory, which in turn breaks ostree upgrades.

The immutable bit was set to disable rollbackcopier only in extreme cases which would of been applied by the CU or support. I will get a link.


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