OCPBUGS-98152: [release-4.18] Handle missing sriov_numvfs during Mellanox firmware reset#1243
Conversation
When SRIOV_EN is false the sriov_numvfs sysfs file does not exist. SetSriovNumVfs now checks for the file before writing and returns success when numVfs is 0 and the file is absent, so callers like MlxResetFW do not need special error handling for this case. Signed-off-by: Sebastian Sch <sebassch@gmail.com> (cherry picked from commit b93b9be) Signed-off-by: Sebastian Sch <sebassch@gmail.com>
|
/retest |
|
@SchSeba: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/retitle OCPBUGS-98152: [release-4.18] Handle missing sriov_numvfs during Mellanox firmware reset |
|
@SchSeba: This pull request references Jira Issue OCPBUGS-98152, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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. |
|
/label backport-risk-assessed |
|
/verified later @gregkopels |
|
@SchSeba: This PR has been marked to be verified later by DetailsIn 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 |
|
@SchSeba: This pull request references Jira Issue OCPBUGS-98152, which is invalid:
Comment DetailsIn 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 |
|
@SchSeba: This pull request references Jira Issue OCPBUGS-98152, which is invalid:
Comment DetailsIn 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 |
|
@SchSeba: This pull request references Jira Issue OCPBUGS-98152, which is invalid:
Comment DetailsIn 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. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SchSeba, zeeke The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
sriov_numvfsto0when the sysfs file is not present after staging Mellanox firmware changesSRIOV_ENis still disabled until rebootTest plan
Made with Cursor