mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
Merge pull request #31312 from changchengx/qa
qa: correct zap disk with ceph-deploy tool Reviewed-by: Alfredo Deza <adeza@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
3b0dd6430a
@ -242,7 +242,7 @@ def build_ceph_cluster(ctx, config):
|
||||
for d in node_dev_list:
|
||||
node = d[0]
|
||||
for disk in d[1:]:
|
||||
zap = './ceph-deploy disk zap ' + node + ':' + disk
|
||||
zap = './ceph-deploy disk zap ' + node + ' ' + disk
|
||||
estatus = execute_ceph_deploy(zap)
|
||||
if estatus != 0:
|
||||
raise RuntimeError("ceph-deploy: Failed to zap osds")
|
||||
|
Loading…
Reference in New Issue
Block a user