Provide Red Hat documentation-backed resolution recommendations for classified job errors. Use when: - After failure analysis and host fact inspection: "How do I fix this?" - "What does Red Hat recommend for this error?" - "What's the fix for privilege escalation timeout?" - "Is this a known AAP issue?" NOT for: analyzing events (use job-failure-analyzer first) or checking host facts (use host-fact-inspector first).
79%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./rh-automation/skills/resolution-advisor/SKILL.mdRequired MCP Servers: None required (this skill provides advisory based on documentation)
Use this skill when:
job-failure-analyzer has classified the error typehost-fact-inspector has correlated host facts (when applicable)Do NOT use when:
job-failure-analyzer first)host-fact-inspector first if hosts are involved)CRITICAL: Document consultation MUST happen BEFORE providing recommendations.
Document Consultation (REQUIRED - Execute FIRST):
Using the error classification from job-failure-analyzer and the correlation from host-fact-inspector, map to the resolution path from error-classification.md:
| Classification | Resolution Owner | Red Hat Doc Reference |
|---|---|---|
| Platform - Host Unreachable | Network/Infra team | AAP 2.6 Troubleshooting Guide |
| Platform - EE Unavailable | Platform Admin | AAP 2.6 EE Guide |
| Platform - Capacity | Platform Admin | AAP 2.5 Instance Groups (Ch. 17) |
| Code - Undefined Variable | Playbook Developer | Ansible Variable Precedence docs |
| Code - Wrong Package | Playbook Developer | RHEL Package Management docs |
| Code - Syntax Error | Playbook Developer | Ansible Playbook Guide |
| Config - Privilege Escalation | Ops Team | AAP 2.6 Troubleshooting Guide |
| Config - Credential Mismatch | Ops Team | AAP 2.5 Security Best Practices |
| Config - Service Failure | Ops Team | systemd documentation |
| Config - Missing Collection | Platform Admin | AAP 2.6 EE Guide |
Output format:
## Resolution Advisory
### Error Summary
**Classification**: [Platform / Code / Configuration] Error
**Pattern**: [Specific pattern from error-classification.md]
**Affected**: [hosts/tasks from failure analysis]
### Red Hat Guidance
Per Red Hat's *[Source Document]*:
> "[Direct quote or guidance from the cited Red Hat documentation]"
### Resolution Steps
**Resolution Owner**: [Network/Infra / Platform Admin / Playbook Developer / Ops Team]
1. [Specific step with Red Hat doc reference]
2. [Specific step with Red Hat doc reference]
3. [Verification step]
### Prevention
Per Red Hat's *[Source Document]* ([Section]):
> "[Guidance on preventing this type of error]"
**Recommended governance control**: [e.g., "Add check mode to catch this in dry runs", "Configure notifications for this failure type"]
### Related Governance Gaps
[If the error points to a governance gap from governance-readiness.md domains, note it]
- Example: "Privilege escalation failures may indicate missing credential separation (Domain 4: Credential Security)"
- Example: "Capacity exhaustion may indicate insufficient workload isolation (Domain 6: Workload Isolation)"If the failure correlates with a governance readiness domain, recommend the user run a governance assessment:
job-failure-analyzer - Provides error classification inputhost-fact-inspector - Provides host correlation inputgovernance-readiness-assessor - For governance gap follow-upexecution-summary - Audit trailUser: "How do I fix the package not found error from Job #4451?"
Agent:
## Resolution Advisory
### Error Summary
**Classification**: Code Error
**Pattern**: Wrong Package Name (2b)
**Affected**: Host web-prod-01, Task "Install security package"
### Red Hat Guidance
Per Red Hat's *AAP 2.6 Troubleshooting Guide*:
> "Module failures typically indicate an issue with the playbook task definition."
### Resolution Steps
**Resolution Owner**: Playbook Developer
1. Verify the package name exists in the target OS repositories
2. Check `ansible_distribution` and `ansible_distribution_version` for the host
3. Update the playbook with the correct package name
4. Re-run with check mode to validate before full execution
### Prevention
Per Red Hat's *Controller Best Practices*:
> "Use separate inventories for production and development environments."
Test playbook changes in a development inventory first.RHEcosystemAppEng/agentic-plugins
53fa7d8
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.