-
Notifications
You must be signed in to change notification settings - Fork 33
OCPBUGS-63617: Update both disable and enable lists when enabling/disabling features #148
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
Conversation
|
@tmshort: This pull request references Jira Issue OCPBUGS-63617, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira ([email protected]), skipping review request. The bug has been updated to refer to the pull request using the external bug tracker. 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. |
7fc3c0d to
4009c34
Compare
|
/test openshift-e2e-aws-customnoupgrade |
|
Test failed. The OCPBUGS-63617 still exit, as the below. 1. Build an OCP cluster with this unmerged PR via the cluster-bot
launch 4.21,openshift/cluster-olm-operator#148 aws
jiazha-mac:~ jiazha$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.21.0-0-2025-11-03-015450-test-ci-ln-9p4nfwt-latest True False 91m Cluster version is 4.21.0-0-2025-11-03-015450-test-ci-ln-9p4nfwt-latest
jiazha-mac:~ jiazha$ oc get deploy catalogd-controller-manager -o yaml -n openshift-catalogd |grep feature-gates
- --feature-gates=APIV1MetasHandler=true
- --feature-gates=APIV1MetasHandler=false
jiazha-mac:~ jiazha$ oc get deploy -n openshift-operator-controller operator-controller-controller-manager -o yaml |grep feature-gates
- --feature-gates=WebhookProviderOpenshiftServiceCA=true
- --feature-gates=SingleOwnNamespaceInstallSupport=true
- --feature-gates=PreflightPermissions=true
- --feature-gates=WebhookProviderOpenshiftServiceCA=true
- --feature-gates=WebhookProviderCertManager=false
- --feature-gates=HelmChartSupport=false
- --feature-gates=BoxcutterRuntime=false
- --feature-gates=PreflightPermissions=false
- --feature-gates=SingleOwnNamespaceInstallSupport=false
- --feature-gates=WebhookProviderCertManager=falseI will reopen #147, which reverts |
Yeah, I meant to look at the resulting must-gather from one of the tests last week... but they take so long, I forgot once we got past the demos... I really don't want to loose the data in |
I'm seeing duplicates, but not contradictory settings in the techpreview must-gather... |
d51f639 to
f880320
Compare
* Ensure that the feature-gate is removed from the disabled list when enabled. * Ensure that the feature-gate is removed from the enabled list when disabled. Once a feature has been GA'd, the feature-gate has no impact even if it still exists. So, this keeps the mechanism of disabling feature-gates as part of the command line arguments. This is in case a feature is GA'd upstream before it is GA'd downstream (which is almost always the case), and in the case where a user chooses to switch to `CustomNoUpgrade` and wants to disable a feature. This may be contrary to k8s "best practices", but due to the upstream and downstream nature of OLM, we need this disablement mechanism. Added unit tests Assisted-by: Claude code Signed-off-by: Todd Short <[email protected]>
f880320 to
ada8eee
Compare
|
/test openshift-e2e-aws-devpreview |
|
@tmshort: 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. |
|
@jianzhangbjz I think I have this working now. |
anik120
left a comment
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.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: anik120, tmshort 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 |
|
Test passed, details: https://issues.redhat.com/browse/OCPBUGS-63617 |
|
/verified by @jianzhangbjz |
|
@jianzhangbjz: This PR has been marked as verified by 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. |
|
@tmshort: Jira Issue OCPBUGS-63617: Some pull requests linked via external trackers have merged: The following pull request, linked via external tracker, has not merged: All associated pull requests must be merged or unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-63617 has not been moved to the MODIFIED state. This PR is marked as verified. If the remaining PRs listed above are marked as verified before merging, the issue will automatically be moved to VERIFIED after all of the changes from the PRs are available in an accepted nightly payload. 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. |
|
/jira refresh |
|
@jianzhangbjz: Jira Issue Verification Checks: Jira Issue OCPBUGS-63617 Jira Issue OCPBUGS-63617 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 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. |
|
Fix included in accepted release 4.21.0-0.nightly-2025-11-05-234508 |
Alternative to #147
Unlike #147, this doesn't clear all the enable/disable feature-gate lists, thus the lists in o-f-o-c's experimental.yaml file are not completely ignored.
Once a feature has been GA'd, the feature-gate has no impact even if it still exists. So, this keeps the mechanism of disabling feature-gates as part of the command line arguments. This is in case a feature is GA'd upstream before it is GA'd downstream (which is almost always the case), and in the case where a user chooses to switch to
CustomNoUpgradeand wants to disable a feature.This may be contrary to k8s "best practices", but due to the upstream and downstream nature of OLM, we need this disablement mechanism.
Added unit tests
Assisted-by: Claude code