Skip to content
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

controllers: pick next best version of csi images #65

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

leelavg
Copy link
Contributor

@leelavg leelavg commented Jan 29, 2024

pick the csi sidecar images version that are best suitable for the platform

@leelavg
Copy link
Contributor Author

leelavg commented Jan 29, 2024

/cherrypick release-4.15
fix for https://bugzilla.redhat.com/show_bug.cgi?id=2254216

@openshift-cherrypick-robot

@leelavg: once the present PR merges, I will cherry-pick it on top of release-4.15 in a new PR and assign it to you.

In response to this:

/cherrypick release-4.15

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.

@leelavg
Copy link
Contributor Author

leelavg commented Jan 29, 2024

/cherrypick fusion-hci-4.14

@openshift-cherrypick-robot

@leelavg: once the present PR merges, I will cherry-pick it on top of fusion-hci-4.14 in a new PR and assign it to you.

In response to this:

/cherrypick fusion-hci-4.14

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.

@leelavg
Copy link
Contributor Author

leelavg commented Jan 29, 2024

btw, below testing was done:

  1. Create OCP 4.15 and deploy client-operator 4.14, picks 4.14 sidecar images
  2. Update client-operator to 4.15, picks 4.15 sidecar images

Copy link
Contributor

@nb-ohad nb-ohad left a comment

Choose a reason for hiding this comment

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

@leelavg I have added some code structure comments but I think this PR has no merit as the behaviour should already be covered by the existing mechanized. The current mechanized is supposed to take the most matching CSI version based on the mapping and if an N-1 operator is installed on an N OCP then there will be no match for N and the N-1 version should be taken even without this code

pkg/csi/csi.go Outdated Show resolved Hide resolved
pkg/csi/csi.go Outdated Show resolved Hide resolved
pkg/csi/csi.go Outdated Show resolved Hide resolved
@leelavg
Copy link
Contributor Author

leelavg commented Jan 29, 2024

@nb-ohad @Madhu-1

should already be covered by the existing mechanized.

  • existing mechanism isn't covering it

As per offline discussion, the requirement seems to be selecting next best version.

However, shouldn't we have a ceiling on how farther we can go? Can that be normalized for all platform versions or any platform creates a jump point, IOW is there any criteria that OCP at X.Y can support sidecars that are lagging upto X.<?> ?

@leelavg
Copy link
Contributor Author

leelavg commented Jan 31, 2024

The current mechanized is supposed to take the most matching CSI version based on the mapping

  • done.

@leelavg
Copy link
Contributor Author

leelavg commented Jan 31, 2024

retested

@leelavg
Copy link
Contributor Author

leelavg commented Jan 31, 2024

retested

@leelavg
Copy link
Contributor Author

leelavg commented Jan 31, 2024

/hold

@leelavg
Copy link
Contributor Author

leelavg commented Jan 31, 2024

retested
/unhold

pkg/csi/csi.go Outdated Show resolved Hide resolved
pkg/csi/csi.go Outdated Show resolved Hide resolved
pkg/csi/csi.go Outdated Show resolved Hide resolved
pkg/csi/csi.go Outdated Show resolved Hide resolved
pkg/csi/csi.go Outdated Show resolved Hide resolved
Copy link

openshift-ci bot commented Feb 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: leelavg

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 18a6a73 into red-hat-storage:main Feb 6, 2024
14 checks passed
@openshift-cherrypick-robot

@leelavg: new pull request created: #69

In response to this:

/cherrypick release-4.15
fix for https://bugzilla.redhat.com/show_bug.cgi?id=2254216

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-cherrypick-robot

@leelavg: new pull request created: #70

In response to this:

/cherrypick fusion-hci-4.14

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants