Commit Graph
348 Commits
Author SHA1 Message Date
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 e5d616accc osd: recommend removing memory limits from osd prepare job
The osd prepare job is not recommended to have memory limits since
it's a one-time operation depending on the size of the disk that must
be allowed to complete successfully.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4a86012ead)
2022-10-05 22:44:22 +00: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
Travis Nielsen 0a2f2bfd93 osd: prepare job needs significant more memory for provisioning
The OSD creation may need to burst during OSD provisioning depending
on the size of the OSD or similar factors. If the OSD prepare job is
OOM killed it will cause OSD provisioning to fail and have various
side effects that are difficult to troubleshoot to get the OSD
to succeed. So we increase the recommendation significantly to avoid
the OOM kill.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 92c52c4a2e)
2022-10-05 19:09:39 +00: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
Blaine Gardner 487bed5eec nfs: add kerberos client security support
Add support for enabling kerberos for client authentication.

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

# Conflicts:
#	design/ceph/ceph-nfs-ganesha.md
2022-09-13 13:18:50 -06:00
Jamison Lofthouse f1f631de63 monitoring: fix pool growth warning grouping
Predict linear will continue to predict on exporter data from old pods.
We can take the max value for every hour in the 2 day window before we
linearly predict to get the most conservative estimate. This will only
affect the hour in which a new mgr pod is started.

Fixes #10691

Signed-off-by: Jamison Lofthouse <jamison.lofthouse@gmail.com>
(cherry picked from commit f553034351)
2022-09-13 17:32:32 +00:00
Travis Nielsen efb69973e2 Merge pull request #10955 from rook/mergify/bp/release-1.10/pr-10943
csi: add topology provisioning support (backport #10943)
2022-09-13 08:23:36 -06:00
parth-gr 77aef59108 external: do not add info=read cap if ceph version doesn't support it
The rgw ip validation feature was needing to update the rgw user
cap to add info=read permission, but this permission is only backported
till ceph pacific, so we added a check that only add this cap
when ceph version support it,
But this cap was also adding with the other caps, so removed it from there
Now it will only add this cap if ceph version support it

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 54425803b6)
2022-09-12 21:16:35 +00:00
Jiffin Tony Thottan 8f30d8d6df rgw: delete zone/pools for multisite configuation
Allow option to delete the zone/pools created by ceph object zone CR.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit c98628eb0f)
2022-09-12 19:43:25 +00:00
Rakshith R a58c949e73 csi: add topology provisioning support
This commit adds topology provisioning
support. This makes modification to rbac,
csi deployment and daemonset.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 3c5a2f4142)
2022-09-12 17:20:25 +00:00
Travis Nielsen 3ee3925ef6 build: update the release version to v1.10.1
For the patch release update the documentation and manifests
to v1.10.1

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-09 10:36:27 -06:00
Rakshith R 6fb66afa88 csi: add NFS expansion support
This commit adds resizer sidecar to
NFS driver and required storageclass
and rbac changes.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 9c4592720c)
2022-09-09 15:44:06 +00:00
Rakshith R 5e4d0490de csi: add NFS clone support
This commit reqired yaml and docs
changes too for NFS clone support.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit f8eb2a2fbc)
2022-09-09 15:44:06 +00:00
Rakshith R 20fda88add csi: add NFS snapshot support
This commit adds snapshotter sidecar to
NFS driver and required yamls and docs too.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 73042c7531)
2022-09-09 15:44:06 +00:00
Travis Nielsen 278612d81f Merge pull request #10917 from rook/mergify/bp/release-1.10/pr-10904
helm: set OBC storageclass name to right namespace (backport #10904)
2022-09-07 10:35:10 -06:00
Travis Nielsen bf754bce70 Merge pull request #10913 from rook/mergify/bp/release-1.10/pr-10899
manifest: fix unexpected end of stream (backport #10899)
2022-09-07 10:34:23 -06:00
Blaine Gardner a9345c5e75 helm: set OBC storageclass name to right namespace
OBC storageclasses should have their names based on the cluster
namespace and not the operator namespace. Fix the chart to reflect this.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 5f00d291c9)
2022-09-07 14:28:37 +00:00
yati1998 72706176e0 rbdmirror: remove volume replication sidecar
The volume replication operator is being moved to
kubernetes-csi-addons. This commit hence, removes
the volume replication sidecar and updates the
related documentation.
It will also update the csi-addons sidecar version
to the latest one.

Closes: #10655

Signed-off-by: yati1998 <ypadia@redhat.com>
(cherry picked from commit 9b4361b379)
2022-09-07 14:27:47 +00:00
Khris Richardson 91061cc05f manifest: fix unexpected end of stream
Signed-off-by: Khris Richardson <khris.richardson@gmail.com>
(cherry picked from commit 9614428f54)
2022-09-07 13:42:45 +00:00
Travis Nielsen 17123745e3 Merge pull request #10902 from rook/mergify/bp/release-1.10/pr-10791
csi: use cephcsi image for nfs nodeserver + holder design (backport #10791)
2022-09-06 13:46:06 -06:00
Rakshith R dd9d5076e0 ci: add e2e for csi-nfsplugin restart
This commit adds e2e for csi-nfsplugin restart
when it is not on host-networking.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 07aac106df)
2022-09-06 11:45:10 -06:00
Rakshith R cc19356068 csi: remove nfs image
This commit remove nfs image
since it is no longer needed.
Cephcsi itself will act as nfs
nodeserver.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 7722226521)

# Conflicts:
#	deploy/examples/images.txt
2022-09-06 16:52:46 +00:00
Humble Chirammal bb066a4a78 csi: change the default fsgroup policy for CSI driver object
This commit change the default fsgroup policy for csi driver object
to "File" type which is the better/correct setting for the CSI volumes
We have been using default value which is "ReadWriteOnceWithFSType".
with this change backward compatibility should be preserved.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 32ecc37d37)
2022-09-06 13:23:35 +00:00
Travis Nielsen 9f852ac798 build: update the release version to v1.10.0
For the minor release update the docs and examples to
v1.10.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-31 14:49:21 -06:00
Travis Nielsen dd85997fb6 Merge pull request #10771 from rook/mergify/bp/release-1.10/pr-10736
CSI: provide a way to supply `--setmetadata` and `--clustername` to the csi driver (backport #10736)
2022-08-31 14:40:16 -06:00
Travis Nielsen 1eb9c81176 Merge pull request #10770 from rook/mergify/bp/release-1.10/pr-10503
csi: change the fsgrouppolicy for CephFS driver to "File" mode (backport #10503)
2022-08-31 14:39:20 -06:00
Humble Chirammal c425c52c9e csi: use the latest sidecars for ceph csi driver
at present, the csi sidecars are older versions and not in parity
with the latest ceph csi release v3.7.0. This commit update the
same to make it.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 6ef366dc34)
2022-08-31 15:15:52 +00:00
Blaine Gardner 5cf947a243 build: remove psp from common.yaml generation
Due to an oversight, PSP resources were left in generation of
common.yaml from #10797. Resolve that by setting
pspEnable=false when generating common.yaml.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 6c8f2e414f)
2022-08-29 17:17:23 +00:00
Blaine Gardner b950fd0e46 docs: move PSPs from common.yaml to psp.yaml
Also update docs. Use `make gen-rbac` to generate psp.yaml.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 1e9bbae583)
2022-08-26 01:09:31 +00:00