OCPBUGS-74406: Check required credentials in a detailed way#144
Conversation
Improve Redfish VirtualMedia ``InsertMedia`` error handling on BMCs that require credentials but return unstructured errors (e.g., responses that omit ``error.code`` and report ``ActionParameterMissing`` only via ``@Message.ExtendedInfo`` or free-text messages). Sushy now detects these cases and retries with ``UserName``/``Password`` parameters, allowing ISO mounting to proceed. This also preserves compatibility with legacy ``error.code == *GeneralError`` responses that mention missing parameters. Change-Id: Ie65d70a7862f4cc7058269921bc512a8a9754bae Signed-off-by: mabulgu <abulgu@redhat.com> Assisted-By: chatgpt-5 (for research purposes)
|
@mabulgu: This pull request references Jira Issue OCPBUGS-74406, 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. |
|
/jira refresh |
|
@mabulgu: This pull request references Jira Issue OCPBUGS-74406, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
@mabulgu: This pull request references Jira Issue OCPBUGS-74406, which is valid. 7 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
@mabulgu: 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. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: elfosardo, mabulgu 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 |
e085fc0
into
openshift:release-4.19
|
@mabulgu: Jira Issue OCPBUGS-74406: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-74406 has been moved to the MODIFIED state. 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. |
Improve Redfish VirtualMedia
InsertMediaerror handling on BMCs that require credentials but return unstructured errors (e.g., responses that omiterror.codeand reportActionParameterMissingonly via@Message.ExtendedInfoor free-text messages). Sushy now detects these cases and retries withUserName/Passwordparameters, allowing ISO mounting to proceed. This also preserves compatibility with legacyerror.code == *GeneralErrorresponses that mention missing parameters.Change-Id: Ie65d70a7862f4cc7058269921bc512a8a9754bae
Assisted-By: Claude