]>
Commit | Line | Data |
---|---|---|
a4b75251 TL |
1 | tasks: |
2 | - parallel: | |
3 | - upgrade-tasks | |
4 | - workload-tasks | |
5 | ||
6 | upgrade-tasks: | |
7 | sequential: | |
8 | - cephadm.shell: | |
9 | env: [sha1] | |
10 | host.a: | |
11 | - ceph config set mon mon_warn_on_insecure_global_id_reclaim false --force | |
12 | - ceph config set mon mon_warn_on_insecure_global_id_reclaim_allowed false --force | |
13 | - ceph config set global log_to_journald false --force | |
14 | - ceph mgr module enable nfs --force | |
15 | - ceph orch upgrade start --image quay.ceph.io/ceph-ci/ceph:$sha1 | |
16 | - cephadm.shell: | |
17 | env: [sha1] | |
18 | host.a: | |
19 | - while ceph orch upgrade status | jq '.in_progress' | grep true ; do ceph orch ps ; ceph versions ; sleep 30 ; done | |
20 | - ceph orch ps | |
21 | - ceph versions | |
22 | - echo "wait for servicemap items w/ changing names to refresh" | |
23 | - sleep 60 | |
24 | - ceph orch ps | |
25 | - ceph versions | |
26 | - ceph versions | jq -e '.overall | length == 1' | |
27 | - ceph versions | jq -e '.overall | keys' | grep $sha1 | |
28 | ||
29 | # this should be a no-op, but confirms nfs.ganesha-foo was remapped to nfs.foo | |
30 | - cephadm.wait_for_service: | |
31 | service: nfs.foo | |
32 | ||
33 | workload-tasks: | |
34 | sequential: | |
35 | - exec: | |
36 | host.a: | |
37 | - cd /mnt/foo && dbench 5 -t 600 || true # might fail with ESTALE | |
38 | # make sure mount works | |
39 | - umount /mnt/foo | |
40 | - while ! mount -t nfs $(hostname):/fake /mnt/foo ; do sleep 5 ; done | |
41 | - cd /mnt/foo && dbench 5 -t 5 |