Hide Forgot
Description of problem: Even if there is a successful migration to etcdv3, etcd2 keys are left behind in the etcd database. It has been recommended that this data be removed to conserve IO & memory use. Version-Release number of the following components: v3.7.9
*** Bug 1541550 has been marked as a duplicate of this bug. ***
If we don't add it on the current release we already would have missed it for people which have upgraded past 3.9 to 3.10. Is the etcdctl2 command still present in 3.11 for us to use? We can either try and add this for 3.11 to automatically catch the cleanup and/or clone a doc bug for 3.7 docs to provide cleanup guidance for those who attempt to find it.
Why not make this an optional release note (docs update) in 3.7+ and with 3.11 automate the task?
Created https://github.com/openshift/openshift-ansible/pull/9899 to add a playbook to clean up the existing data
Fix is available in openshift-ansible-3.11.0-0.33.0
Right, can reproduce. `failed_when` didn't work as I expected it to. PR to master branch - https://github.com/openshift/openshift-ansible/pull/10184
3.11 release cherrypick - https://github.com/openshift/openshift-ansible/pull/10199
Fix is available in openshift-ansible-3.11.26-1
Verified with openshift-ansible-3.11.28-1 1).# etcdctl2 mkdir /kubernetes.io/events/default # etcdctl2 get /kubernetes.io /kubernetes.io: is a directory 2). Run playbook: /usr/share/ansible/openshift-ansible/playbooks/openshift-etcd/remove-etcdv2-data.yml successfully. 3). Check the v2 data: # etcdctl2 get /kubernetes.io migrated
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-2019:0024