From: Guillaume Abrioux Date: Mon, 9 Feb 2026 10:10:51 +0000 (+0100) Subject: ceph-volume: pass osd_type value to ceph-volume X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9b4b2c429ea587655bd1935339c14d945dbc43a3;p=ceph-ci.git ceph-volume: pass osd_type value to ceph-volume Use OSDType.value when building the ceph-volume lvm batch command so that the CLI receives "classic" or "crimson" instead of the enum repr ("OSDType.classic"). Fixes: https://tracker.ceph.com/issues/74818 Signed-off-by: Guillaume Abrioux --- diff --git a/src/python-common/ceph/deployment/translate.py b/src/python-common/ceph/deployment/translate.py index fab0518e1a9..d9bd5714e7b 100644 --- a/src/python-common/ceph/deployment/translate.py +++ b/src/python-common/ceph/deployment/translate.py @@ -136,7 +136,7 @@ class to_ceph_volume(object): cmd += " --objectstore {}".format(self.spec.objectstore) if self.spec.osd_type: - cmd += " --osd-type {}".format(self.spec.osd_type) + cmd += " --osd-type {}".format(self.spec.osd_type.value) cmds.append(cmd)