]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: remove restriction for crush device classes
authorSeena Fallah <seenafallah@gmail.com>
Sun, 11 Feb 2024 21:50:05 +0000 (22:50 +0100)
committerAdam King <adking@redhat.com>
Sun, 10 Mar 2024 21:01:36 +0000 (17:01 -0400)
commit7861de2d0fa3e0f26c7dfa49d28310a7815b6c13
treec03ad7cc2b252b140fcb58523de414a22565433c
parentc2ea977b6956d1f694ccf66acc692fdd979e3baa
cephadm: remove restriction for crush device classes

A restriction has been introduced here (https://github.com/ceph/ceph/commit/6c6cb2f5130dbcf8e42cf03666173948411fc92b) which doesn't let OSDs be created with custom crush device classes.
Crush Device Class is the key that helps the crush distinguish between multiple storage classes, so it must accept any custom names.

Fixes: https://tracker.ceph.com/issues/64382
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 5999196f37bc5cb12de26d5f0aa077229e3ffc42)
src/python-common/ceph/deployment/translate.py
src/python-common/ceph/tests/test_drive_group.py