-
Notifications
You must be signed in to change notification settings - Fork 523
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
STOR-1839: promote VSphereDriverConfiguration feature to Accessible-by-default #1902
STOR-1839: promote VSphereDriverConfiguration feature to Accessible-by-default #1902
Conversation
@RomanBednar: This pull request references STOR-1839 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
Hello @RomanBednar! Some important instructions when contributing to openshift/api: |
features/features.go
Outdated
FeatureGateVSphereDriverConfiguration = newFeatureGate("VSphereDriverConfiguration"). | ||
reportProblemsToJiraComponent("Storage / Kubernetes External Components"). | ||
contactPerson("rbednar"). | ||
productScope(ocpSpecific). | ||
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
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.
For reasons beyond this PR, you can't actually remove gates at present. This must just be promoted to default and not removed. Gates will be cleaned up in a future release once they have been enabled by default for at least 2 EUS upgrades
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.
I see, is this documented somewhere for future myself? I was looking at this: https://github.com/openshift/enhancements/blob/b99a80d976385faa87f251dbbcd4260a37406921/dev-guide/featuresets.md#steps-to-remove-a-feature-gate
Which says the feature gate can be removed once it's no longer used, and this one in particular is not used currently. Also mentions removing if clauses for feature gates In the next release
-> so it's actually 2 EUS upgrades as you said. Is the doc outdated perhaps?
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.
Yeah the doc is in need of an update, we were discussing this on yesterdays office hours call, will be in the queue to update soon
- name: Should be able to create a minimal ClusterCSIDriver | ||
initial: | | ||
apiVersion: operator.openshift.io/v1 | ||
kind: ClusterCSIDriver | ||
metadata: | ||
name: csi.sharedresource.openshift.io | ||
spec: {} # No spec is required for a ClusterCSIDriver | ||
expected: | | ||
apiVersion: operator.openshift.io/v1 | ||
kind: ClusterCSIDriver | ||
metadata: | ||
name: csi.sharedresource.openshift.io | ||
spec: | ||
logLevel: Normal | ||
operatorLogLevel: Normal | ||
- name: IBM Cloud CSIDriverType must have a defined IBM Cloud spec | ||
initial: | | ||
apiVersion: operator.openshift.io/v1 | ||
kind: ClusterCSIDriver | ||
metadata: | ||
name: csi.sharedresource.openshift.io | ||
spec: | ||
driverConfig: | ||
driverType: IBMCloud | ||
expectedError: "Invalid value: \"object\": ibmcloud must be set if driverType is 'IBMCloud', but remain unset otherwise" | ||
- name: IBM Cloud spec must have an EncryptionKeyCRN defined | ||
initial: | | ||
apiVersion: operator.openshift.io/v1 | ||
kind: ClusterCSIDriver | ||
metadata: | ||
name: csi.sharedresource.openshift.io | ||
spec: | ||
driverConfig: | ||
driverType: IBMCloud | ||
ibmcloud: {} | ||
expectedError: "spec.driverConfig.ibmcloud.encryptionKeyCRN: Required value, <nil>: Invalid value: \"null\": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation" |
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.
These tests are already present in the default set of tests?
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.
Yes, but the were duplicated in this file which is for the feature gate only I suppose - anyway, not applicable to latest version of this PR since it's not getting removed.
granularMaxSnapshotsPerBlockVolumeInVSAN: 2 | ||
granularMaxSnapshotsPerBlockVolumeInVVOL: 3 | ||
logLevel: Normal | ||
operatorLogLevel: Normal |
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.
Nit, please restore the new line char at the end of the file
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.
Resolved - this does not have to change it seems.
087922f
to
b7debf5
Compare
@RomanBednar: This pull request references STOR-1839 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set. In response to this: 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 openshift-eng/jira-lifecycle-plugin repository. |
@JoelSpeed My e2e test don't have And |
Provided tests are linked and/or QE approval is marked on the PR, we can override the test naming clauses yes. This is a new thing so we are easing features into it as they come |
/override ci/prow/verify |
@RomanBednar: RomanBednar unauthorized: /override is restricted to Repo administrators, approvers in top level OWNERS file, and the following github teams:openshift: openshift-release-oversight openshift-staff-engineers. In response to this:
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-sigs/prow repository. |
Can you please fix this? |
/label qe-approved |
@RomanBednar: This pull request references STOR-1839 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set. In response to this: 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 openshift-eng/jira-lifecycle-plugin repository. |
@JoelSpeed Sure, fixed in separate commit. |
Based on linked content in the PR description, looks like this is working and the tests are there, though the name pattern doesn't match the verify expectation, so will override /lgtm We are working on fixing the client-go issue, once that's fixed we will look to get this merged |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed, RomanBednar 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 |
@JoelSpeed: Overrode contexts on behalf of JoelSpeed: ci/prow/verify In response to this:
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-sigs/prow repository. |
/retest-required |
@RomanBednar: all tests passed! Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
/cherry-pick release-4.16 |
@RomanBednar: new pull request created: #1904 In response to this:
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-sigs/prow repository. |
4.16 Periodic runs
E2E Tests 4.16 (Sippy)