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
mgr/dashboard: fix CephPGImbalance alert #48525
Conversation
21dc55c
to
0a6219e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am curious, if the balancer module is not enabled, we will be continuing to do the previous behaviour right?
...rd/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.ts
Outdated
Show resolved
Hide resolved
...rd/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.ts
Outdated
Show resolved
Hide resolved
|
Same as with the other PR @aaSharma14: no PR/commit should start with "Fix..." if a tracker defect report is not attached along with it. "Fix" implies bug, hence backporting to the active releases according to the Ceph bugfixing policy. Additionally, having a tracker will simplify the backporting paperwork. |
1514090
to
30b36d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thank you!
91613ae
to
fdbb492
Compare
Donot show the CephPgImbalance alert if the balancer shows no optimization required Fixes: https://tracker.ceph.com/issues/55568 Signed-off-by: Aashish Sharma <aasharma@redhat.com>
fdbb492
to
a75792d
Compare
|
jenkins test signed |
|
jenkins test dashboard |
The CephPGImbalance might be inaccurate in some specific environments. The CephPGImbalance alert is going to be raised, if the amount of PGs of an OSD is 30% less than the average amount of PGs of all OSDs. The amount of PGs of an OSD is normally related to e.g. number of OSDs and size or class of device. For a well-functioning cluster the Balancer takes care of balancing the PGs.
In some cases e.g. if the cluster consists of a lot of bigger HDDs and some smaller SSDs, the alert might be raised. Although the configuration and balance of the PGs is handled correctly.
Fixes: https://tracker.ceph.com/issues/55568
Signed-off-by: Aashish Sharma aasharma@redhat.com
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows