Repository navigation
Add OpenBao Monitoring - #2419
technowhizz wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces monitoring support for OpenBao, including Prometheus scrape configurations, alerting rules for sealed or unhealthy nodes, and corresponding documentation. A critical issue was identified in the Prometheus scrape configuration template, where the Kayobe-specific inventory group 'controllers' and filter 'net_ip' were used instead of Kolla-native equivalents ('control' group and 'kolla_address' filter), which would cause template rendering failures.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Hmm CI is failing because the prometheus scrape job is enabled by default (assuming most clients have openbao deployed) but because we manually have to deploy openbao, it's not set up in the CI and so there is a prometheus alert for exporter down. Should we have it disabled by default and get the deploy openbao playbook to change some var to enable it? @jovial @dougszumski What do you think? |
Not a bad idea. I think a lot of people bring up the cloud without TLS and then enable it. I agree its better to start with it being set to false and then we can work out the best way to "enable it out the box". Potentially, you could use a custom fact: That you can then use in templating. |
|
@jovial Thanks for taking a look. Is there native custom fact support in kayobe? |
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 Walkthrough
Merge Risk: 🟡 Moderate · up to
|
| Check name | Status | Explanation |
|---|---|---|
| Docstring Coverage | ✅ Passed | 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… |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✨ Finishing Touches 💡 1
-
🛠️ Fix failing CI checks 💡
-
- Commit to this branch
- Create a new PR
-
- Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Autopilot is currently an internal CodeRabbit preview.
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 @coderabbitai help to get the list of available commands.
a8e0994 to
afea7ca
Compare
afea7ca to
f138f18
Compare
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: stackhpc/stackhpc-kayobe-config/.coderabbit.yaml
Review profile: ASSERTIVE
Plan: Advanced
Run ID: 93112030-123b-4771-90ed-3929668b6a12
📒 Files selected for processing (7)
doc/source/configuration/openbao.rstetc/kayobe/ansible/secret-store/secret-store-deploy-overcloud.ymletc/kayobe/kolla/config/grafana/dashboards/openstack/openbao.jsonetc/kayobe/kolla/config/prometheus/openbao.rulesetc/kayobe/kolla/config/prometheus/prometheus.yml.d/50-openbao.ymletc/kayobe/stackhpc-monitoring.ymlreleasenotes/notes/add-openbao-monitoring-alerts-1c0837df41c80459.yaml
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
📜 Review details
⚠️ CI failures not shown inline (1)
GitHub Check: stackhpc/check: Summary
Conclusion: failure
Merge Failed.
This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github/stackhpc/stackhpc-kayobe-config for 2419,f138f186ac16ba4e934a92ac41e49173972ad1f4
🔇 Additional comments (4)
etc/kayobe/stackhpc-monitoring.yml (1)
80-85: LGTM!etc/kayobe/ansible/secret-store/secret-store-deploy-overcloud.yml (1)
183-201: LGTM!doc/source/configuration/openbao.rst (1)
224-252: LGTM!releasenotes/notes/add-openbao-monitoring-alerts-1c0837df41c80459.yaml (1)
1-18: LGTM!
f138f18 to
57ba71d
Compare
1129ba1 to
3375bf4
Compare
3375bf4 to
71d9222
Compare
To be merged after stackhpc/ansible-collection-hashicorp#93 merges and then bumping the requirements.yml for the collection