-
Notifications
You must be signed in to change notification settings - Fork 99
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
[4.14] OCPBUGS-32580: allow override of NewVolumeManagerReconstruction #1956
[4.14] OCPBUGS-32580: allow override of NewVolumeManagerReconstruction #1956
Conversation
@dobsonj: This pull request references Jira Issue OCPBUGS-32580, which is invalid:
Comment 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. |
@dobsonj: the contents of this pull request could not be automatically validated. The following commits could not be validated and must be approved by a top-level approver:
Comment |
@dobsonj: GitHub didn't allow me to request PR reviews from the following users: openshift/storage. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. 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/test-infra repository. |
func init() { | ||
OpenShiftNewVolumeManagerReconstructionOverride() | ||
} |
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.
In case anyone else has the same question I had: What happens when two files in a single package both have their own init()
routine?
The files are processed alphabetically. First the init() in kube_features.go is called, and then the init() here in patch_kube_features.go
. They are always called exactly once, in serial, in order.
In other words, OpenShiftNewVolumeManagerReconstructionOverride()
should always be called after the default feature gates are added.
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.
It would be nice to have this information as a comment in the code
/jira refresh |
@dobsonj: This pull request references Jira Issue OCPBUGS-32580, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (wduan@redhat.com), skipping review request. 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. |
@dobsonj: This pull request references Jira Issue OCPBUGS-32580, which is valid. 7 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (wduan@redhat.com), skipping review request. 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. |
@dobsonj: The following test failed, say
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/test-infra repository. I understand the commands that are listed here. |
We can reproduce it in the latest 4.14 payload. (See reproducer in OCPBUGS-32580) |
/lgtm |
/label qe-approved |
@dobsonj: This pull request references Jira Issue OCPBUGS-32580, which is valid. 9 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (wduan@redhat.com), skipping review request. 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. |
/retest-require |
/retest-required |
/lgtm |
@rphillips on your head be it. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, dobsonj, jsafrane, rphillips 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 |
fd36fb9
into
openshift:release-4.14
@dobsonj: Jira Issue OCPBUGS-32580: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-32580 has been moved to the MODIFIED state. 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. |
[ART PR BUILD NOTIFIER] This PR has been included in build openshift-enterprise-pod-container-v4.14.0-202404301807.p0.gfd36fb9.assembly.stream.el8 for distgit openshift-enterprise-pod. |
Fix included in accepted release 4.14.0-0.nightly-2024-05-01-032909 |
https://issues.redhat.com/browse/OCPBUGS-32580
This provides a way to set the NewVolumeManagerReconstruction feature gate in a way that still allows the cluster to be upgradable. This is only needed on 4.14, since the feature gate defaults to true on 4.15 and later.
To test, you can log into a 4.14 node, install the following test rpm, and set the environment variable in
/etc/kubernetes/kubelet-env
:If it was successful, kubelet should have a log message showing that the environment variable took effect, and the NewVolumeManagerReconstruction feature gate should be true.
/cc @openshift/storage @jsafrane @rphillips