-
Notifications
You must be signed in to change notification settings - Fork 462
Bug 1697657: vendor: bump openshift/api and needed k8s deps #611
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
|
To fix the unit tests we need to bump client-go as well. Depends on: openshift/client-go#100 |
@rphillips so I should wait on that to merge? |
|
@runcom yes, and we will need to regenerate the deps update on this PR after the client-go patch merges in. |
actually, I don't think this is the case. The only units failing are related to the fact that the container_runtime controller reports the REAL error on failure, where the kubelet_config just silently ignores it see #603 In there, we talked about it, and right now, if something goes wrong the controller isn't throwing an error cause UpdateStatus succedes (again, the container runtime controller does the right thing by returning the actual error) |
|
I'm seeing this error in the build log: |
yeah, but that doesn't relate to openshift/client-go#100 - I mean that PR is probably still required but bumping client-go locally just worked for me and then there's the unit error I mentioned above related to kubelet_config. I'm creating an issue to be more precise. |
|
/retest |
|
Looks like we are dependent on a new k8s.io/client-go with this patch to bring in MergePatchType support. |
oh nice, that would be perfect and fixes the units that are failing with container_runtime units. Any eta on when that's gonna land in openshift/client-go? |
|
looking at the diff in Gopkg.lock which is updating each package, but the commit message being you probably want to run |
|
@abhinavdahiya thanks for the tip, because I was trying a bunch of things with dep and failing. diff --git a/Gopkg.toml b/Gopkg.toml
index ae550eab..d8cdd0e5 100644
--- a/Gopkg.toml
+++ b/Gopkg.toml
@@ -105,7 +105,7 @@ required = [
[[constraint]]
name = "k8s.io/api"
- branch = "release-1.13"
+ branch = "release-1.14"
[[constraint]]
name = "k8s.io/apiextensions-apiserver"
@@ -113,7 +113,7 @@ required = [
[[constraint]]
name = "k8s.io/client-go"
- version = "10.0.0"
+ version = "v11.0.0"
[[constraint]]
name = "k8s.io/code-generator"[Note: v11.0.0 is not a typo, upstream added a 'v' in front of the version] Then After doing these steps I got a successful |
|
alright, I just For the failing units, I'm trying to find a nice hack while we move to 1.14 as the patch to backport just for that is huge and won't be backported afaict. |
|
ok, last commit adds a workaround till we upgrade to 1.14 (not soon likely) @rphillips ptal I'll add something similar for kubelet controller once #617 merges and I rebase this |
|
/retest |
|
Ok, this should be good to go now 🎉 |
|
/lgtm |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
no, you do not need to bump golang. it sohuld be fine. |
alrighty, but I'll just leave it written here that we're bumping all our kube* deps to 1.13.4 then to bump openshift/api 😄 |
|
/retest |
1 similar comment
|
/retest |
I've rebased this and added a commit which aligns our kube deps to 1.13.x which is the one we support in 4.1 @kikisdeliveryservice @cgwalters @LorbusChris ptal again pls |
|
/retest |
Signed-off-by: Antonio Murdaca <[email protected]>
we need this workaround to mock out patch calls in unit until openshift#611 (comment) which is probably going to be in kube 1.14 Signed-off-by: Antonio Murdaca <[email protected]>
Signed-off-by: Antonio Murdaca <[email protected]>
|
/retest |
|
And finally green again |
|
/lgtm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, kikisdeliveryservice, LorbusChris, rphillips, runcom The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
Signed-off-by: Antonio Murdaca [email protected]
- What I did
Bump openshift/api as per https://bugzilla.redhat.com/show_bug.cgi?id=1697657 and other k8s deps as needed by the openshift/api bump
- How to verify it
CI
- Description for the changelog