no point in recreating one, we have an active one from earlier

Signed-off-by: Thomas Lamprecht <[email protected]>
---
 PVE/API2/Ceph/FS.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Ceph/FS.pm b/PVE/API2/Ceph/FS.pm
index f934bbc1..9915faaa 100644
--- a/PVE/API2/Ceph/FS.pm
+++ b/PVE/API2/Ceph/FS.pm
@@ -191,7 +191,7 @@ __PACKAGE__->register_method ({
                print "Adding '$fs_name' to storage configuration...\n";
 
                my $waittime = 0;
-               while (!PVE::CephTools::is_any_mds_active()) {
+               while (!PVE::CephTools::is_any_mds_active($rados)) {
                    if ($waittime >= 10) {
                        die "Need MDS to add storage, but none got active!\n";
                    }
-- 
2.19.1


_______________________________________________
pve-devel mailing list
[email protected]
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to