From 2dccb9762f943af4c545508dc7c98629a3801194 Mon Sep 17 00:00:00 2001 From: Luciano Lo Giudice Date: Thu, 21 Sep 2023 20:01:42 -0300 Subject: [PATCH] Add the parameter names --- microceph/ceph/osd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/microceph/ceph/osd.go b/microceph/ceph/osd.go index 1b810f3c..abb8dbfc 100644 --- a/microceph/ceph/osd.go +++ b/microceph/ceph/osd.go @@ -418,10 +418,10 @@ func AddOSD(s *state.State, path string, wipe bool, encrypt bool, waldev *string // Bootstrap OSD. args := []string{"--mkfs", "--no-mon-config", "-i", fmt.Sprintf("%d", nr)} if waldev != nil { - args = append(args, *waldev) + args = append(args, []string{"--bluestore-block-wal-path", *waldev}...) } if dbdev != nil { - args = append(args, *dbdev) + args = append(args, []string{"--bluestore-block-db-path", *dbdev}...) } _, err = processExec.RunCommand("ceph-osd", args...)