summaryrefslogtreecommitdiffstats
path: root/qa/suites/teuthology/multi-cluster/all/upgrade.yaml
blob: 0973fc39081a4aa64108a6de46466881fd162ea4 (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
overrides:
  ceph:
    log-ignorelist:
    - failed to encode map
  conf:
    mon:
      mon warn on legacy crush tunables: false
roles:
- - ceph.mon.a
  - ceph.mon.b
  - ceph.mgr.x
  - backup.osd.0
  - backup.osd.1
  - backup.osd.2
  - backup.client.0
- - backup.mon.a
  - backup.mgr.x
  - ceph.osd.0
  - ceph.osd.1
  - ceph.osd.2
  - ceph.client.0
  - client.1
  - osd.3
tasks:
- install:
    branch: infernalis
- ceph:
    cluster: backup
- ceph:
- workunit:
    clients:
      backup.client.0: [true.sh]
      ceph.client.0: [true.sh]
- install.upgrade:
    ceph.mon.a:
      branch: jewel
    backup.mon.a:
      branch: jewel
- ceph.restart: [ceph.mon.a, ceph.mon.b, ceph.osd.0, ceph.osd.1, ceph.osd.2, osd.3]
- exec:
    ceph.client.0:
    - ceph --version | grep -F 'version 10.'
    client.1:
    - ceph --cluster backup --version | grep -F 'version 10.'
    backup.client.0:
    # cli upgraded
    - ceph --cluster backup --id 0 --version | grep -F 'version 10.'
    - ceph --version | grep -F 'version 10.'
    # backup cluster mon not upgraded
    - ceph --cluster backup --id 0 tell mon.a version | grep -F 'version 9.2.'
    - ceph tell mon.a version | grep -F 'version 10.'