Skip to content

Conversation

@stryan
Copy link

@stryan stryan commented Sep 10, 2025

This PR adds "warn" mode as a valid state setting the pg_num/etc on pool creation.

ceph_pool will only set the pg_num and pgp_num options when the auto_scaler is set to off. While it makes sense not to set them when the auto_scaler is on, the auto_scaler can also be set to "warn" mode where it will not adjust the PG count either. It seems counterintuitive to not allow configuring pg count in that case.

@asm0deuz
Copy link
Collaborator

asm0deuz commented Oct 2, 2025

@stryan Please sign-off your commit and the explanation in the PR message in the commit message. Thx

@stryan
Copy link
Author

stryan commented Oct 2, 2025

@asm0deuz Updated and put PR message and sign-off in commit. Do you want me to squash the two commits into one? I wasn't sure if the sign-off needs to be on all commits in the PR or not.

@asm0deuz
Copy link
Collaborator

asm0deuz commented Oct 3, 2025

Please squash both commits into one and rebase before pushing, it will update the github actions.

ceph_pool will only set the pg_num and pgp_num options when the auto_scaler is set to off.
While it makes sense not to set them when the auto_scaler is on, the auto_scaler can also be set to "warn" mode where it will not adjust the PG count either.
It seems counterintuitive to not allow configuring pg count in that case.

Signed-off-by: stryan <[email protected]>
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.

2 participants