summaryrefslogtreecommitdiffstats
path: root/qa/suites/upgrade/telemetry-upgrade/pacific-x/1-tasks.yaml
blob: 28b9eb29fc95afc398c40ee45cb341e70518e0a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
tasks:
- install:
    branch: pacific
    exclude_packages:
      - ceph-volume
- print: "**** done install task..."
- print: "**** done start installing pacific cephadm ..."
- cephadm:
    image: quay.io/ceph/daemon-base:latest-pacific
    cephadm_branch: pacific
    cephadm_git_url: https://github.com/ceph/ceph
    conf:
      osd:
        #set config option for which cls modules are allowed to be loaded / used
        osd_class_load_list: "*"
        osd_class_default_list: "*"
- print: "**** done end installing pacific cephadm ..."

- print: "**** done start cephadm.shell ceph config set mgr..."
- cephadm.shell:
    mon.a:
      - ceph config set mgr mgr/cephadm/use_repo_digest true --force
- print: "**** done cephadm.shell ceph config set mgr..."


- print: "**** done start telemetry pacific..."
- workunit:
    clients:
      client.0:
        - test_telemetry_pacific.sh
- print: "**** done end telemetry pacific..."

- print: "**** done start upgrade sequence..."
- sequential:
    - print: "**** done start upgrade..."
    - cephadm.shell:
        env: [sha1]
        mon.a:
            - ceph config set global log_to_journald false --force
            - ceph orch upgrade start --image quay.ceph.io/ceph-ci/ceph:$sha1
            - while ceph orch upgrade status | jq '.in_progress' | grep true ; do ceph orch ps ; ceph versions ; sleep 30 ; done
            - ceph orch ps
            - ceph versions
            - ceph versions | jq -e '.overall | length == 1'
            - ceph versions | jq -e '.overall | keys' | grep $sha1
    - print: "**** done end upgrade..."

    - print: "**** done start telemetry x..."
    - workunit:
        clients:
          client.0:
            - test_telemetry_pacific_x.sh
    - print: "**** done end telemetry x..."
- print: "**** done end upgrade sequence..."