Skip to content

Commit

Permalink
Merge pull request rook#15131 from travisn/squid-default
Browse files Browse the repository at this point in the history
manifest: Update default ceph version to v19
  • Loading branch information
travisn authored Dec 11, 2024
2 parents 6c4644b + 07d8012 commit fd3d301
Show file tree
Hide file tree
Showing 23 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/canary-integration-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
canary-tests:
uses: ./.github/workflows/canary-integration-test.yml
with:
ceph_images: '["quay.io/ceph/ceph:v18"]'
ceph_images: '["quay.io/ceph/ceph:v19"]'
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/canary-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
ceph_images:
description: "JSON list of Ceph images for creating Ceph cluster"
default: '["quay.io/ceph/ceph:v18"]'
default: '["quay.io/ceph/ceph:v19"]'
type: string

defaults:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-nightly-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -356,5 +356,5 @@ jobs:
if: github.repository == 'rook/rook'
uses: ./.github/workflows/canary-integration-test.yml
with:
ceph_images: '["quay.io/ceph/ceph:v18", "quay.io/ceph-ci/ceph:main", "quay.io/ceph-ci/ceph:reef", "quay.io/ceph-ci/ceph:squid"]'
ceph_images: '["quay.io/ceph/ceph:v18", "quay.io/ceph/ceph:v19", "quay.io/ceph-ci/ceph:main", "quay.io/ceph-ci/ceph:reef", "quay.io/ceph-ci/ceph:squid"]'
secrets: inherit
40 changes: 20 additions & 20 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,26 +207,26 @@ pull_request_rules:
- "check-success=crds-gen"
- "check-success=docs-check"
- "check-success=pylint"
- "check-success=canary-tests / canary (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / raw-disk-with-object (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / two-osds-in-device (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / osd-with-metadata-partition-device (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / osd-with-metadata-device (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / encryption (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / lvm (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / pvc (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / pvc-db (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / pvc-db-wal (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / encryption-pvc (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / encryption-pvc-db (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / encryption-pvc-db-wal (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / encryption-pvc-kms-vault-token-auth (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / encryption-pvc-kms-vault-k8s-auth (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / lvm-pvc (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / multi-cluster-mirroring (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / rgw-multisite-testing (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / encryption-pvc-kms-ibm-kp (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / multus-public-and-cluster (quay.io/ceph/ceph:v18)"
- "check-success=canary-tests / canary (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / raw-disk-with-object (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / two-osds-in-device (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / osd-with-metadata-partition-device (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / osd-with-metadata-device (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / encryption (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / lvm (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / pvc (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / pvc-db (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / pvc-db-wal (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / encryption-pvc (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / encryption-pvc-db (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / encryption-pvc-db-wal (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / encryption-pvc-kms-vault-token-auth (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / encryption-pvc-kms-vault-k8s-auth (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / lvm-pvc (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / multi-cluster-mirroring (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / rgw-multisite-testing (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / encryption-pvc-kms-ibm-kp (quay.io/ceph/ceph:v19)"
- "check-success=canary-tests / multus-public-and-cluster (quay.io/ceph/ceph:v19)"
- "check-success=TestCephSmokeSuite (v1.27.16)"
- "check-success=TestCephSmokeSuite (v1.31.0)"
- "check-success=TestCephHelmSuite (v1.27.16)"
Expand Down
8 changes: 4 additions & 4 deletions Documentation/CRDs/Cluster/ceph-cluster-crd.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Settings can be specified at the global level to apply to the cluster as a whole
* `external`:
* `enable`: if `true`, the cluster will not be managed by Rook but via an external entity. This mode is intended to connect to an existing cluster. In this case, Rook will only consume the external cluster. However, Rook will be able to deploy various daemons in Kubernetes such as object gateways, mds and nfs if an image is provided and will refuse otherwise. If this setting is enabled **all** the other options will be ignored except `cephVersion.image` and `dataDirHostPath`. See [external cluster configuration](external-cluster/external-cluster.md). If `cephVersion.image` is left blank, Rook will refuse the creation of extra CRs like object, file and nfs.
* `cephVersion`: The version information for launching the ceph daemons.
* `image`: The image used for running the ceph daemons. For example, `quay.io/ceph/ceph:v18.2.4`. For more details read the [container images section](#ceph-container-images).
* `image`: The image used for running the ceph daemons. For example, `quay.io/ceph/ceph:v19.2.0`. For more details read the [container images section](#ceph-container-images).
For the latest ceph images, see the [Ceph DockerHub](https://hub.docker.com/r/ceph/ceph/tags/).
To ensure a consistent version of the image is running across all nodes in the cluster, it is recommended to use a very specific image version.
Tags also exist that would give the latest version, but they are only recommended for test environments. For example, the tag `v19` will be updated each time a new Squid build is released.
Expand Down Expand Up @@ -431,7 +431,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
dataDirHostPath: /var/lib/rook
mon:
count: 3
Expand Down Expand Up @@ -538,7 +538,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
dataDirHostPath: /var/lib/rook
mon:
count: 3
Expand Down Expand Up @@ -668,7 +668,7 @@ kubectl -n rook-ceph get CephCluster -o yaml
deviceClasses:
- name: hdd
version:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
version: 16.2.6-0
conditions:
- lastHeartbeatTime: "2021-03-02T21:22:11Z"
Expand Down
6 changes: 3 additions & 3 deletions Documentation/CRDs/Cluster/host-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
spec:
cephVersion:
# see the "Cluster Settings" section below for more details on which image of ceph to run
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
dataDirHostPath: /var/lib/rook
mon:
count: 3
Expand All @@ -49,7 +49,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
dataDirHostPath: /var/lib/rook
mon:
count: 3
Expand Down Expand Up @@ -101,7 +101,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
dataDirHostPath: /var/lib/rook
mon:
count: 3
Expand Down
6 changes: 3 additions & 3 deletions Documentation/CRDs/Cluster/pvc-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
dataDirHostPath: /var/lib/rook
mon:
count: 3
Expand Down Expand Up @@ -72,7 +72,7 @@ spec:
requests:
storage: 10Gi
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
allowUnsupported: false
dashboard:
enabled: true
Expand Down Expand Up @@ -128,7 +128,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
dataDirHostPath: /var/lib/rook
mon:
count: 3
Expand Down
2 changes: 1 addition & 1 deletion Documentation/CRDs/Cluster/stretch-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- name: b
- name: c
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
allowUnsupported: true
# Either storageClassDeviceSets or the storage section can be specified for creating OSDs.
# This example uses all devices for simplicity.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Upgrade/ceph-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ These images are tagged in a few ways:
* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v19.2.0-20240927`).
These tags are recommended for production clusters, as there is no possibility for the cluster to
be heterogeneous with respect to the version of Ceph running in containers.
* Ceph major version tags (e.g., `v18`) are useful for development and test clusters so that the
* Ceph major version tags (e.g., `v19`) are useful for development and test clusters so that the
latest version of Ceph is always available.

**Ceph containers other than the official images from the registry above will not be supported.**
Expand Down
6 changes: 3 additions & 3 deletions deploy/charts/rook-ceph-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ toolbox:
# -- Enable Ceph debugging pod deployment. See [toolbox](../Troubleshooting/ceph-toolbox.md)
enabled: false
# -- Toolbox image, defaults to the image used by the Ceph cluster
image: #quay.io/ceph/ceph:v18.2.4
image: #quay.io/ceph/ceph:v19.2.0
# -- Toolbox tolerations
tolerations: []
# -- Toolbox affinity
Expand Down Expand Up @@ -92,9 +92,9 @@ cephClusterSpec:
# v18 is Reef, v19 is Squid
# RECOMMENDATION: In production, use a specific version tag instead of the general v18 flag, which pulls the latest release and could result in different
# versions running within the cluster. See tags available at https://hub.docker.com/r/ceph/ceph/tags/.
# If you want to be more precise, you can always use a timestamp tag such as quay.io/ceph/ceph:v18.2.4-20240724
# If you want to be more precise, you can always use a timestamp tag such as quay.io/ceph/ceph:v19.2.0-20240927
# This tag might not contain a new Ceph version, just security fixes from the underlying operating system, which will reduce vulnerabilities
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
# Whether to allow unsupported versions of Ceph. Currently Reef and Squid are supported.
# Future versions such as Tentacle (v20) would require this to be set to `true`.
# Do not set to true in production.
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/cluster-external-management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ spec:
dataDirHostPath: /var/lib/rook
# providing an image is required, if you want to create other CRs (rgw, mds, nfs)
cephVersion:
image: quay.io/ceph/ceph:v18.2.4 # Should match external cluster version
image: quay.io/ceph/ceph:v19.2.0 # Should match external cluster version
2 changes: 1 addition & 1 deletion deploy/examples/cluster-multus-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
spec:
dataDirHostPath: /var/lib/rook
cephVersion:
image: quay.io/ceph/ceph:v18
image: quay.io/ceph/ceph:v19
allowUnsupported: true
mon:
count: 1
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/cluster-on-local-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ spec:
requests:
storage: 10Gi
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
allowUnsupported: false
skipUpgradeChecks: false
continueUpgradeAfterChecksEvenIfNotHealthy: false
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/cluster-on-pvc-minikube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ spec:
crashCollector:
disable: false
cephVersion:
image: quay.io/ceph/ceph:v18
image: quay.io/ceph/ceph:v19
allowUnsupported: false
skipUpgradeChecks: false
continueUpgradeAfterChecksEvenIfNotHealthy: false
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/cluster-on-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
requests:
storage: 10Gi
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
allowUnsupported: false
skipUpgradeChecks: false
continueUpgradeAfterChecksEvenIfNotHealthy: false
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/cluster-stretched-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
mgr:
count: 2
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
allowUnsupported: true
skipUpgradeChecks: false
continueUpgradeAfterChecksEvenIfNotHealthy: false
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/cluster-stretched.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
mgr:
count: 2
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
allowUnsupported: true
skipUpgradeChecks: false
continueUpgradeAfterChecksEvenIfNotHealthy: false
Expand Down
4 changes: 2 additions & 2 deletions deploy/examples/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ spec:
# v18 is Reef, v19 is Squid
# RECOMMENDATION: In production, use a specific version tag instead of the general v19 flag, which pulls the latest release and could result in different
# versions running within the cluster. See tags available at https://hub.docker.com/r/ceph/ceph/tags/.
# If you want to be more precise, you can always use a timestamp tag such as quay.io/ceph/ceph:v18.2.4-20240724
# If you want to be more precise, you can always use a timestamp tag such as quay.io/ceph/ceph:v19.2.0-20240927
# This tag might not contain a new Ceph version, just security fixes from the underlying operating system, which will reduce vulnerabilities
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
# Whether to allow unsupported versions of Ceph. Currently Reef and Squid are supported.
# Future versions such as Tentacle (v20) would require this to be set to `true`.
# Do not set to true in production.
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/images.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
docker.io/rook/ceph:master
gcr.io/k8s-staging-sig-storage/objectstorage-sidecar:v20240513-v0.1.0-35-gefb3255
quay.io/ceph/ceph:v18.2.4
quay.io/ceph/ceph:v19.2.0
quay.io/ceph/cosi:v0.1.2
quay.io/cephcsi/cephcsi:v3.13.0
quay.io/csiaddons/k8s-sidecar:v0.11.0
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/toolbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
serviceAccountName: rook-ceph-default
containers:
- name: rook-ceph-tools
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19
command:
- /bin/bash
- -c
Expand Down
2 changes: 1 addition & 1 deletion design/ceph/ceph-cluster-cleanup.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
dataDirHostPath: /var/lib/rook
mon:
count: 3
Expand Down
4 changes: 2 additions & 2 deletions pkg/operator/ceph/cluster/osd/deviceset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ func TestPVCName(t *testing.T) {
}

func TestCreateValidImageVersionLabel(t *testing.T) {
image := "ceph/ceph:v18.2.4"
assert.Equal(t, "ceph_ceph_v18.2.4", createValidImageVersionLabel(image))
image := "ceph/ceph:v19.2.0"
assert.Equal(t, "ceph_ceph_v19.2.0", createValidImageVersionLabel(image))
image = "rook/ceph:master"
assert.Equal(t, "rook_ceph_master", createValidImageVersionLabel(image))
image = ".invalid_label"
Expand Down
2 changes: 1 addition & 1 deletion tests/manifests/test-cluster-on-pvc-encrypted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
requests:
storage: 5Gi
cephVersion:
image: quay.io/ceph/ceph:v18.2.4
image: quay.io/ceph/ceph:v19.2.0
dashboard:
enabled: false
network:
Expand Down

0 comments on commit fd3d301

Please sign in to comment.