From cb91bf18a7216b7c861b2b17716083dc622bf711 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 2 Nov 2023 22:39:32 -0400 Subject: [PATCH] Fix incorrect variables --- client-cli/pvc/cli/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-cli/pvc/cli/cli.py b/client-cli/pvc/cli/cli.py index 55f1d8a9..af405439 100644 --- a/client-cli/pvc/cli/cli.py +++ b/client-cli/pvc/cli/cli.py @@ -3420,7 +3420,7 @@ def cli_storage_osd_create_db_vg(node, device): help="Split (an NVMe) disk into this many OSDs.", ) @confirm_opt("Destroy all data on and create new OSD(s) on node {node} device {device}") -def cli_storage_osd_add(node, device, weight, ext_db_flag, ext_db_ratio, split_count): +def cli_storage_osd_add(node, device, weight, ext_db_ratio, ext_db_size, osd_count): """ Add a new Ceph OSD on node NODE with block device DEVICE. DEVICE must be a valid block device path (e.g. '/dev/nvme0n1', '/dev/disk/by-path/...') or a "detect" string. Partitions are NOT supported. @@ -3449,7 +3449,7 @@ def cli_storage_osd_add(node, device, weight, ext_db_flag, ext_db_ratio, split_c weight, ext_db_ratio, ext_db_size, - split_count, + osd_count, ) echo(CLI_CONFIG, "done.") finish(retcode, retmsg)