Skip to content

USHIFT-1085: Storage Migration Controller Implementation#2019

Merged
openshift-merge-robot merged 6 commits intoopenshift:mainfrom
eggfoobar:storage-migration-part-duex
Jul 11, 2023
Merged

USHIFT-1085: Storage Migration Controller Implementation#2019
openshift-merge-robot merged 6 commits intoopenshift:mainfrom
eggfoobar:storage-migration-part-duex

Conversation

@eggfoobar
Copy link
Copy Markdown
Contributor

This PR builds upon the work done in the previous PR #1956 but with the cluster fully running instead of pre-run.

This was done since we need the cluster to be fully running with the kubelet in order to guarantee migrations for CRD Migration Webhooks.

/cc @dhellmann

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 8, 2023
@openshift-ci openshift-ci Bot requested a review from dhellmann July 8, 2023 21:14
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Jul 8, 2023

@eggfoobar: This pull request references USHIFT-1085 which is a valid jira issue.

Details

In response to this:

This PR builds upon the work done in the previous PR #1956 but with the cluster fully running instead of pre-run.

This was done since we need the cluster to be fully running with the kubelet in order to guarantee migrations for CRD Migration Webhooks.

/cc @dhellmann

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 8, 2023
Comment thread pkg/controllers/kube-storage-version-migrator.go Outdated
Comment thread pkg/controllers/kube-storage-version-migrator.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the difference between the trigger and the migrator?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's user guide for it'd be nice to include that information in our repository (even as a comment in one of the files).

Looks like we'll need to include checking if migration is complete and successful in healthcheck script

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And we'll need to rethink $DATA_DIR/version - current impl was based on assumption that migration would happen before "true" start, but with this we'll just start and healthcheck will assess if all is good.
Maybe it's a good thing and will simplify and increase flexibility of the upgradability. 🤔

Comment thread pkg/controllers/kube-storage-version-migrator.go Outdated
Signed-off-by: ehila <ehila@redhat.com>
Signed-off-by: ehila <ehila@redhat.com>
added controllers to kick off migrator and the trigger routine

Signed-off-by: ehila <ehila@redhat.com>
Signed-off-by: ehila <ehila@redhat.com>
@eggfoobar eggfoobar force-pushed the storage-migration-part-duex branch from 0baee6d to af87629 Compare July 10, 2023 15:41
@pmtk
Copy link
Copy Markdown
Member

pmtk commented Jul 10, 2023

To make test-rebase happy I think you need ignore: "REASON" to the files you added in assets.yaml

@pmtk
Copy link
Copy Markdown
Member

pmtk commented Jul 11, 2023

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 11, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jul 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eggfoobar, pmtk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot
Copy link
Copy Markdown

/retest-required

Remaining retests: 0 against base HEAD af0c3f8 and 2 for PR HEAD 3f9fa92 in total

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jul 11, 2023

@eggfoobar: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-openshift-conformance-reduced-arm 3f9fa92 link false /test e2e-openshift-conformance-reduced-arm

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit 3e80a89 into openshift:main Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants