diff --git a/Documentation/ceph-cluster-crd.md b/Documentation/ceph-cluster-crd.md index d88bfcf62..e4350aa5d 100755 --- a/Documentation/ceph-cluster-crd.md +++ b/Documentation/ceph-cluster-crd.md @@ -32,7 +32,7 @@ metadata: spec: cephVersion: # see the "Cluster Settings" section below for more details on which image of ceph to run - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -59,7 +59,7 @@ metadata: spec: cephVersion: # see the "Cluster Settings" section below for more details on which image of ceph to run - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -168,7 +168,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, `ceph/ceph:v14.2.12` or `ceph/ceph:v15.2.5`. For more details read the [container images section](#ceph-container-images). + * `image`: The image used for running the ceph daemons. For example, `ceph/ceph:v14.2.12` or `ceph/ceph:v15.2.7`. 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 `v14` will be updated each time a new nautilus build is released. @@ -650,7 +650,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -682,7 +682,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -723,7 +723,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -770,7 +770,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -873,7 +873,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 dataDirHostPath: /var/lib/rook mon: count: 3 @@ -919,7 +919,7 @@ spec: requests: storage: 10Gi cephVersion: - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 allowUnsupported: false dashboard: enabled: true @@ -1331,7 +1331,7 @@ spec: enable: true dataDirHostPath: /var/lib/rook cephVersion: - image: ceph/ceph:v15.2.5 # Should match external cluster version + image: ceph/ceph:v15.2.7 # Should match external cluster version ``` ### Cleanup policy diff --git a/Documentation/ceph-upgrade.md b/Documentation/ceph-upgrade.md index e305f3f56..e03811883 100644 --- a/Documentation/ceph-upgrade.md +++ b/Documentation/ceph-upgrade.md @@ -347,7 +347,7 @@ until all the daemons have been updated. Official Ceph container images can be found on [Docker Hub](https://hub.docker.com/r/ceph/ceph/tags/). These images are tagged in a few ways: -* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v15.2.5-20200916`). +* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v15.2.7-20201201`). 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., `v15`) are useful for development and test clusters so that the @@ -363,7 +363,7 @@ The majority of the upgrade will be handled by the Rook operator. Begin the upgr Ceph image field in the cluster CRD (`spec.cephVersion.image`). ```sh -NEW_CEPH_IMAGE='ceph/ceph:v15.2.5-20200916' +NEW_CEPH_IMAGE='ceph/ceph:v15.2.7-20201201' CLUSTER_NAME="$ROOK_NAMESPACE" # change if your cluster name is not the Rook namespace kubectl -n $ROOK_NAMESPACE patch CephCluster $CLUSTER_NAME --type=merge -p "{\"spec\": {\"cephVersion\": {\"image\": \"$NEW_CEPH_IMAGE\"}}}" ``` diff --git a/cluster/examples/kubernetes/ceph/cluster-external-management.yaml b/cluster/examples/kubernetes/ceph/cluster-external-management.yaml index 223e51d95..42f91f891 100644 --- a/cluster/examples/kubernetes/ceph/cluster-external-management.yaml +++ b/cluster/examples/kubernetes/ceph/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: ceph/ceph:v15.2.5 # Should match external cluster version + image: ceph/ceph:v15.2.7 # Should match external cluster version diff --git a/cluster/examples/kubernetes/ceph/cluster-on-pvc.yaml b/cluster/examples/kubernetes/ceph/cluster-on-pvc.yaml index 0612faae4..22d94d71e 100644 --- a/cluster/examples/kubernetes/ceph/cluster-on-pvc.yaml +++ b/cluster/examples/kubernetes/ceph/cluster-on-pvc.yaml @@ -33,7 +33,7 @@ spec: requests: storage: 10Gi cephVersion: - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 allowUnsupported: false skipUpgradeChecks: false continueUpgradeAfterChecksEvenIfNotHealthy: false diff --git a/cluster/examples/kubernetes/ceph/cluster-with-drive-groups.yaml b/cluster/examples/kubernetes/ceph/cluster-with-drive-groups.yaml index 81032ecda..828394eac 100644 --- a/cluster/examples/kubernetes/ceph/cluster-with-drive-groups.yaml +++ b/cluster/examples/kubernetes/ceph/cluster-with-drive-groups.yaml @@ -15,7 +15,7 @@ metadata: namespace: rook-ceph spec: cephVersion: - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 allowUnsupported: false skipUpgradeChecks: false dataDirHostPath: /var/lib/rook diff --git a/cluster/examples/kubernetes/ceph/cluster.yaml b/cluster/examples/kubernetes/ceph/cluster.yaml index 0207d1a61..ff01b09e4 100644 --- a/cluster/examples/kubernetes/ceph/cluster.yaml +++ b/cluster/examples/kubernetes/ceph/cluster.yaml @@ -19,9 +19,9 @@ spec: # v13 is mimic, v14 is nautilus, and v15 is octopus. # 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 ceph/ceph:v15.2.5-20200916 + # If you want to be more precise, you can always use a timestamp tag such ceph/ceph:v15.2.7-20201201 # This tag might not contain a new Ceph version, just security fixes from the underlying operating system, which will reduce vulnerabilities - image: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 # Whether to allow unsupported versions of Ceph. Currently `nautilus` and `octopus` 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/cluster/olm/ceph/assemble/metadata-common.yaml b/cluster/olm/ceph/assemble/metadata-common.yaml index c31677dde..5ce4c40e9 100644 --- a/cluster/olm/ceph/assemble/metadata-common.yaml +++ b/cluster/olm/ceph/assemble/metadata-common.yaml @@ -216,7 +216,7 @@ metadata: }, "spec": { "cephVersion": { - "image": "ceph/ceph:v15.2.5" + "image": "ceph/ceph:v15.2.7" }, "dataDirHostPath": "/var/lib/rook", "mon": { diff --git a/design/ceph/ceph-cluster-cleanup.md b/design/ceph/ceph-cluster-cleanup.md index 5bebb434e..3b240d7f1 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: ceph/ceph:v15.2.5 + image: ceph/ceph:v15.2.7 dataDirHostPath: /var/lib/rook mon: count: 3 diff --git a/images/ceph/Makefile b/images/ceph/Makefile index c547a2ad5..cf670fae8 100755 --- a/images/ceph/Makefile +++ b/images/ceph/Makefile @@ -18,9 +18,9 @@ include ../image.mk # Image Build Options ifeq ($(GOARCH),amd64) -CEPH_VERSION = v15.2.5-20200916 +CEPH_VERSION = v15.2.7-20201201 else -CEPH_VERSION = v15.2.5-20200916 +CEPH_VERSION = v15.2.7-20201201 endif BASEIMAGE = ceph/ceph-$(GOARCH):$(CEPH_VERSION) CEPH_IMAGE = $(BUILD_REGISTRY)/ceph-$(GOARCH) diff --git a/pkg/apis/ceph.rook.io/v1/types.go b/pkg/apis/ceph.rook.io/v1/types.go index c598ee5ec..5f91f368a 100755 --- a/pkg/apis/ceph.rook.io/v1/types.go +++ b/pkg/apis/ceph.rook.io/v1/types.go @@ -147,7 +147,7 @@ type KeyManagementServiceSpec struct { // CephVersionSpec represents the settings for the Ceph version that Rook is orchestrating. type CephVersionSpec struct { - // Image is the container image used to launch the ceph daemons, such as ceph/ceph:v15.2.5 + // Image is the container image used to launch the ceph daemons, such as ceph/ceph:v15.2.7 Image string `json:"image,omitempty"` // Whether to allow unsupported versions (do not set to true in production)