Closed dlehrman closed 7 months ago
Can one of the admins verify this patch?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.26%. Comparing base (
14bef55
) to head (13dd0aa
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@dlehrman Can you please update the UT for the above code. All 5 lines added is not covered by the UT. https://github.com/dell/dellemc-openmanage-ansible-modules/pull/618#issuecomment-1951038424
@dlehrman Can you please update the UT for the above code. All 5 lines added is not covered by the UT. #618 (comment)
@sachin-apa I was having difficulty figuring out how to trip the exception in the unit test, but discovered a better approach to fix #617 that I believe will be covered by existing unit tests and have updated the PR to include that change.
@dlehrman Looks like the changes is done only for export operation, I think its good to make the changes for import and preview as well to keep it consistent.
@dlehrman Looks like the changes is done only for export operation, I think its good to make the changes for import and preview as well to keep it consistent.
@sachin-apa #617 and the changes in this PR are only applicable to the export operation. Import and preview operations already use the wait_for_job_tracking_redfish function.
Description
iDRAC7 and iDRAC8 respond to iDRAC_JOB_URI, but not JOB_URI. This results in a failed condition when exporting SCP with job_wait=true. Falling back from JOB_URI to iDRAC_JOB_URI allows successful job_wait for iDRAC7-9. This PR will try the legacy jobs URI if the primary jobs URI fails.
GitHub Issues
List the GitHub issues impacted by this PR:
ISSUE TYPE
COMPONENT NAME
idrac_server_config_profile
OUTPUT
After applying the fix in this PR:
ADDITIONAL INFORMATION
Output prior to the changes included in this PR:
Playbook used:
Checklist: