baremetal: recover from RAC0508 during iDRAC boot override#4421
Merged
Conversation
Detect IDRAC.2.8.RAC0508 and generic provider-not-ready failures as reset-worthy iDRAC service errors, retry the boot-order override once after resetting iDRAC, and wait for Dell Lifecycle Controller remote services to report ready before declaring the reset complete. Manager API reachability alone is not sufficient for ImportSystemConfiguration. Without the LC readiness gate, immediate retries can still hit RAC0508 while the provider is initializing. This keeps the recovery localized to the shared iDRAC reset flow so other reset-based recovery paths benefit from the same stronger post-reset readiness check while preserving original behavior for non-retriable failures.
🤖 AI Test SelectionNo test cases were selected for this PR. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR strengthens Dell iDRAC recovery during baremetal deployment by treating RAC0508 / provider-not-ready failures as reset-worthy, retrying the boot-order override once after an iDRAC reset, and adding a post-reset readiness gate for Lifecycle Controller remote services (not just Manager API reachability).
Changes:
- Extend iDRAC error detection to include
IDRAC.2.8.RAC0508and “provider is not ready” text. - After iDRAC reset, wait for Lifecycle Controller remote services readiness before considering reset complete.
- Add a one-time retry of
ImportSystemConfiguration(boot-order override) after reset-based recovery.
Collaborator
Author
|
@copilot apply changes based on the comments in this thread |
… message Agent-Logs-Url: https://github.com/microsoft/lisa/sessions/eceaeac2-0c9b-4d2a-931d-baf7a471dad0 Co-authored-by: vyadavmsft <1424753+vyadavmsft@users.noreply.github.com>
Contributor
Applied both changes from the review in commit 4b72dc6:
|
🤖 AI Test SelectionNo test cases were selected for this PR. |
anirudhrb
approved these changes
Apr 20, 2026
Collaborator
anirudhrb
left a comment
There was a problem hiding this comment.
Code wise LGTM. But haven't looked into the details of idrac.
LiliDeng
approved these changes
Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Detect IDRAC.2.8.RAC0508 and generic provider-not-ready failures as reset-worthy iDRAC service errors, retry the boot-order override once after resetting iDRAC, and wait for Dell Lifecycle Controller remote services to report ready before declaring the reset complete.
Manager API reachability alone is not sufficient for ImportSystemConfiguration. Without the LC readiness gate, immediate retries can still hit RAC0508 while the provider is initializing.
This keeps the recovery localized to the shared iDRAC reset flow so other reset-based recovery paths benefit from the same stronger post-reset readiness check while preserving original behavior for non-retriable failures.
Description
Related Issue
Type of Change
Checklist
Test Validation
Key Test Cases:
Impacted LISA Features:
Tested Azure Marketplace Images:
Test Results