]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: remove restriction for crush device classes 56087/head
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 19:19:53 +0000 (15:19 -0400)
commitc2a1aeb00b2278c89eb87359693ed7c8824c6068
tree38e9df576c614f797840ae14aa7bba600863f1ac
parent5bee1087985ebe9d721cdeeb2ee8183e5cf42d59
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)

Conflicts:
src/python-common/ceph/deployment/translate.py
src/python-common/ceph/deployment/translate.py
src/python-common/ceph/tests/test_drive_group.py