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

Bump cinder-csi version and switch container registry #10894

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

Krast76
Copy link
Contributor

@Krast76 Krast76 commented Feb 6, 2024

/kind cleanup

What this PR does / why we need it:
Upgrading cinder-csi and switch container registry.

Which issue(s) this PR fixes:

Fixes #10893

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Update cinder-csi from 1.22.0 to 1.29.0
Use the new container registry for cinder-csi

@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 6, 2024
@k8s-ci-robot
Copy link
Contributor

Welcome @Krast76!

It looks like this is your first PR to kubernetes-sigs/kubespray 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/kubespray has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 6, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @Krast76. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 6, 2024
@mzaian
Copy link
Contributor

mzaian commented Feb 6, 2024

Hello @Krast76

Thanks for the PR, maybe also it's worth looking at the manifests here https://github.com/kubernetes/cloud-provider-openstack/tree/master/manifests/cinder-csi-plugin and update the files/templates in https://github.com/kubernetes-sigs/kubespray/tree/master/roles/kubernetes-apps/csi_driver/cinder

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 6, 2024
@Krast76
Copy link
Contributor Author

Krast76 commented Feb 6, 2024

Hello @Krast76

Thanks for the PR, maybe also it's worth looking at the manifests here https://github.com/kubernetes/cloud-provider-openstack/tree/master/manifests/cinder-csi-plugin and update the files/templates in https://github.com/kubernetes-sigs/kubespray/tree/master/roles/kubernetes-apps/csi_driver/cinder

Hello @mzaian

You right, thanks ! I've updated my PR :)

@mzaian
Copy link
Contributor

mzaian commented Feb 6, 2024

Hello @Krast76
Thanks for the PR, maybe also it's worth looking at the manifests here https://github.com/kubernetes/cloud-provider-openstack/tree/master/manifests/cinder-csi-plugin and update the files/templates in https://github.com/kubernetes-sigs/kubespray/tree/master/roles/kubernetes-apps/csi_driver/cinder

Hello @mzaian

You right, thanks ! I've updated my PR :)

Thanks @Krast76

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Feb 6, 2024
@Krast76
Copy link
Contributor Author

Krast76 commented Feb 6, 2024

Hello @Krast76
Thanks for the PR, maybe also it's worth looking at the manifests here https://github.com/kubernetes/cloud-provider-openstack/tree/master/manifests/cinder-csi-plugin and update the files/templates in https://github.com/kubernetes-sigs/kubespray/tree/master/roles/kubernetes-apps/csi_driver/cinder

Hello @mzaian
You right, thanks ! I've updated my PR :)

Thanks @Krast76

/ok-to-test

I tried the patch on a "test cluster".

It seems that csi-attacher in version v3.3.0 doesn't support the flag --default-fstype.

Should I bump the version of all related csi-* containers also ?

@mzaian
Copy link
Contributor

mzaian commented Feb 6, 2024

csi-attacher

I believe you need to sync all the changes between the old/new releases see here: kubernetes/cloud-provider-openstack@v1.22.0...v1.29.0

@Krast76
Copy link
Contributor Author

Krast76 commented Feb 6, 2024

csi-attacher

I believe you need to sync all the changes between the old/new releases see here: kubernetes/[email protected]

👍

For the csi related containers, I think that we should create a new variable cinder_csi_*_image_tag like Upcloud and Vsphere CSI do. Currently AWS, Azure, GCP and Cinder CSI rely on csi_attacher_image_tag that make csi update a bit risky.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 6, 2024
@Krast76
Copy link
Contributor Author

Krast76 commented Feb 6, 2024

@mzaian seems good now

@mzaian mzaian requested a review from VannTen February 6, 2024 16:01
@VannTen
Copy link
Contributor

VannTen commented Feb 8, 2024

For the csi related containers, I think that we should create a new variable cinder_csi_*_image_tag like Upcloud and Vsphere CSI do. Currently AWS, Azure, GCP and Cinder CSI rely on csi_attacher_image_tag that make csi update a bit risky.

Hum. What is a bit annoying is that those provider-specific tag will not be handled by the download role (which pre-load images on nodes where needed) AFAICT. It's not the end of the world but it could slow cluster bring up / maybe download 2 tags (the generic + the provider specific).
Anyway, no need to block this for that.
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 8, 2024
@VannTen
Copy link
Contributor

VannTen commented Feb 9, 2024

/assign @liupeng0518 @mzaian
(approval)

@mzaian
Copy link
Contributor

mzaian commented Feb 9, 2024

@Krast76 Please have a look at the small change I suggested.

@Krast76
Copy link
Contributor Author

Krast76 commented Feb 10, 2024

@Krast76 Please have a look at the small change I suggested.

Which one ?

All the changes for cinder-csi between 1.22.0 and 1.29.0 are in the PR.

May be you mean the change suggested by @VannTen ? But he said that is not mandatory right now ?

@Krast76
Copy link
Contributor Author

Krast76 commented Feb 22, 2024

@mzaian could you tell me what changes are you waiting for ? 🙏

@mzaian
Copy link
Contributor

mzaian commented Feb 22, 2024

@mzaian could you tell me what changes are you waiting for ? 🙏

Scroll up here and then you could see this below:
image

@VannTen
Copy link
Contributor

VannTen commented Feb 22, 2024 via email

@mzaian
Copy link
Contributor

mzaian commented Feb 22, 2024

@mzaian I think you didn't submit your review, the comments are marked as "Pending" in your screenshot ^

Oh I missed this. sorry :(

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 22, 2024
@Krast76
Copy link
Contributor Author

Krast76 commented Feb 22, 2024

@mzaian I think you didn't submit your review, the comments are marked as "Pending" in your screenshot ^

Oh I missed this. sorry :(

No worries 👍

It's ok now :)

@VannTen
Copy link
Contributor

VannTen commented Feb 22, 2024

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 22, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Krast76, mzaian

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 22, 2024
@k8s-ci-robot k8s-ci-robot merged commit 26034b2 into kubernetes-sigs:master Feb 22, 2024
65 checks passed
pedro-peter pushed a commit to pedro-peter/kubespray that referenced this pull request Mar 23, 2024
…s#10894)

* Bump cinder-csi version and switch container registry

Signed-off-by: Ludovic Logiou <[email protected]>

* Update roles/kubespray-defaults/defaults/main/download.yml

Co-authored-by: Mohamed Omar Zaian <[email protected]>

---------

Signed-off-by: Ludovic Logiou <[email protected]>
Co-authored-by: Mohamed Omar Zaian <[email protected]>
@mzaian mzaian mentioned this pull request Apr 26, 2024
dibi-codes pushed a commit to fino-digital/kubespray that referenced this pull request May 7, 2024
…s#10894)

* Bump cinder-csi version and switch container registry

Signed-off-by: Ludovic Logiou <[email protected]>

* Update roles/kubespray-defaults/defaults/main/download.yml

Co-authored-by: Mohamed Omar Zaian <[email protected]>

---------

Signed-off-by: Ludovic Logiou <[email protected]>
Co-authored-by: Mohamed Omar Zaian <[email protected]>
pedro-peter pushed a commit to pedro-peter/kubespray that referenced this pull request May 8, 2024
…s#10894)

* Bump cinder-csi version and switch container registry

Signed-off-by: Ludovic Logiou <[email protected]>

* Update roles/kubespray-defaults/defaults/main/download.yml

Co-authored-by: Mohamed Omar Zaian <[email protected]>

---------

Signed-off-by: Ludovic Logiou <[email protected]>
Co-authored-by: Mohamed Omar Zaian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cinder: Bump cinder csi version and switch registry
5 participants