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
Unlock CSIMigrationvSphere feature gate #116342
Conversation
/assign @xing-yang @divyenpatel |
pkg/features/kube_features.go
Outdated
@@ -896,7 +896,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS | |||
|
|||
CSIMigrationRBD: {Default: false, PreRelease: featuregate.Alpha}, // Off by default (requires RBD CSI driver) | |||
|
|||
CSIMigrationvSphere: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.28 | |||
CSIMigrationvSphere: {Default: true, PreRelease: featuregate.GA}, // LockToDefault when supported CSI driver is available |
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.
Can you clarify what is a supported CSI driver, i.e., raw block, windows, xfs should be GA in CSI driver
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.
done
…phere CSI driver available
Can you also update the release notes with those details |
Done |
/priority important-soon |
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.
/approve
/lgtm
LGTM label has been added. Git tree hash: 0d52f79fde7b0faffd226270d1b0dabf19c1293c
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: divyenpatel, msau42 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 |
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
/retest |
#116364 flake |
/retest |
Changelog suggestion: -Unlock the CSIMigrationvSphere feature gate to allow users to wait for a vSphere CSI driver version with GA support for Windows, raw block and xfs features.
+Unlocked the `CSIMigrationvSphere` feature gate.
+The change allow users to continue using the in-tree vSphere driver,pending a vSphere
+CSI driver release that has with GA support for Windows, XFS, and raw block access. |
Thanks updated |
Due to changes in upstream kubernetes, the vSphere in-tree cloud provider will need to be used in situations where the in-tree storage is still in use. Because OpenShift 4.13 is enabling CSI migration by default for vSphere, there will need to be a regression method for the CCM as well. This change transforms the IsCloudProviderExternal function to detect this condition. references: https://groups.google.com/g/kubernetes-sig-storage/c/wvJpNDBS9vU kubernetes/kubernetes#116342 https://issues.redhat.com/browse/STOR-1265
We have identified an issue with migration - kubernetes-sigs/vsphere-csi-driver#2165 which is a potential blocker. The issue has no known fix and as far as I can tell no known workaround. |
…42-upstream-release-1.26 Automated cherry pick of #116342: Unlock CSIMigrationvSphere feature gate
Enables the use of in-tree storage for vSphere. This feature flag was locked to true until recently. See kubernetes/kubernetes#116342 for more context.
What type of PR is this?
/kind feature
What this PR does / why we need it:
As discussed in https://groups.google.com/g/kubernetes-sig-storage/c/wvJpNDBS9vU, we are going to unlock the CSIMigrationvSphere feature gate until there is a vSphere CSI driver version available that can provide feature parity with GA support.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: