-
Notifications
You must be signed in to change notification settings - Fork 10
updates for 1.4 compat #314
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
Conversation
Signed-off-by: Wesley Hayutin <weshayutin@gmail.com>
⛔ Snyk checks have failed. 2 issues have been found so far.
⛔ security/snyk check is complete. 2 issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) 💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
/lgtm Do you have two controllers running? One deployed by dpa (pod in openshift-adp) and second via make run from development environment? Anyway the retry is always safe to perform imo. |
|
Are we seeing this only on 1.4 ? or this visible on main/1.5 ? If yes, I would post a fix to main first and then CP. |
|
tide requires: openshift/release#69404 |
|
/cherry-pick oadp-1.5 |
|
@mpryc: once the present PR merges, I will cherry-pick it on top of 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-sigs/prow repository. |
|
/cherry-pick main |
|
@mpryc: once the present PR merges, I will cherry-pick it on top of 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-sigs/prow repository. |
|
@shubham-pampattiwar @mpryc I need to test this a bit more.. AFAIK this is ONLY 1.4 issue and caused by diff controller versions. DO NOT CHERRY PICK.. No NEED to RUSH |
|
New changes are detected. LGTM label has been removed. |
|
@shubham-pampattiwar @mpryc ok.. I don't I can get this working w/ go 1.20. I could be just silly/stupid but I will need your advice here. Could we essentially ship the oadp-1.5 version w/ 1.4 and just fix that conflict? I don't know what to do :) SUPRISE! |
Signed-off-by: Michal Pryc <mpryc@redhat.com>
|
@weshayutin it's the CONTROLLER_TOOLS_VERSION specified in the Makefile incompatible with newer go version. There is no need to downgrade go builder, even velero oadp-1.4 has 1.23: Most importantly we need to ensure the controller-runtime used in oadp-1.4 matches the version shipped with OpenShift that is using oadp-1.4, we can see that we are using for velero same: I think this is correct way to go: In the above PR note the pointer to your fork of oadp-operator, which would need to be replaced once draft is merged to openshift/oadp-operator: $ make build
migtools-oadp-non-admin/bin/controller-gen-v0.16.5 rbac:roleName=non-admin-controller-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
migtools-oadp-non-admin/bin/controller-gen-v0.16.5 object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet ./...
go build -o bin/manager cmd/main.go
$ echo $?
0 |
Fixes to build with oadp-1.4
|
@shubham-pampattiwar we need some more work done here to avoid conflicts. Now that the controller-gen is downgraded, we're still seeing some issues. |
Modifications which allows to remove race condition in the Status and Finalizer updates. Fixed race condition in Status update. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Michal Pryc <mpryc@redhat.com>
Have a nice weekend :) - fixes all tests: |
Fixes of the Status.Update() calls and use Patch for finalizer
|
|
thanks @mpryc |
|
/override snyk |
|
@mpryc: /override requires failed status contexts, check run or a prowjob name to operate on.
Only the following failed contexts/checkruns were expected:
If you are trying to override a checkrun that has a space in it, you must put a double quote on the context. 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-sigs/prow repository. |
|
/override security/snyk |
|
@mpryc: /override requires failed status contexts, check run or a prowjob name to operate on.
Only the following failed contexts/checkruns were expected:
If you are trying to override a checkrun that has a space in it, you must put a double quote on the context. 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-sigs/prow repository. |
1000274
a2ca0b0 to
1000274
Compare
|
/override security/snyk |
|
@weshayutin: /override requires failed status contexts, check run or a prowjob name to operate on.
Only the following failed contexts/checkruns were expected:
If you are trying to override a checkrun that has a space in it, you must put a double quote on the context. 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-sigs/prow repository. |
mpryc
left a comment
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.
/lgtm
|
/override security/snyk |
|
@mpryc: /override requires failed status contexts, check run or a prowjob name to operate on.
Only the following failed contexts/checkruns were expected:
If you are trying to override a checkrun that has a space in it, you must put a double quote on the context. 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-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mpryc, shubham-pampattiwar, weshayutin 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 |
|
@mpryc: new pull request created: #319 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-sigs/prow repository. |
|
@mpryc: cannot checkout 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-sigs/prow repository. |
Why the changes were made
Error running the latest oadp-non-admin controller w/ oadp.14
How to test the changes made
build and override and test