Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ancient migration code #5488

Merged

Conversation

nelljerram
Copy link
Member

Description

This PR removes ancient migration code for migrating from Calico v1 format data stored in an etcd v2 datastore - i.e. from a Calico installation before v3.0. There was already nothing in Calico's code or docs to provide a frontend/UI/CLI/whatever for using that code. It's theoretically conceivable that a 3rd party somewhere is importing some of the removed code to implement their own migration, but exceedingly unlikely.

Release Note

We have removed ancient migration code for migrating from Calico v1 format data stored in an etcd v2 datastore - i.e. from a Calico installation **before v3.0**.  There was already nothing in Calico's code or docs to provide a frontend/UI/CLI/whatever for using that code, and it's exceeding unlikely that it had any remaining usefulness.

Neil Jerram added 3 commits January 21, 2022 17:14
There is similar code at
libcalico-go/lib/upgrade/migrator/clients/v1/compat, so I guess
backend/compat is an obsolete earlier version of that.
@nelljerram nelljerram requested a review from a team as a code owner January 21, 2022 18:09
@marvin-tigera marvin-tigera added this to the Calico v3.23.0 milestone Jan 21, 2022
@marvin-tigera marvin-tigera added docs-pr-required Change is not yet documented release-note-required Change has user-facing impact (no matter how small) labels Jan 21, 2022
@nelljerram nelljerram added docs-not-required Docs not required for this change and removed docs-pr-required Change is not yet documented labels Jan 21, 2022
@nelljerram
Copy link
Member Author

This has had 4 failed CI runs, but with different failures in each run:

  1. Windows FV.
  2. Felix BPF UT/FV tests on new kernel.
  3. Felix BPF UT/FV tests on new kernel, and Node CI.
  4. Node CI.

Since all of the tests passed in at least one run, I assume these were all flakes. (We really should try to fix these, to save CI resources.)

@nelljerram nelljerram merged commit ad65cca into projectcalico:master Jan 24, 2022
@nelljerram nelljerram deleted the remove-ancient-migration-code branch January 24, 2022 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required Docs not required for this change release-note-required Change has user-facing impact (no matter how small)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants