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
Bug 1907309: Add new StorageVersionMigration resourceapply #1091
Bug 1907309: Add new StorageVersionMigration resourceapply #1091
Conversation
@ihcsim: This pull request references Bugzilla bug 1907309, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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. |
@ihcsim: An error was encountered querying GitHub for users with public email (kewang@redhat.com) for bug 1907309 on the Bugzilla server at https://bugzilla.redhat.com. No known errors were detected, please see the full error message for details. Full error message.
non-200 OK status code: 403 Forbidden body: "{\n \"documentation_url\": \"https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#abuse-rate-limits\",\n \"message\": \"You have triggered an abuse detection mechanism. Please wait a few minutes before you try again.\"\n}\n"
Please contact an administrator to resolve this issue, then request a bug refresh with In response to this:
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. |
/assign @deads2k |
@@ -52,7 +52,7 @@ require ( | |||
k8s.io/klog/v2 v2.8.0 | |||
k8s.io/kube-aggregator v0.21.1 | |||
k8s.io/utils v0.0.0-20201110183641-67b214c5f920 | |||
sigs.k8s.io/kube-storage-version-migrator v0.0.3 | |||
sigs.k8s.io/kube-storage-version-migrator v0.0.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bumped to import sigs.k8s.io/kube-storage-version-migrator/pkg/clients/clientset/fake
in testing.
I expected to see a resourceread too. Is that not needed for somereason? |
@ihcsim: This pull request references Bugzilla bug 1907309, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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. |
/retest |
@ihcsim: This pull request references Bugzilla bug 1907309, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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. |
1 similar comment
@ihcsim: This pull request references Bugzilla bug 1907309, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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. |
pkg/operator/staticresourcecontroller/static_resource_controller.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Ivan Sim <isim@redhat.com>
/lgtm holding for proof. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, ihcsim The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
proof appeared to work |
@ihcsim: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Bugzilla bug in order for it to move to the next state. Once unlinked, request a bug refresh with Bugzilla bug 1907309 has not been moved to the MODIFIED state. In response to this:
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. |
This PR adds a new
resourceapply
andresourceread
for themigration.k8s.io
group. These new functions will be used by the
StaticResourceController
in thekube-apiserver controller to manage APF resources storage version migration. (
See openshift/cluster-kube-apiserver-operator#1139.)
Test steps:
etcdhelper
CLI per instructions hereetcdhelper
binary to the etcdctl container of one of theetcd
pods:etcdhelper
to confirm the initialv1alpha1
version of the APF resources:4.8.0-fc5
$ oc -n openshift-kube-storage-version-migrator logs migrator-68b46b456d-c6psq | grep -i flowschema I0603 19:40:49.094922 1 kubemigrator.go:110] flowcontrol-flowschema-storage-version-migration: migration running I0603 19:40:49.536115 1 kubemigrator.go:127] flowcontrol-flowschema-storage-version-migration: migration succeeded
etcdhelper
should show that the objects are now in the beta version: