Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for number of OSDs per rack in ceph-osd status message #207

Open
zxhdaze opened this issue Apr 26, 2024 · 0 comments
Open

Check for number of OSDs per rack in ceph-osd status message #207

zxhdaze opened this issue Apr 26, 2024 · 0 comments

Comments

@zxhdaze
Copy link
Contributor

zxhdaze commented Apr 26, 2024

We are seeing some clouds where physically, compute/storage nodes are racked unevenly across racks, and while the compute service may be okay with the imbalance of hypervisors in each availability zone, ceph performance can be severely impacted by an imbalance of spindles/nodes.

The status message of ceph-osd notes how many OSDs are available from each unit:

i.e.

      message: Unit is ready (14 OSD)
      message: Unit is ready (8 OSD)
      message: Unit is ready (14 OSD)
      message: Unit is ready (8 OSD)
      message: Unit is ready (14 OSD)
      message: Unit is ready (2 OSD)

juju-lint should aggregate number of OSDS per zone and report the number of OSDS per zone and WARN if they are not identical, and ERROR if they are off by 20% or more.

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

No branches or pull requests

1 participant