Skip to content

Dev: report: Collect cluster health output - #2166

Draft
liangxin1300 wants to merge 1 commit into
ClusterLabs:masterfrom
liangxin1300:20260803_collect_cluster_health
Draft

Dev: report: Collect cluster health output#2166
liangxin1300 wants to merge 1 commit into
ClusterLabs:masterfrom
liangxin1300:20260803_collect_cluster_health

Conversation

@liangxin1300

Copy link
Copy Markdown
Collaborator

crm report should include the cluster health checks that are useful for support diagnostics. Add a report collector that records the hawk2, sbd, and sles16 health command output into a dedicated report file.

  • Add cluster_health.txt report constant
  • Collect crm cluster health hawk2 output
  • Collect crm cluster health sbd output
  • Collect crm cluster health sles16 output
  • Cover cluster health collection with a unit test

crm report should include the cluster health checks that are useful for
support diagnostics. Add a report collector that records the hawk2, sbd,
and sles16 health command output into a dedicated report file.

- Add cluster_health.txt report constant
- Collect crm cluster health hawk2 output
- Collect crm cluster health sbd output
- Collect crm cluster health sles16 output
- Cover cluster health collection with a unit test
@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.67%. Comparing base (157564b) to head (bab9ea8).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
Flag Coverage Δ
integration 55.40% <20.00%> (+0.16%) ⬆️
unit 52.74% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
crmsh/report/collect.py 98.04% <100.00%> (+0.05%) ⬆️
crmsh/report/constants.py 100.00% <100.00%> (ø)

... and 8 files with indirect coverage changes

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@liangxin1300

liangxin1300 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

Can hold until #2149 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant