From f4d605f97b4ae6d59e9cd9817a7f7843d0fc8f71 Mon Sep 17 00:00:00 2001 From: Pedro Gonzalez Gomez Date: Thu, 22 Feb 2024 11:06:21 +0100 Subject: [PATCH] mgr/dashboard: fix volume creation with multiple hosts Fixes: https://tracker.ceph.com/issues/64559 Signed-off-by: Pedro Gonzalez Gomez (cherry picked from commit 4313f9a59c676067ca23242808c8e87068d0d953) --- src/pybind/mgr/dashboard/controllers/cephfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/controllers/cephfs.py b/src/pybind/mgr/dashboard/controllers/cephfs.py index ad2cafe0ba8..6849f34e921 100644 --- a/src/pybind/mgr/dashboard/controllers/cephfs.py +++ b/src/pybind/mgr/dashboard/controllers/cephfs.py @@ -56,7 +56,7 @@ class CephFS(RESTController): service_spec_str = service_spec_str[:-1] if 'hosts' in service_spec['placement']: for host in service_spec['placement']['hosts']: - service_spec_str += f'{host},' + service_spec_str += f'{host} ' service_spec_str = service_spec_str[:-1] error_code, _, err = mgr.remote('volumes', '_cmd_fs_volume_create', None, -- 2.39.5