Skip to content

Commit

Permalink
Merge pull request ceph#53191 from rzarzynski/wip-all-kickoff-s-2
Browse files Browse the repository at this point in the history
kickoff v19 squid
  • Loading branch information
ljflores authored Dec 22, 2023
2 parents bea75f9 + 66e9815 commit 0a2572c
Show file tree
Hide file tree
Showing 80 changed files with 294 additions and 661 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.16)

project(ceph
VERSION 18.0.0
VERSION 19.0.0
LANGUAGES CXX C ASM)

foreach(policy CMP0127 CMP0135)
Expand Down
30 changes: 18 additions & 12 deletions doc/dev/release-checklists.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Versions and tags
- [x] Update CMakeLists.txt VERSION (right at the top to X.0.0)
- [x] Update src/librbd/CMakeLists.txt VERSION (librbd target at the bottom to 1.X.0)
- [x] Update src/ceph_release with the new release name, number, and type ('dev')
- [x] Initial tag vX.0.0 (so that we can distinguish from (and sort
- [ ] Initial tag vX.0.0 (so that we can distinguish from (and sort
after) the backported (X-1).2.Z versions.

### Notes on tagging
Expand Down Expand Up @@ -56,9 +56,9 @@ Misc
Docs
~~~~

- [x] Remove ``doc/releases/*.rst``. This should leave behind ``doc/releases/releases.yml`` which is used for doc building purposes.
- [x] Cherry-pick 8cf9ad62949516666ad0f2c0bb7726ef68e4d666 ("doc: add releases links to toc"). There will be trivial conflicts.
- [x] Add redirect for new major release at `RTD <https://readthedocs.org/dashboard/ceph/redirects/>`_.
- [ ] Remove ``doc/releases/*.rst``. This should leave behind ``doc/releases/releases.yml`` which is used for doc building purposes.
- [ ] Cherry-pick 8cf9ad62949516666ad0f2c0bb7726ef68e4d666 ("doc: add releases links to toc"). There will be trivial conflicts.
- [ ] Add redirect for new major release at `RTD <https://readthedocs.org/dashboard/ceph/redirects/>`_.

Feature bits
------------
Expand Down Expand Up @@ -92,6 +92,10 @@ Mon
- [x] mon/MonCommands.h: adjust "osd require-osd-release" allows options to include X
- [x] qa/workunits/cephtool/test.sh: adjust `require-osd-release` test

OSDMap
------

- [x] src/osd/OSDMap.cc add release name mapping for `SERVER_X` in `pending_require_osd_release()`

Code cleanup
------------
Expand All @@ -105,6 +109,8 @@ Code cleanup
QA suite
--------

- [x] create qa/workunits/test_telemetry_(X-1).sh
- [x] create qa/workunits/test_telemetry_(X-1)_x.sh
- [x] create qa/suites/upgrade/(X-1)-x
- [x] remove qa/suites/upgrade/(X-3)-x-*
- [x] create qa/releases/X.yaml
Expand All @@ -125,21 +131,21 @@ ceph-container
--------------
In the `ceph/ceph-container.git` repo:

- [ ] Add the release name to `Makefile`
- [ ] Update `ceph-releases/ALL/centos/daemon-base/__DOCKERFILE_INSTALL__` with the with the supported nfs-ganesha version
- [ ] Update `contrib/build-push-ceph-container-imgs.sh` with the new release
- [ ] Update `contrib/ceph-build-config.sh` with the release name
- [ ] Update `contrib/common.sh` with supported version numbers
- [ ] Update `maint-lib/ceph_version.sh` with the release name
- [x] Add the release name to `Makefile`
- [x] Update `ceph-releases/ALL/centos/daemon-base/__DOCKERFILE_INSTALL__` with the with the supported nfs-ganesha version
- [x] Update `contrib/build-push-ceph-container-imgs.sh` with the new release
- [x] Update `contrib/ceph-build-config.sh` with the release name
- [x] Update `contrib/common.sh` with supported version numbers
- [x] Update `maint-lib/ceph_version.sh` with the release name

See https://github.com/ceph/ceph-container/pull/2109 as an example for what to do.


After dev freeze
================

- [x] add release name to redmine (using https://tracker.ceph.com/custom_fields/16/edit)
- [x] add release name to .github/milestone.yml for github actions to automatically add milestone to backports (this commit must be backported to the release branch)
- [ ] add release name to redmine (using https://tracker.ceph.com/custom_fields/16/edit)
- [ ] add release name to .github/milestone.yml for github actions to automatically add milestone to backports (this commit must be backported to the release branch)

First release candidate
=======================
Expand Down
6 changes: 6 additions & 0 deletions qa/releases/squid.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tasks:
- exec:
osd.0:
- ceph osd require-osd-release squid
- ceph osd set-require-min-compat-client squid
- ceph.healthy:
14 changes: 10 additions & 4 deletions qa/standalone/mon/misc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function TEST_mon_features() {
CEPH_ARGS="--fsid=$fsid --auth-supported=none "
CEPH_ARGS+="--mon-host=$MONA,$MONB,$MONC "
CEPH_ARGS+="--mon-debug-no-initial-persistent-features "
CEPH_ARGS+="--mon-debug-no-require-reef "
CEPH_ARGS+="--mon-debug-no-require-squid "

run_mon $dir a --public-addr $MONA || return 1
run_mon $dir b --public-addr $MONB || return 1
Expand All @@ -183,7 +183,7 @@ function TEST_mon_features() {
# quorum contains two monitors
jq_success "$jqinput" '.quorum | length == 2' || return 1
# quorum's monitor features contain kraken, luminous, mimic, nautilus,
# octopus, pacific, quincy
# octopus, pacific, quincy, reef
jqfilter='.features.quorum_mon[]|select(. == "kraken")'
jq_success "$jqinput" "$jqfilter" "kraken" || return 1
jqfilter='.features.quorum_mon[]|select(. == "luminous")'
Expand All @@ -200,6 +200,8 @@ function TEST_mon_features() {
jq_success "$jqinput" "$jqfilter" "quincy" || return 1
jqfilter='.features.quorum_mon[]|select(. == "reef")'
jq_success "$jqinput" "$jqfilter" "reef" || return 1
jqfilter='.features.quorum_mon[]|select(. == "squid")'
jq_success "$jqinput" "$jqfilter" "squid" || return 1

# monmap must have no persistent features set, because we
# don't currently have a quorum made out of all the monitors
Expand All @@ -214,7 +216,7 @@ function TEST_mon_features() {
# validate 'mon feature ls'

jqinput="$(ceph mon feature ls --format=json 2>/dev/null)"
# k l m n o p q are supported
# k l m n o p q r are supported
jqfilter='.all.supported[] | select(. == "kraken")'
jq_success "$jqinput" "$jqfilter" "kraken" || return 1
jqfilter='.all.supported[] | select(. == "luminous")'
Expand All @@ -231,6 +233,8 @@ function TEST_mon_features() {
jq_success "$jqinput" "$jqfilter" "quincy" || return 1
jqfilter='.all.supported[] | select(. == "reef")'
jq_success "$jqinput" "$jqfilter" "reef" || return 1
jqfilter='.all.supported[] | select(. == "squid")'
jq_success "$jqinput" "$jqfilter" "squid" || return 1

# start third monitor
run_mon $dir c --public-addr $MONC || return 1
Expand Down Expand Up @@ -265,12 +269,14 @@ function TEST_mon_features() {
jq_success "$jqinput" "$jqfilter" "pacific" || return 1
jqfilter='.monmap.features.persistent[]|select(. == "elector-pinging")'
jq_success "$jqinput" "$jqfilter" "elector-pinging" || return 1
jqfilter='.monmap.features.persistent | length == 10'
jqfilter='.monmap.features.persistent | length == 11'
jq_success "$jqinput" "$jqfilter" || return 1
jqfilter='.monmap.features.persistent[]|select(. == "quincy")'
jq_success "$jqinput" "$jqfilter" "quincy" || return 1
jqfilter='.monmap.features.persistent[]|select(. == "reef")'
jq_success "$jqinput" "$jqfilter" "reef" || return 1
jqfilter='.monmap.features.persistent[]|select(. == "squid")'
jq_success "$jqinput" "$jqfilter" "squid" || return 1

CEPH_ARGS=$CEPH_ARGS_orig
# that's all folks. thank you for tuning in.
Expand Down
35 changes: 35 additions & 0 deletions qa/suites/rados/thrash-old-clients/1-install/reef.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
overrides:
ceph:
log-ignorelist:
- \(MON_DOWN\)
tasks:
- install:
branch: reef
exclude_packages:
- ceph-mgr-dashboard
- ceph-mgr-diskprediction-local
- ceph-mgr-rook
- ceph-mgr-cephadm
- ceph-base-debuginfo
- ceph-common-debuginfo
- ceph-immutable-object-cache-debuginfo
- ceph-radosgw-debuginfo
- ceph-test-debuginfo
- ceph-base-debuginfo
- ceph-mgr-debuginfo
- ceph-mds-debuginfo
- ceph-mon-debuginfo
- ceph-osd-debuginfo
- ceph-fuse-debuginfo
- librados-devel-debuginfo
- libcephfs2-debuginfo
- librados2-debuginfo
- librbd1-debuginfo
- python3-cephfs-debuginfo
- python3-rados-debuginfo
- python3-rbd-debuginfo
- python3-rgw-debuginfo
- rbd-fuse-debuginfo
- rbd-mirror-debuginfo
- rbd-nbd-debuginfo
- ceph-volume
2 changes: 1 addition & 1 deletion qa/suites/rados/upgrade/parallel
1 change: 0 additions & 1 deletion qa/suites/upgrade/pacific-x/.qa

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion qa/suites/upgrade/pacific-x/parallel/.qa

This file was deleted.

1 change: 0 additions & 1 deletion qa/suites/upgrade/pacific-x/parallel/0-random-distro$

This file was deleted.

33 changes: 0 additions & 33 deletions qa/suites/upgrade/pacific-x/parallel/0-start.yaml

This file was deleted.

43 changes: 0 additions & 43 deletions qa/suites/upgrade/pacific-x/parallel/1-tasks.yaml

This file was deleted.

1 change: 0 additions & 1 deletion qa/suites/upgrade/pacific-x/parallel/mon_election

This file was deleted.

16 changes: 0 additions & 16 deletions qa/suites/upgrade/pacific-x/parallel/upgrade-sequence.yaml

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion qa/suites/upgrade/pacific-x/parallel/workload/.qa

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions qa/suites/upgrade/pacific-x/parallel/workload/rados_api.yaml

This file was deleted.

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions qa/suites/upgrade/pacific-x/parallel/workload/test_rbd_api.yaml

This file was deleted.

Loading

0 comments on commit 0a2572c

Please sign in to comment.