Skip to content

OCPBUGS-74406: Check required credentials in a detailed way#144

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:release-4.19from
mabulgu:fix/OCPBUGS-74406
Mar 11, 2026
Merged

OCPBUGS-74406: Check required credentials in a detailed way#144
openshift-merge-bot[bot] merged 1 commit intoopenshift:release-4.19from
mabulgu:fix/OCPBUGS-74406

Conversation

@mabulgu
Copy link
Copy Markdown

@mabulgu mabulgu commented Mar 9, 2026

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

Assisted-By: Claude

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)
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 9, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@mabulgu: This pull request references Jira Issue OCPBUGS-74406, which is invalid:

  • expected Jira Issue OCPBUGS-74406 to depend on a bug targeting a version in 4.20.0, 4.20.z and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

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

Assisted-By: chatgpt-5 (for research purposes)

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
Copy link
Copy Markdown
Author

mabulgu commented Mar 9, 2026

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 9, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@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
  • bug is open, matching expected state (open)
  • bug target version (4.19.z) matches configured target version for branch (4.19.z)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-74405 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-74405 targets the "4.20.z" version, which is one of the valid target versions: 4.20.0, 4.20.z
  • bug has dependents

Requesting review from QA contact:
/cc @jadhaj

Details

In response to this:

/jira refresh

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.

@openshift-ci openshift-ci bot requested review from dtantsur, jadhaj and zaneb March 9, 2026 10:56
@openshift-ci-robot
Copy link
Copy Markdown

@mabulgu: This pull request references Jira Issue OCPBUGS-74406, which is valid.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.19.z) matches configured target version for branch (4.19.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-74405 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-74405 targets the "4.20.z" version, which is one of the valid target versions: 4.20.0, 4.20.z
  • bug has dependents

Requesting review from QA contact:
/cc @jadhaj

Details

In response to this:

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

Assisted-By: Claude

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.

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 9, 2026

@mabulgu: all tests passed!

Full PR test history. Your PR dashboard.

Details

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.

@elfosardo
Copy link
Copy Markdown

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 11, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 11, 2026

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 11, 2026
@openshift-merge-bot openshift-merge-bot bot merged commit e085fc0 into openshift:release-4.19 Mar 11, 2026
4 checks passed
@openshift-ci-robot
Copy link
Copy Markdown

@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.

Details

In response to this:

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

Assisted-By: Claude

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants