-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Mark openstack/cinder csi migrations are on by default #98538
Mark openstack/cinder csi migrations are on by default #98538
Conversation
@dims: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims 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 |
/assign @gnufied @xing-yang |
e205a94
to
95d03cc
Compare
/hold |
95d03cc
to
cc1c284
Compare
I think let's not rush to turn this on by GA this release. Firstly, let's wait for #98243 to get merged. Instead, we can target to turn it on by default and remain it as beta in this release. At the same time, there is a list of criteria that each driver should follow to get it to GA. Let's check all the requirement has been met and then do the flip change. |
@Jiawei0227 the openstack csi driver and the external cloud provider has been stable and working for a looooong time now. i just don't understand why we are dragging this. https://github.com/kubernetes/kubernetes/pulls?q=is%3Apr+author%3Adims+openstack+in%3Asubject |
@dims, I can help with the storage parts, however, there are some steps related more to @kubernetes/cloud-provider-openstack-maintainers. As sig-storage we created https://docs.google.com/document/d/1j6uF9sOoGCQ9nNFVrdvCWyn77o9k3-758qsEj2K3BAY/edit# with the necessary steps. For OpenStack, I can't provide this:
|
This we will do by documenting in cluster-api-provider-openstack and updating docs.
There is a bunch of CI jobs in openlab, #98311 would have been caught there. So i am not worried.
Agree.
We can't mandate and we can't wait. Other than RH, most of the other folks have been using extrernal cloud provider + CSI AFAIK. So we have to lead the way. If we have sufficient docs and make enough noise in openstack dev mailing list. that's enough. thanks, |
As I wrote above, documentation may not be enough. Whatever tool a cluster admin uses to install or upgrade Kubernetes on OpenStack, this tool must install the CSI driver by default, otherwise the cluster is broken. Users don't read docs. I still haven't heard what's the most favorite tool to use on OpenStack. kops? kubeadm? Heat templates? Maybe they're all already fine, but someone must check it.
No, openlab runs CSI migration tests and it did not catch this. I did not dig deeper, but the CI needs some fixes to enable topology. Does it even have multiple Cinder zones? |
typo in the release note: |
pkg/features/kube_features.go
Outdated
CSIMigrationOpenStack: {Default: false, PreRelease: featuregate.Beta}, // Off by default (requires OpenStack Cinder CSI driver) | ||
CSIMigrationOpenStackComplete: {Default: false, PreRelease: featuregate.Alpha}, | ||
CSIMigrationOpenStack: {Default: true, PreRelease: featuregate.Beta}, | ||
CSIMigrationOpenStackComplete: {Default: true, PreRelease: featuregate.Beta}, |
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.
We are also going to need docs PR for this - https://kubernetes.io/docs/concepts/storage/volumes/#openstack-csi-migration
@dims: PR needs rebase. 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. |
@jsafrane @dims we have checked this. It does run Topology tests , looks like default manifests of external-provisioner doesnt have Topology=true feature gate enabled, thats the reason it couldn't catch it . We are working on to fix it. Thanks. And also, kops from release 1.19 , do install cinder driver by default , https://kops.sigs.k8s.io/releases/1.19-notes/#openstack-cinder-plugin |
Thanks for confirmation! Is there any other widely used installation tool?
It's not only about running topology tests and enabling topology in the provisioner. There are few tests than actually need to have a cluster with Cinder with multiple zones. Can openlab provide this? Since I ran into #98311, it seems to me that nobody has tested it before. |
kubespray also do support openstack installation I suppose . But I dont have enough data to say which is widely used.
@jsafrane currently tests are not running with multi AZ. Though #98311 should be caught with signle AZ as well. we have already discussed and @chrigl is working with openlab to explore the possibility to enable for multi AZ and modify scripts accordingly. |
For the record, I filed couple of issues that need to be fixed before we can enable this feature by default: https://github.com/kubernetes/cloud-provider-openstack/issues/created_by/jsafrane (another view: https://github.com/orgs/kubernetes-csi/projects/40) |
30d30ac
to
90256bd
Compare
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
90256bd
to
b74354a
Compare
This is the first CSI driver that enables CSI migration. The plan is to have it in beta for two next releases to get feedback from users and have GA in 1.23 at the earliest. /lgtm |
/milestone v1.21 |
/retest |
@dims can you update the PR title to reflect that this is turning on the feature by default? |
This PR should also note that - |
Signed-off-by: Davanum Srinivas davanum@gmail.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Related to kubernetes/enhancements#1489
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: