Repository navigation
Mon: Prevent pool creation if it will exceed mon_max_pg_per_osd - #67985
Conversation
Config Diff Tool OutputThe above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
Config Diff Tool OutputThe above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
ddb3491 to
4dde257
Compare
|
/config check ok |
4dde257 to
f16c349
Compare
f16c349 to
79b26e8
Compare
|
Fix mypy make error |
79b26e8 to
8a0a5e3
Compare
|
One might think that instead the autoscaler should scale down one or more existing pools to accommodate the new pool. It will scale up if pools are deleted, no? Alternately, perhaps create anyway if a really-mean-it flag is passed? Also, one might think that |
|
|
||
| echo OK |
8a0a5e3 to
19e496c
Compare
|
Rebase from main |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
19e496c to
5fbe2dc
Compare
5fbe2dc to
d26ef8d
Compare
|
Fix make check errors. |
d26ef8d to
45d9ab9
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
fefff4f to
972c8b4
Compare
33908ee to
6be33ff
Compare
|
|
||
| NUM_OSDS=$(ceph osd ls | wc -l) | ||
| if [ $NUM_OSDS -lt 6 ]; then | ||
| echo "test requires at least 6 OSDs" |
There was a problem hiding this comment.
@Ericmzhang I'm seeing a new failure in the test batch and I think it might be related to this change. Could you take a look and let me know https://pulpito.ceph.com/skanta-2026-06-25_10:03:14-rados-wip-bharath8-testing-2026-06-25-0632-distro-default-trial/315736/?
There was a problem hiding this comment.
Reverted the check to NUM_OSDS less than 6 from NUM_OSDS not equal to 6.
Check if adding a new pool results in max PG allowed to be exceeded Check if increasing replication size results in max PG allowed to be exceeded Fixes: https://tracker.ceph.com/issues/75423 Signed-off-by: Eric Zhang <[email protected]>
Added unit tests to check for adding a pool that causes max PG to be exceeded and increasing replication size that causes max PG to be exceeded Fixes: https://tracker.ceph.com/issues/75423 Signed-off-by: Eric Zhang <[email protected]>
6be33ff to
cb7ca7b
Compare
|
This PR has been added to wip-bharath5-testing-20260804.033808-main. |
|
I'm not sure about this but this PR may have broken my teuthology tests, please refer to https://tracker.ceph.com/issues/79431 - thanks! |
| "name=target_size_ratio,type=CephFloat,range=0.0,req=false "\ | ||
| "name=force_pg_limit,type=CephBool,req=false" | ||
| "name=yes_i_really_mean_it,type=CephBool,req=false" | ||
| "name=crimson,type=CephBool,req=false", |
There was a problem hiding this comment.
maybe there's supposed to be a space at the end of each line? otherwise c string literals will be concatenated as
name=force_pg_limit,type=CephBool,req=falsename=yes_i_really_mean_it,type=CephBool,req=falsename=crimson,type=CephBool,req=false
There was a problem hiding this comment.
@phlogistonjohn would you be willing to help test #71010 as a fix?
There was a problem hiding this comment.
@cbodley Thanks for catching this. I just tested the change quickly locally (creating a pool starting with .) and it works afterwards.
Problem:
Solution:
Fixes: https://tracker.ceph.com/issues/75423
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. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.