OPRUN-3588: Update openshift/api to pick up OLM V1 v4.18 capability sets#1108
Conversation
|
/hold |
ef43722 to
fd1aad4
Compare
|
/hold cancel |
7088817 to
d6ee596
Compare
| } | ||
|
|
||
| func (c testSyncContext) Queue() workqueue.RateLimitingInterface { | ||
| func (c testSyncContext) Queue() workqueue.RateLimitingInterface { //nolint:staticcheck |
There was a problem hiding this comment.
I could not change the RateLimitingInterface here as library-go still uses old version of API and it wont accept new change
Catching up with [1]. Generated with: $ go get github.com/openshift/api@a2817b89f7e0989016967055a142d5e88bed18de $ go get github.com/openshift/client-go@923091dd2b1a3d6fe75a06cc4f45972a3ddf84c2 $ go get github.com/openshift/library-go@0064ad7bd060b9fd52f7840972c1d3e72186d0f0 $ go mod tidy $ go mod vendor $ git add -A go.* vendor $ go version go version go1.22.5 linux/amd64 [1] openshift/api/pull/2066 Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
As we need to update the test after adding a new capability Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
Use DefaultTypedControllerRateLimiter instead of workqueue.DefaultControllerRateLimiter Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
d6ee596 to
375ee94
Compare
|
Hey @LalatenduMohanty , any concern that this update includes a bump to k8s 1.31? |
4.18 uses Kube 1.31, e.g. 4.18.0-ec.3:
and openshift/kubernetes#2092, so should be fine for us to use Kube 1.31 clients, right? I guess that gives us a very brief window where an incoming 4.18 CVO is using 1.31 clients before the Kube API server has had time to update to 1.31, but 🤷, the CVO doesn't do fancy things with cutting edge Kube API types during that window, and hopefully 1.31 client code is backwards-compatible with 1.30 Kube API servers to bridge that kind of skew. |
|
/jira refresh |
|
@wking: No Jira issue is referenced in the title of this pull request. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Drop the pre-colon space to make the bots happy /retitle OPRUN-3588: Update openshift/api to pick up OLM V1 v4.18 capability sets |
|
@LalatenduMohanty: This pull request references OPRUN-3588 which is a valid jira issue. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
This pull looks good to me, although CI is still running, and I'm waiting that out before adding the
/hold for OLM to lift when they're ready for this to merge. |
|
e2e-agnostic-operator failures look like infra, and unrelated to this pull request, so retest that: /test e2e-agnostic-operator $ curl -s https://storage.googleapis.com/test-platform-results/pr-logs/pull/openshift_cluster-version-operator/1108/pull-ci-openshift-cluster-version-operator-master-e2e-agnostic-operator/1856432680753696768/build-log.txt | grep 'Install attempt\|failed to create cluster\|Installer exit with code'
Install attempt 1 of 3
level=error msg=failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to provision control-plane machines within 15m0s: client rate limiter Wait returned an error: context deadline exceeded
Installer exit with code 4
Install attempt 2 of 3
level=error msg=failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed provisioning resources after infrastructure ready: failed to finish creating gallery image version 418.94.20241009: GET https://management.azure.com/subscriptions/d38f1e38-4bed-438e-b227-833f997adf6a/providers/Microsoft.Compute/locations/eastus/capsOperations/6c0764d1-d60d-4fd3-aa18-cc8a856a794b
Installer exit with code 4
Install attempt 3 of 3
level=error msg=failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed provisioning resources after infrastructure ready: failed to finish creating gallery image version 418.94.20241009: GET https://management.azure.com/subscriptions/d38f1e38-4bed-438e-b227-833f997adf6a/providers/Microsoft.Compute/locations/eastus/capsOperations/ae6c5228-cebd-4952-858b-ec73ed4a54ef
Installer exit with code 4 |
This failure does not seem related to the PR. @wking what are we going to do for hypershift test failures? |
|
My bet is that the It's a update timeout: It is not possible to update from the version that knows the new capability to the version without that capability. |
|
Looks like hypershift tests have passed now. @wking @petr-muller can we get a lgtm on this PR and I will remove the hold when we are ready |
Can we get this tested? (by OLM or OTA QE?). Capability PRs are hard to revert when problematic. We block CVO merges on QE approval (or explicit decision that pre-merge testing is not necessary or desirable for some reason). |
wking
left a comment
There was a problem hiding this comment.
Yup, once we confirm that's the only issue with the upgrade-out-of-change job, we:
/override ci/prow/e2e-agnostic-ovn-upgrade-out-of-change
we could get better visibility with openshift/api#1624, but I haven't been able to get that prioritized.
/lgtm
|
@wking: Overrode contexts on behalf of wking: ci/prow/e2e-agnostic-ovn-upgrade-out-of-change DetailsIn 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. |
|
@LalatenduMohanty: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LalatenduMohanty, wking 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 |
|
Manually adding |
|
/label qe-approved |
|
/hold cancel |
|
@LalatenduMohanty: This pull request references OPRUN-3588 which is a valid jira issue. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
[ART PR BUILD NOTIFIER] Distgit: cluster-version-operator |
Catching up with [1]. Generated with:
$ go get github.com/openshift/api@a2817b89f7e0989016967055a142d5e88bed18de
$ go get github.com/openshift/client-go@923091dd2b1a3d6fe75a06cc4f45972a3ddf84c2
$ go get github.com/openshift/library-go@0064ad7bd060b9fd52f7840972c1d3e72186d0f0
$ go mod tidy
$ go mod vendor
$ git add -A go.* vendor
$ go version
go version go1.22.5 linux/amd64
[1] openshift/api/pull/2066