Commit Graph
309 Commits
Author SHA1 Message Date
travisn 0dfc0ad107 build: set the release version to v1.10.12
For the patch release update the examples and docs to
v1.10.12

Signed-off-by: travisn <tnielsen@redhat.com>
2023-02-27 16:38:58 -07:00
Madhu Rajanna e4b642b995 csi: add missing node access to cephfs driver
Node access is only needed when we are using
volumeBindingMode: WaitForFirstConsumer in
the storageclass its not required for Immediate
BindingMode.

fixes: #11694

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 1cfa7eefae)
2023-02-17 19:19:13 +00:00
Michael N. Lipp 7b6f4e082f docs: add comment regarding placement restrictions
The sample files placement rules are too restrictive for small clusters.
The comment provides a hint how to fix this.

Closes: https://github.com/rook/rook/issues/11658

Signed-off-by: Michael Lipp <mnl@mnl.de>
(cherry picked from commit f466789ad5)
2023-02-13 21:57:22 +00:00
Travis Nielsen d575ad5379 Merge pull request #11655 from travisn/release-1.10.11
build: Update the release version to v1.10.11
2023-02-10 13:24:53 -07:00
Travis Nielsen 0f8a911009 build: update the release version to v1.10.11
For the patch release update the docs and example manifests to
v1.10.11

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-02-10 12:02:26 -07:00
parth-gr ed30d06203 external: dont do rgw validation if python version < 3
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit def9fd9056)
2023-01-23 16:55:28 +00:00
Ben Gao fd73447999 mgr: role rook-ceph-mgr is lack of patch verb to compete ceph request
ceph orch command uses patch method to update cephcluster. Adding patch to verbs list of rook-ceph-mgr(Role) to make it work. It was allright with deploy/charts/rook-ceph-cluster/charts/library/templates/_cluster-role.tpl to justify the changes quite a bit.

Signed-off-by: Ben Gao <bengao168@msn.com>
(cherry picked from commit 84296a997a)
2023-01-18 19:44:21 +00:00
Travis Nielsen 06e8a7d561 build: update release version to v1.10.10
For the patch release the examples and docs are updated
to version v1.10.10

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-01-18 09:56:57 -07:00
Jiffin Tony Thottan 1a250d61a7 docs: remove health checker related option in object-external.yaml
The health checker options are no longer applicable to external rgw
servers, so remove those info.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 8f8de7f335)
2023-01-17 20:27:34 +00:00
Travis Nielsen 0ae802be82 build: update the release version to v1.10.9
For the patch release update the examples and docs to
v1.10.9

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-01-12 12:28:41 -07:00
subhamkrai c861c73219 webhook: disable webhook by default
sadly, we need to disable webhook by default until
we find solution to https://github.com/rook/rook/issues/10719

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit e9e2313126)
2023-01-12 18:18:24 +00:00
Madhu Rajanna 71eb14afb2 csi: update sidecars to latest release
update all the kubernetes sidecars to the latest
release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit f11e65f40c)
2023-01-06 07:59:29 -07:00
Travis Nielsen eb9f698aec build: update the release version to v1.10.8
For the patch release update the examples and docs to
v1.10.8

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-12-21 09:46:39 -07:00
Madhu Rajanna 88b879c310 csi: add missing update rbac
when a PVC is cloned external-provisioner
still required update access or else a warning
will be logged in the pvc describe output

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 61c533ba41)
2022-12-21 14:44:21 +00:00
Travis Nielsen ec27701d2b manifest: toolbox and jobs mount secret volume
The toolbox, toolbox job, and osd prepare jobs need to mount the
ceph admin keyring as a file instead of using an env var.
The toolbox script will still allow setting of the env var
for backward compatibility, though all the examples are now
updated to use the keyring as a file.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4f77664862)
2022-12-15 11:06:10 -07:00
subhamkrai 70f4447575 operator: disable webhook by default
disable webhook in downstream cluster.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 159fe3ae6f)
2022-12-15 16:26:25 +00:00
Travis Nielsen 7e4ba9b4e9 build: update the release version to v1.10.7
For the patch release the examples and docs are updated to
v1.10.7

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-12-06 13:20:09 -07:00
Shinya Hayashi c424b3c42e csi: add a parameter to modify the maxUnavailable value of rbd daemonset
The default value of maxUnavailable of daemonset is 1.
Sometimes the upgrade can be slow due to this setting.
So I add a parameter to change the value for rbd daemonset.

Signed-off-by: Shinya Hayashi <shinya-hayashi@cybozu.co.jp>
Co-authored-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
Co-authored-by: Yuji Ito <llamerada.jp@gmail.com>
(cherry picked from commit ac4b47d71a)

# Conflicts:
#	Documentation/Helm-Charts/operator-chart.md
2022-11-24 10:53:08 +00:00
Travis Nielsen d8640637ff build: set the release version to v1.10.6
For the patch release the docs and examples are updated to
v1.10.6

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-11-17 15:12:39 -07:00
Travis Nielsen 6f069b688b Merge pull request #11295 from rook/mergify/bp/release-1.10/pr-10652
docs: add additional RBD image features to docs and YAML files (backport #10652)
2022-11-11 14:54:17 -07:00
Nitin Goyal 86b09e8058 object: mark endpoint as a optional field
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
2022-11-11 16:32:30 +05:30
Shinya Hayashi 13b63c4a08 osd: support loop devices for test clusters
A new variable is added to rook-ceph-operator-config
ConfigMap to allow using loop devices for osd.

This feature is intended to be used for testing purposes only.

Signed-off-by: Shinya Hayashi <shinya-hayashi@cybozu.co.jp>
(cherry picked from commit 05875a3f4f)
2022-11-10 18:31:43 +00:00
Anthony D'Atri b005fbf4dc docs: add additional RBD image features to docs and YAML files
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 10b398cc02)
2022-11-10 18:10:04 +00:00
parth-gr 063196d344 core: add ability to add resources on discovery daemon set
Closes: https://github.com/rook/rook/issues/11265

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 9f432b4ecb)
2022-11-10 15:00:19 +00:00
Blaine Gardner ecb0a92577 object: allow new status endpoints to be null
For the upgrade case, allow the status endpoints to have null slices.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-11-08 13:33:31 -07:00
Blaine Gardner cb10fe35fa object: do not create service for external object stores
External CephObjectStores already have endpoints defined by
spec.gateway.externalRgwEndpoints, and if the external store is
configured with TLS (HTTPS), the store's certificates will likely not
accept connections intended for the Service endpoint Rook creates. Some
users might not be able to easily add the service endpoint to their
certificates. Therefore, don't even bother creating a Service for
external clusters.

This does introduce a few issues. The Service seems to have been
initially created to allow multiple external RGW endpoints to be
addressable via a single address in Rook. For all connections to an
external CephObjectStore with multiple endpoints, simply choose an
endpoint at random. Random selection will prevent Rook from failing to
create buckets or users on an external store if one of the external
store's endpoints fails.

The latest OBC library (lib-bucket-provisioner) allows updating the
endpoints on ObjectBuckets after they are created. This allows Rook
users to change endpoints on external CephObjectStores without breaking
all existing OBCs. It requires implementation of the new GetUserID()
library call, requires updating Provision() and Grant() calls to be
idempotent, and it requires removing the Update() call.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit a777b1d7d1)

# Conflicts:
#	pkg/apis/ceph.rook.io/v1/types.go
2022-11-07 14:30:58 -07:00
Travis Nielsen 7a29088304 build: update the release version to v1.10.5
For the patch release the examples and docs are updated
to v1.10.5

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-11-03 14:33:59 -06:00
subhamkrai 98600a440f core: upgrade ceph to latest release v17.2.5
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 270b565f18)
2022-10-26 15:52:18 +00:00
Travis Nielsen 1ca8adaed2 build: update release version to v1.10.4
For the patch release update the examples and docs to
v1.10.4

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-20 12:40:03 -06:00
Travis Nielsen 8644ebe789 build: update the go modules to the latest
The security scan is failing due to a go dependency
so we update the go modules and all dependencies to
the latest available.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit ba6adc60e1)
2022-10-20 17:58:21 +00:00
Madhu Rajanna 7e8e8e2ea1 csi: update csi to latest release
This updates the cephcsi to latest 3.7.2
release and also updates sidecar to the latest
release in some missing files.

Note:- sidecar images are upto date in most of
the places, in some places it was missing, This
PR updates it in missing place.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 729f2a8b32)
2022-10-20 14:05:23 +00:00
Travis Nielsen f9a11b71e0 operator: remove obsolete flex driver properties
The flex driver was deprecated and fully purged long ago,
and now finally we are purging the related properties
from the operator deployment that are no longer applied
anywhere.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 67582fe0da)
2022-10-19 22:03:03 +00:00
gauravsitlani 4ac46ef909 core: enabling logCollector by default for coredump
enabling logCollector by default will enable the coredump
generation in case a process terminates with a segmentation fault.

Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
(cherry picked from commit cc02399c4c)
2022-10-19 18:35:20 +00:00
parth-gr 6db827e849 external: fix endpoint_dial check for rgw endpoint
the validate rgw endpoint tls cert returns the certificate instead
of returning whether it exist or not,
So updatd the flow how to use it

Closes: https://github.com/rook/rook/issues/11060
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit fb7b67c3f4)
2022-10-18 15:11:46 +00:00
parth-gr f9a3e6d731 ci: update mon_data_avail_warn percentage
I see the mon_data_avail_warn is set to 500M
but acording to ceph doc this should be in percentage
And by default this percentage is 30%,
So re assigned to 10% for the CI

Closes: https://github.com/rook/rook/issues/11130
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit d392129cdd)
2022-10-10 16:15:34 +00:00
Travis Nielsen 6c725a0ab2 build: update the release version to v1.10.3
For the patch release we update the docs and example manifests
to v1.10.3

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-06 14:04:09 -06:00
Travis Nielsen e8862d541d Merge pull request #11086 from rook/mergify/bp/release-1.10/pr-11083
csi: use ceph csi v3.7.1 for rook csi driver deployment (backport #11083)
2022-10-05 15:49:53 -06:00
Humble Chirammal 3529052e3c csi: explicitly set default fstype for attacher sidecar
With the attacher sidecar update to v4.0.0 this has to be set
explictly.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit b9fb023edf)
2022-09-29 09:26:33 -06:00
Humble Chirammal 86e0ca6fb3 csi: update sidecars to latest in CSI deployment
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit c847e6b98d)

# Conflicts:
#	deploy/examples/images.txt
2022-09-29 14:46:59 +00:00
Humble Chirammal 595b732f0f csi: use ceph csi v3.7.1 for rook csi driver deployment
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 4d435b224f)
2022-09-29 14:08:04 +00:00
Travis Nielsen 107700ee0d Merge pull request #11072 from rook/mergify/bp/release-1.10/pr-10966
operator: make imagePullPolicy customizable for csi driver and ceph pods (backport #10966)
2022-09-28 14:34:35 -06:00
Niels de Vos e6bdca9148 docs: the CephBlockPool CR does not have spec.annotations
With Kubernetes 1.25 it seems that applying the yaml files that have a
CephBlockPool with spec.annotations fail with errors like this:

    CephBlockPool in version "v1" cannot be handled as a CephBlockPool:
    strict decoding error: unknown field "spec.annotations"

Updates: ceph/ceph-csi#3362
Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 69dc8897bb)
2022-09-28 14:29:50 +00:00
Avan Thakkar 88185da11a operator: make imagePullPolicy customizable for csi driver and ceph pods
Introduce a new env variable ROOK_CSI_IMAGE_PULL_POLICY in rook operator configmap which should be used to
customize the imagePullPolicy for the csi driver and imagePullPolicy property in cephVersionSpec for ceph pods.

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit 934aa91056)
2022-09-28 13:23:42 +00:00
Travis Nielsen 4900cfe029 build: update the release version to 1.10.2
For the patch release update the example manifests and docs
to v1.10.2

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-27 12:39:04 -06:00
Niels de Vos 76ada4bc08 nfs: allow users to include additional files in the SSSD sidecar
The sssd.conf may refer to additional files, like a CA bundle or TLS
certificates. These files need to be made available in the SSSD sidecar.
With the new `sssdGenericFiles` reference to a VolumeSource and a
`MountPath`, a provided `sssd.conf` can use the additional files.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 79adad7dc0)
2022-09-27 17:52:00 +00:00
Madhu Rajanna ec3f81af63 csi: customize plugin volumes and volumemounts
This option open-up volumes and volumemounts
for user customization of the rbd,cephfs,nfs
plugin daemonset.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 80a96f8f32)
2022-09-16 17:33:44 +00:00
parth-gr fd25c88d9d ci: add mon_data_avail_warn to canary ci test
ceph cluster on ci mostly have health error
mon disk low on size,
so overriding the min aval capacity to 0 from 30% default so this
error can be removed

Closes: rook#10971

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit df8493d77b)
2022-09-15 16:10:22 +00:00
parth-gr 4fd0ccdcce docs: add upgrade steps for multi-tenant custer
Currently for external clustr multitenancy is only applicable for new
deployments, but adding doc change so multi-tenancy can be achieved for
upgraded cluster also

Closes: https://github.com/rook/rook/issues/10678
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 0ad1b52005)
2022-09-14 13:45:00 +00:00
subhamkrai 71bf886dab external: fix import errors for python2
remove duplicate import urllib.parse which is handled below
with try and except no need to import separately. Also, change
the way to get the python version.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 9a952df419)
2022-09-14 04:24:00 +00:00
Travis Nielsen 0cd94677d8 Merge pull request #10977 from rook/mergify/bp/release-1.10/pr-10700
monitoring: fix pool growth warning grouping (backport #10700)
2022-09-13 14:07:36 -06:00