diff --git a/.github/workflows/rgw-multisite-test/action.yml b/.github/workflows/rgw-multisite-test/action.yml index ca37c24f7..764fd8b04 100644 --- a/.github/workflows/rgw-multisite-test/action.yml +++ b/.github/workflows/rgw-multisite-test/action.yml @@ -5,7 +5,7 @@ inputs: description: GITHUB_TOKEN from the calling workflow required: true ceph-image: - description: Ceph image to use for the workflow (e.g., quay.io/ceph/ceph:v16.2.7) + description: Ceph image to use for the workflow (e.g., quay.io/ceph/ceph:v16.2.9) required: false runs: diff --git a/Documentation/CRDs/ceph-cluster-crd.md b/Documentation/CRDs/ceph-cluster-crd.md index 0db70b279..139537774 100755 --- a/Documentation/CRDs/ceph-cluster-crd.md +++ b/Documentation/CRDs/ceph-cluster-crd.md @@ -29,7 +29,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:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -55,7 +55,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:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -124,7 +124,7 @@ spec: - name: c cephVersion: # Stretch cluster is supported in Ceph Pacific or newer. - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 allowUnsupported: true # Either storageClassDeviceSets or the storage section can be specified for creating OSDs. # This example uses all devices for simplicity. @@ -162,7 +162,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). 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:v15.2.12` or `v16.2.7`. 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:v15.2.12` or `v16.2.9`. 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 `v15` will be updated each time a new Octopus build is released. @@ -733,8 +733,8 @@ kubectl -n rook-ceph get CephCluster -o yaml deviceClasses: - name: hdd version: - image: quay.io/ceph/ceph:v16.2.7 - version: 16.2.6-0 + image: quay.io/ceph/ceph:v16.2.9 + version: 16.2.8-0 conditions: - lastHeartbeatTime: "2021-03-02T21:22:11Z" lastTransitionTime: "2021-03-02T21:21:09Z" @@ -797,7 +797,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -829,7 +829,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -869,7 +869,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -917,7 +917,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -1019,7 +1019,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -1065,7 +1065,7 @@ spec: requests: storage: 10Gi cephVersion: - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 allowUnsupported: false dashboard: enabled: true @@ -1453,7 +1453,7 @@ spec: enable: true dataDirHostPath: /var/lib/rook cephVersion: - image: quay.io/ceph/ceph:v16.2.7 # Should match external cluster version + image: quay.io/ceph/ceph:v16.2.9 # Should match external cluster version ``` ## Deleting a CephCluster diff --git a/Documentation/Upgrade/ceph-upgrade.md b/Documentation/Upgrade/ceph-upgrade.md index 5600a1f63..1d392e568 100644 --- a/Documentation/Upgrade/ceph-upgrade.md +++ b/Documentation/Upgrade/ceph-upgrade.md @@ -64,7 +64,7 @@ Official Ceph container images can be found on [Quay](https://quay.io/repository These images are tagged in a few ways: -* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v16.2.7-20220216`). +* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v16.2.9-20220519`). 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., `v16`) are useful for development and test clusters so that the @@ -81,7 +81,7 @@ in the cluster CRD (`spec.cephVersion.image`). ```console ROOK_CLUSTER_NAMESPACE=rook-ceph -NEW_CEPH_IMAGE='quay.io/ceph/ceph:v16.2.7-20220216' +NEW_CEPH_IMAGE='quay.io/ceph/ceph:v16.2.9-20220519' kubectl -n $ROOK_CLUSTER_NAMESPACE patch CephCluster $ROOK_CLUSTER_NAMESPACE --type=merge -p "{\"spec\": {\"cephVersion\": {\"image\": \"$NEW_CEPH_IMAGE\"}}}" ``` @@ -100,9 +100,9 @@ Confirm the upgrade is completed when the versions are all on the desired Ceph v kubectl -n $ROOK_CLUSTER_NAMESPACE get deployment -l rook_cluster=$ROOK_CLUSTER_NAMESPACE -o jsonpath='{range .items[*]}{"ceph-version="}{.metadata.labels.ceph-version}{"\n"}{end}' | sort | uniq This cluster is not yet finished: ceph-version=15.2.13-0 - ceph-version=16.2.6-0 + ceph-version=16.2.9-0 This cluster is finished: - ceph-version=16.2.6-0 + ceph-version=16.2.9-0 ``` #### **3. Verify cluster health** diff --git a/deploy/charts/rook-ceph-cluster/values.yaml b/deploy/charts/rook-ceph-cluster/values.yaml index 378257509..c902d8d4f 100644 --- a/deploy/charts/rook-ceph-cluster/values.yaml +++ b/deploy/charts/rook-ceph-cluster/values.yaml @@ -65,7 +65,7 @@ cephClusterSpec: # 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 quay.io/ceph/ceph:v15.2.11-20200419 # 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:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 # Whether to allow unsupported versions of Ceph. Currently `octopus` and `pacific` are supported. # Future versions such as `pacific` would require this to be set to `true`. # Do not set to true in production. diff --git a/deploy/examples/cluster-external-management.yaml b/deploy/examples/cluster-external-management.yaml index 341ad9eff..b72cae55c 100644 --- a/deploy/examples/cluster-external-management.yaml +++ b/deploy/examples/cluster-external-management.yaml @@ -19,4 +19,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:v16.2.7 # Should match external cluster version + image: quay.io/ceph/ceph:v16.2.9 # Should match external cluster version diff --git a/deploy/examples/cluster-on-local-pvc.yaml b/deploy/examples/cluster-on-local-pvc.yaml index 39aaf3fd4..1104530c6 100644 --- a/deploy/examples/cluster-on-local-pvc.yaml +++ b/deploy/examples/cluster-on-local-pvc.yaml @@ -173,7 +173,7 @@ spec: requests: storage: 10Gi cephVersion: - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 allowUnsupported: false skipUpgradeChecks: false continueUpgradeAfterChecksEvenIfNotHealthy: false diff --git a/deploy/examples/cluster-on-pvc.yaml b/deploy/examples/cluster-on-pvc.yaml index 37d2020d5..c82364e96 100644 --- a/deploy/examples/cluster-on-pvc.yaml +++ b/deploy/examples/cluster-on-pvc.yaml @@ -33,7 +33,7 @@ spec: requests: storage: 10Gi cephVersion: - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 allowUnsupported: false skipUpgradeChecks: false continueUpgradeAfterChecksEvenIfNotHealthy: false diff --git a/deploy/examples/cluster-stretched-aws.yaml b/deploy/examples/cluster-stretched-aws.yaml index 906d5ed33..2eed7b107 100644 --- a/deploy/examples/cluster-stretched-aws.yaml +++ b/deploy/examples/cluster-stretched-aws.yaml @@ -45,7 +45,7 @@ spec: count: 2 cephVersion: # Stretch cluster support upstream is only available starting in Ceph Pacific - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 allowUnsupported: true skipUpgradeChecks: false continueUpgradeAfterChecksEvenIfNotHealthy: false diff --git a/deploy/examples/cluster-stretched.yaml b/deploy/examples/cluster-stretched.yaml index 9df59a25c..a9237af7b 100644 --- a/deploy/examples/cluster-stretched.yaml +++ b/deploy/examples/cluster-stretched.yaml @@ -39,7 +39,7 @@ spec: count: 2 cephVersion: # Stretch cluster support upstream is only available starting in Ceph Pacific - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 allowUnsupported: true skipUpgradeChecks: false continueUpgradeAfterChecksEvenIfNotHealthy: false diff --git a/deploy/examples/cluster.yaml b/deploy/examples/cluster.yaml index d9880b1a6..30da82eb8 100644 --- a/deploy/examples/cluster.yaml +++ b/deploy/examples/cluster.yaml @@ -19,9 +19,9 @@ spec: # v15 is octopus, and v16 is pacific. # RECOMMENDATION: In production, use a specific version tag instead of the general v14 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 quay.io/ceph/ceph:v16.2.7-20220216 + # If you want to be more precise, you can always use a timestamp tag such quay.io/ceph/ceph:v16.2.9-20220519 # 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:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 # Whether to allow unsupported versions of Ceph. Currently `octopus` and `pacific` are supported. # Future versions such as `pacific` would require this to be set to `true`. # Do not set to true in production. diff --git a/deploy/examples/images.txt b/deploy/examples/images.txt index 720db6188..8b930ba56 100644 --- a/deploy/examples/images.txt +++ b/deploy/examples/images.txt @@ -4,7 +4,7 @@ k8s.gcr.io/sig-storage/csi-resizer:v1.4.0 k8s.gcr.io/sig-storage/csi-snapshotter:v5.0.1 k8s.gcr.io/sig-storage/nfsplugin:v3.1.0 - quay.io/ceph/ceph:v16.2.7 + quay.io/ceph/ceph:v16.2.9 quay.io/cephcsi/cephcsi:v3.6.1 quay.io/csiaddons/k8s-sidecar:v0.2.1 quay.io/csiaddons/volumereplication-operator:v0.3.0 diff --git a/deploy/olm/assemble/metadata-common.yaml b/deploy/olm/assemble/metadata-common.yaml index 8c67cc19b..6ca25dddb 100644 --- a/deploy/olm/assemble/metadata-common.yaml +++ b/deploy/olm/assemble/metadata-common.yaml @@ -250,7 +250,7 @@ metadata: }, "spec": { "cephVersion": { - "image": "quay.io/ceph/ceph:v16.2.7" + "image": "quay.io/ceph/ceph:v16.2.9" }, "dataDirHostPath": "/var/lib/rook", "mon": { diff --git a/design/ceph/ceph-cluster-cleanup.md b/design/ceph/ceph-cluster-cleanup.md index 281272bf8..d16217579 100644 --- a/design/ceph/ceph-cluster-cleanup.md +++ b/design/ceph/ceph-cluster-cleanup.md @@ -34,7 +34,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: quay.io/ceph/ceph:v16.2.7 + image: quay.io/ceph/ceph:v16.2.9 dataDirHostPath: /var/lib/rook mon: count: 3 diff --git a/images/ceph/Makefile b/images/ceph/Makefile index 48e7ed150..9d2376f99 100755 --- a/images/ceph/Makefile +++ b/images/ceph/Makefile @@ -18,9 +18,9 @@ include ../image.mk # Image Build Options ifeq ($(GOARCH),amd64) -CEPH_VERSION ?= v16.2.7-20220216 +CEPH_VERSION ?= v16.2.9-20220519 else -CEPH_VERSION ?= v16.2.7-20220216 +CEPH_VERSION ?= v16.2.9-20220519 endif REGISTRY_NAME = quay.io BASEIMAGE = $(REGISTRY_NAME)/ceph/ceph-$(GOARCH):$(CEPH_VERSION)