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

Unlock CSIMigrationvSphere feature gate #116342

Merged
merged 1 commit into from Mar 8, 2023
Merged

Conversation

msau42
Copy link
Member

@msau42 msau42 commented Mar 7, 2023

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?

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.

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. sig/storage Categorizes an issue or PR as relevant to SIG Storage. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Mar 7, 2023
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 7, 2023
@msau42
Copy link
Member Author

msau42 commented Mar 7, 2023

@@ -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
Copy link
Contributor

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

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@xing-yang
Copy link
Contributor

Can you also update the release notes with those details

@msau42
Copy link
Member Author

msau42 commented Mar 7, 2023

Done

@pacoxu
Copy link
Member

pacoxu commented Mar 8, 2023

/priority important-soon
/triage accepted

@k8s-ci-robot k8s-ci-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-priority Indicates a PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 8, 2023
Copy link
Member

@divyenpatel divyenpatel left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

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

LGTM label has been added.

Git tree hash: 0d52f79fde7b0faffd226270d1b0dabf19c1293c

@k8s-ci-robot
Copy link
Contributor

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

@k8s-triage-robot
Copy link

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:

  • The PR does have any do-not-merge/* labels
  • The PR does not have the needs-ok-to-test label
  • The PR is mergeable (does not have a needs-rebase label)
  • The PR is approved (has cncf-cla: yes, lgtm, approved labels)
  • The PR is failing tests required for merge

You can:

/retest

@k8s-triage-robot
Copy link

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:

  • The PR does have any do-not-merge/* labels
  • The PR does not have the needs-ok-to-test label
  • The PR is mergeable (does not have a needs-rebase label)
  • The PR is approved (has cncf-cla: yes, lgtm, approved labels)
  • The PR is failing tests required for merge

You can:

/retest

@liggitt
Copy link
Member

liggitt commented Mar 8, 2023

/retest

@liggitt
Copy link
Member

liggitt commented Mar 8, 2023

#116364 flake
/retest

@liggitt
Copy link
Member

liggitt commented Mar 8, 2023

/retest

@sftim
Copy link
Contributor

sftim commented Mar 9, 2023

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.

@msau42
Copy link
Member Author

msau42 commented Mar 9, 2023

Thanks updated

elmiko added a commit to elmiko/library-go that referenced this pull request Mar 22, 2023
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
@gnufied
Copy link
Member

gnufied commented Mar 23, 2023

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.

k8s-ci-robot added a commit that referenced this pull request Apr 3, 2023
…42-upstream-release-1.26

Automated cherry pick of #116342: Unlock CSIMigrationvSphere feature gate
sebsoto added a commit to sebsoto/windows-machine-config-operator that referenced this pull request Apr 10, 2023
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.
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/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/storage Categorizes an issue or PR as relevant to SIG Storage. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants