]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: remove restriction for crush device classes 55839/head
authorSeena Fallah <seenafallah@gmail.com>
Sun, 11 Feb 2024 21:50:05 +0000 (22:50 +0100)
committerAdam King <adking@redhat.com>
Thu, 29 Feb 2024 13:03:43 +0000 (08:03 -0500)
commit3412bc992211d2042147ee2b438f26bcbb33b2f0
treebec8e076fc9a6383a96d4e810767b81b1c9f9b61
parent9e5611adb518962d0cf7ebdcbb8cdfbf6967aafe
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