blob: fbde19a221e1c44d92cced1994f6b39f98db75a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
teuthology:
premerge: |
local set = yaml.teuthology.variables.fail_fs
local cmd = "ceph config set mgr mgr/orchestrator/fail_fs "..tostring(set)
local cmds = yaml_fragment['upgrade-tasks'].sequential[0]['cephadm.shell']['host.a']
if set then
py_attrgetter(cmds).append "ceph config set mgr mgr/orchestrator/fail_fs true"
else
py_attrgetter(cmds).append "ceph config set mgr mgr/orchestrator/fail_fs false || true"
end
upgrade-tasks:
sequential:
- cephadm.shell:
env: [sha1]
host.a: []
|