diff --git a/srv/salt/ceph/functests/1node/replace/delay.sls b/srv/salt/ceph/functests/1node/replace/delay.sls index dc7470943..ed860909f 100644 --- a/srv/salt/ceph/functests/1node/replace/delay.sls +++ b/srv/salt/ceph/functests/1node/replace/delay.sls @@ -10,28 +10,34 @@ Update Destroyed: Disengage {{ label }}: salt.runner: - name: disengage.safety + - failhard: True keyword arguments: salt.runner: - name: replace.osd - arg: - 0 - - delay: 1 - - timeout: 1 + - kwarg: + delay: 1 + timeout: 1 + - failhard: True Check OSDs {{ label }}: salt.state: - tgt: {{ salt['pillar.get']('master_minion') }} - sls: ceph.tests.replace.check_0 + - failhard: True Restore OSDs {{ label }}: salt.state: - tgt: I@roles:storage - sls: ceph.tests.replace.restore_osds - tgt_type: compound + - failhard: True Wait for Ceph {{ label }}: salt.state: - tgt: {{ salt['pillar.get']('master_minion') }} - sls: ceph.wait.until.OK + - failhard: True diff --git a/srv/salt/ceph/functests/1node/replace/force.sls b/srv/salt/ceph/functests/1node/replace/force.sls index 7d3b90fc5..6b1ae03e3 100644 --- a/srv/salt/ceph/functests/1node/replace/force.sls +++ b/srv/salt/ceph/functests/1node/replace/force.sls @@ -10,27 +10,33 @@ Update Destroyed {{ label }}: Disengage {{ label }}: salt.runner: - name: disengage.safety + - failhard: True forced removal: salt.runner: - name: replace.osd - arg: - 0 - - force: True + - kwarg: + force: True + - failhard: True Check OSDs {{ label }}: salt.state: - tgt: {{ salt['pillar.get']('master_minion') }} - sls: ceph.tests.replace.check_0 + - failhard: True Restore OSDs {{ label }}: salt.state: - tgt: I@roles:storage - sls: ceph.tests.replace.restore_osds - tgt_type: compound + - failhard: True Wait for Ceph {{ label }}: salt.state: - tgt: {{ salt['pillar.get']('master_minion') }} - sls: ceph.wait.until.OK + - failhard: True diff --git a/srv/salt/ceph/functests/1node/replace/multiple.sls b/srv/salt/ceph/functests/1node/replace/multiple.sls index 3b0e6ad9b..ba9c0bd92 100644 --- a/srv/salt/ceph/functests/1node/replace/multiple.sls +++ b/srv/salt/ceph/functests/1node/replace/multiple.sls @@ -16,6 +16,7 @@ Update Destroyed for 1: Disengage {{ label }}: salt.runner: - name: disengage.safety + - failhard: True Multiple arguments: salt.runner: @@ -23,20 +24,24 @@ Multiple arguments: - arg: - 0 - 1 + - failhard: True Check OSDs {{ label }}: salt.state: - tgt: {{ salt['pillar.get']('master_minion') }} - sls: ceph.tests.replace.check_absent + - failhard: True Restore OSDs {{ label }}: salt.state: - tgt: 'I@roles:storage' - sls: ceph.tests.replace.restore_osds - tgt_type: compound + - failhard: True Wait for Ceph {{ label }}: salt.state: - tgt: {{ salt['pillar.get']('master_minion') }} - sls: ceph.wait.until.OK + - failhard: True