And replace infernalis with jewel where relevant.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
- exec:
mon.a:
- ceph osd down 0 1 2
-- ceph.restart: [osd.0, osd.1, osd.2]
+- ceph.restart:
+ daemons: [osd.0, osd.1, osd.2]
+ wait-for-healthy: false
+ wait-for-osds-up: false
- sleep:
duration: 10
+++ /dev/null
-../../../../releases/infernalis.yaml
\ No newline at end of file
--- /dev/null
+../../../../releases/jewel.yaml
\ No newline at end of file
upgrade-sequence:
sequential:
- - ceph.restart: [mon.a, mon.b, mon.c, mds.a, osd.0, osd.1, osd.2, osd.3]
- - print: "**** done ceph.restart all"
+ - ceph.restart:
+ daemons: [mon.a, mon.b, mon.c, mds.a, osd.0, osd.1, osd.2, osd.3]
+ wait-for-healthy: false
+ wait-for-osds-up: true
+ - print: "**** done ceph.restart do not wait for healthy"
+ - exec:
+ mon.a:
+ - ceph osd set require_jewel_osds
+ - ceph.healthy:
+ - print: "**** done ceph.healthy"
duration: 60
- ceph.restart:
daemons: [osd.2, osd.3]
- wait-for-healthy: true
+ wait-for-healthy: false
+ - exec:
+ osd.0:
+ - ceph osd set require_jewel_osds
+ - ceph.healthy:
- sleep:
duration: 60
+++ /dev/null
-../../../../releases/infernalis.yaml
\ No newline at end of file
--- /dev/null
+../../../../releases/jewel.yaml
\ No newline at end of file
- print: "*** Upgrade the target that runs osd.0 and osd.1 to -x while the target that runs osd.2 stays v0.94.3"
- install.upgrade:
osd.0:
-
- print: "*** Restart the mon.a so that it is post-hammer v0.94.4 and implements the CEPH_FEATURE_HAMMER_0_94_4 feature"
- ceph.restart:
daemons: [mon.a]
-
- print: "*** Verify that osd.0 cannot restart because osd.1 and osd.2 are still < v0.94.4"
- ceph.restart:
daemons: [osd.0]
osd.2:
- ceph.restart:
daemons: [osd.2]
+ wait-for-healthy: false
+- exec:
+ mon.a:
+ - ceph osd set require_jewel_osds
+- ceph.healthy: