Fix Redfish exporter scrape configuration - #2547
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughUpdated Redfish exporter configuration to use WalkthroughThe Redfish exporter target address now uses ChangesRedfish exporter address selection
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: 🟡 Moderate · up to The scrape configuration can fail for baremetal-IPMI hosts because the optional Redfish address is evaluated before the IPMI fallback. Update the configuration and documentation to use an undefined-safe fallback before merging. 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.) Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 4cf1b4b2-6251-437f-8773-58265c86b09b
📒 Files selected for processing (3)
doc/source/configuration/monitoring.rstetc/kayobe/stackhpc-monitoring.ymlreleasenotes/notes/use-redfish-address-for-redfish-exporter-ae1504867ef77d59.yaml
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.
📜 Review details
⏰ Context from checks skipped due to timeout. (3)
- GitHub Check: stackhpc/check
- GitHub Check: Ansible 2.20 lint with Python 3.12
- GitHub Check: Ansible 2.19 lint with Python 3.12
🔇 Additional comments (1)
releasenotes/notes/use-redfish-address-for-redfish-exporter-ae1504867ef77d59.yaml (1)
1-5: LGTM!
When hosts are enrolled with Redfish, the generated inventory uses redfish_address instead of ipmi_address, resulting in wrong Prometheus scrape configuration for the Redfish exporter.
b683fa2 to
d7bd6ff
Compare
When hosts are enrolled with Redfish, the generated inventory uses redfish_address instead of ipmi_address, resulting in wrong Prometheus scrape configuration for the Redfish exporter.