-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't working
Description
CRUSH rule assignments are not being applied after a pool has been created.
The bug is that updating Ceph pools doesn't evaluate changes in CRUSH rule here: https://github.com/stackhpc/ansible-collection-cephadm/blob/master/plugins/modules/cephadm_pool.py#L304-L305
Adding crush_rule
to that list doesn't solve things because it compares pool ID with name, eg 1
with replicated_hdd
, so now it always applies the change.
One way to add support for CRUSH rule configuration would be to replace pool IDs with pool names before the comparison is made.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working