Skip to content

Commit

Permalink
Merge PR ceph#57991 into main
Browse files Browse the repository at this point in the history
* refs/pull/57991/head:
	qa: upgrade sub-suite upgraded_client from from n-1|n-2 releases
	qa: upgrade sub-suite nofs from n-1 and n-2 releases
	qa: use supported releases for featureful_client

Reviewed-by: Leonid Usov <[email protected]>
  • Loading branch information
vshankar committed Jun 17, 2024
2 parents 8867303 + 7658965 commit baf11d7
Show file tree
Hide file tree
Showing 27 changed files with 274 additions and 56 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
meta:
- desc: |
install ceph/pacific latest
install ceph/reef latest
tasks:
- install:
branch: pacific
branch: reef
exclude_packages:
- librados3
- ceph-mgr-dashboard
Expand All @@ -13,7 +13,7 @@ tasks:
- cephadm
- ceph-volume
extra_packages: ['librados2']
- print: "**** done installing pacific"
- print: "**** done installing reef"
- ceph:
log-ignorelist:
- overall HEALTH_
Expand All @@ -35,5 +35,5 @@ tasks:
ms bind msgr2: false
- exec:
osd.0:
- ceph osd set-require-min-compat-client pacific
- ceph osd set-require-min-compat-client reef
- print: "**** done ceph"
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
meta:
- desc: |
install ceph/octopus latest
install ceph/squid latest
tasks:
- install:
branch: octopus
branch: squid
exclude_packages:
- librados3
- ceph-mgr-dashboard
Expand All @@ -13,7 +13,7 @@ tasks:
- cephadm
- ceph-volume
extra_packages: ['librados2']
- print: "**** done installing octopus"
- print: "**** done installing squid"
- ceph:
log-ignorelist:
- overall HEALTH_
Expand All @@ -35,5 +35,5 @@ tasks:
ms bind msgr2: false
- exec:
osd.0:
- ceph osd set-require-min-compat-client octopus
- ceph osd set-require-min-compat-client squid
- print: "**** done ceph"
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
tasks:
- ceph-fuse:
- print: "**** done octopus client"
client.0:
client_feature_range: "[0-13],[15-21]"
client.1:
client_feature_range: "[0-13],[15-21]"
- print: "**** done client"
- workunit:
clients:
all:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ tasks:
- install.upgrade:
# upgrade the single cluster node, which is running all the mon/mds/osd/mgr daemons
mon.a:
branch: quincy
- print: "**** done install.upgrade the host"
- ceph.restart:
daemons: [mon.*, mgr.*]
Expand All @@ -42,7 +41,7 @@ tasks:
mon.a:
- ceph osd dump -f json-pretty
- ceph versions
- ceph osd require-osd-release quincy
- ceph osd require-osd-release squid
- for f in `ceph osd pool ls` ; do ceph osd pool set $f pg_autoscale_mode off ; done
- ceph.healthy:
- print: "**** done ceph.restart"

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
meta:
- desc: |
install ceph/octopus latest
install ceph/reef latest
tasks:
- install:
branch: octopus
branch: reef
exclude_packages:
- librados3
- ceph-mgr-dashboard
Expand All @@ -13,7 +13,7 @@ tasks:
- cephadm
- ceph-volume
extra_packages: ['librados2']
- print: "**** done installing octopus"
- print: "**** done installing reef"
- ceph:
log-ignorelist:
- overall HEALTH_
Expand All @@ -35,5 +35,5 @@ tasks:
ms bind msgr2: false
- exec:
osd.0:
- ceph osd set-require-min-compat-client octopus
- ceph osd set-require-min-compat-client reef
- print: "**** done ceph"
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
meta:
- desc: |
install ceph/squid latest
tasks:
- install:
branch: squid
exclude_packages:
- librados3
- ceph-mgr-dashboard
- ceph-mgr-diskprediction-local
- ceph-mgr-rook
- ceph-mgr-cephadm
- cephadm
- ceph-volume
extra_packages: ['librados2']
- print: "**** done installing squid"
- ceph:
log-ignorelist:
- overall HEALTH_
- \(FS_
- \(MDS_
- \(OSD_
- \(MON_DOWN\)
- \(CACHE_POOL_
- \(POOL_
- \(MGR_DOWN\)
- \(PG_
- \(SMALLER_PGP_NUM\)
- Monitor daemon marked osd
- Behind on trimming
- Manager daemon
conf:
global:
mon warn on pool no app: false
ms bind msgr2: false
- exec:
osd.0:
- ceph osd set-require-min-compat-client squid
- print: "**** done ceph"
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ overrides:
nuke-on-error: false
tasks:
- ceph-fuse:
- print: "**** done octopus client"
#- workunit:
# clients:
# all:
# - suites/fsstress.sh
client.1:
client_feature_range: "[0-13],[15-21]"
- print: "**** done client"
- workunit:
clients:
all:
- suites/fsstress.sh
- print: "**** done fsstress"
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ tasks:
- install.upgrade:
# upgrade the single cluster node, which is running all the mon/mds/osd/mgr daemons
mon.a:
branch: quincy
- print: "**** done install.upgrade the host"
- ceph.restart:
daemons: [mon.*, mgr.*]
Expand All @@ -42,7 +41,7 @@ tasks:
mon.a:
- ceph versions
- ceph osd dump -f json-pretty
- ceph osd require-osd-release quincy
- ceph osd require-osd-release squid
- for f in `ceph osd pool ls` ; do ceph osd pool set $f pg_autoscale_mode off ; done
- ceph.healthy:
- print: "**** done ceph.restart"
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
tasks:
- install.upgrade:
client.0:
branch: quincy
- print: "**** done install.upgrade on client.0"
- ceph-fuse:
client.0:
Expand Down
1 change: 0 additions & 1 deletion qa/suites/fs/upgrade/nofs/centos_8.stream.yaml

This file was deleted.

1 change: 1 addition & 0 deletions qa/suites/fs/upgrade/nofs/centos_9.stream.yaml
39 changes: 39 additions & 0 deletions qa/suites/fs/upgrade/nofs/tasks/0-from/reef.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
meta:
- desc: |
install ceph/reef latest
tasks:
- install:
branch: reef
exclude_packages:
- librados3
- ceph-mgr-dashboard
- ceph-mgr-diskprediction-local
- ceph-mgr-rook
- ceph-mgr-cephadm
- cephadm
- ceph-volume
extra_packages: ['librados2']
- print: "**** done installing reef"
- ceph:
log-ignorelist:
- overall HEALTH_
- \(FS_
- \(MDS_
- \(OSD_
- \(MON_DOWN\)
- \(CACHE_POOL_
- \(POOL_
- \(MGR_DOWN\)
- \(PG_
- \(SMALLER_PGP_NUM\)
- Monitor daemon marked osd
- Behind on trimming
- Manager daemon
conf:
global:
mon warn on pool no app: false
ms bind msgr2: false
- exec:
osd.0:
- ceph osd set-require-min-compat-client reef
- print: "**** done ceph"
39 changes: 39 additions & 0 deletions qa/suites/fs/upgrade/nofs/tasks/0-from/squid.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
meta:
- desc: |
install ceph/squid latest
tasks:
- install:
branch: squid
exclude_packages:
- librados3
- ceph-mgr-dashboard
- ceph-mgr-diskprediction-local
- ceph-mgr-rook
- ceph-mgr-cephadm
- cephadm
- ceph-volume
extra_packages: ['librados2']
- print: "**** done installing squid"
- ceph:
log-ignorelist:
- overall HEALTH_
- \(FS_
- \(MDS_
- \(OSD_
- \(MON_DOWN\)
- \(CACHE_POOL_
- \(POOL_
- \(MGR_DOWN\)
- \(PG_
- \(SMALLER_PGP_NUM\)
- Monitor daemon marked osd
- Behind on trimming
- Manager daemon
conf:
global:
mon warn on pool no app: false
ms bind msgr2: false
- exec:
osd.0:
- ceph osd set-require-min-compat-client squid
- print: "**** done ceph"
3 changes: 1 addition & 2 deletions qa/suites/fs/upgrade/nofs/tasks/1-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ tasks:
- ceph fs dump
- install.upgrade:
mon.a:
branch: reef
- print: "**** done install.upgrade"
- ceph.restart:
daemons: [mon.*, mgr.*]
Expand All @@ -39,7 +38,7 @@ tasks:
- ceph versions
- ceph osd dump -f json-pretty
- ceph fs dump
- ceph osd require-osd-release quincy
- ceph osd require-osd-release squid
- for f in `ceph osd pool ls` ; do ceph osd pool set $f pg_autoscale_mode off ; done
- ceph.healthy:
- print: "**** done ceph.restart"
2 changes: 0 additions & 2 deletions qa/suites/fs/upgrade/upgraded_client/branch/nautilus.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions qa/suites/fs/upgrade/upgraded_client/branch/pacific.yaml

This file was deleted.

1 change: 0 additions & 1 deletion qa/suites/fs/upgrade/upgraded_client/centos_8.stream.yaml

This file was deleted.

1 change: 1 addition & 0 deletions qa/suites/fs/upgrade/upgraded_client/centos_9.stream.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
teuthology:
premerge: |
local branch = yaml.teuthology.branch
yaml_fragment['tasks'][0]['install']['branch'] = tostring(branch)
print_branch = "**** done installing "..tostring(branch)
yaml_fragment['tasks'][1]['print'] = print_branch
local exec = yaml_fragment['tasks'][3]['exec']['osd.0']
local set_compat = "ceph osd set-require-min-compat-client "..tostring(branch)
py_attrgetter(exec).append(set_compat)
meta:
- desc: |
install ceph/quincy latest
tasks:
- install:
branch: []
branch: quincy
exclude_packages:
- cephadm
- ceph-mgr-cephadm
Expand All @@ -33,7 +27,7 @@ tasks:
- NetworkManager
- iproute
- util-linux
- print: []
- print: "**** done installing quincy"
- ceph:
log-ignorelist:
- overall HEALTH_
Expand All @@ -54,5 +48,6 @@ tasks:
mon warn on pool no app: false
ms bind msgr2: false
- exec:
osd.0: []
osd.0:
- ceph osd set-require-min-compat-client quincy
- print: "**** done ceph"
Loading

0 comments on commit baf11d7

Please sign in to comment.