Commit Graph
780 Commits
Author SHA1 Message Date
Muhammad Adil Ghaffar 85ce5bef50 exporter: add hostnetwork bool to cephexporter
Signed-off-by: Muhammad Adil Ghaffar <muhammad.adil.ghaffar@est.tech>
(cherry picked from commit 5ea7a177b7)
2025-06-25 13:23:57 +00:00
Travis Nielsen 45c280b9e2 build: update release version to 1.16.8
For the patch release update the docs and examples
to v1.16.8

Signed-off-by: Michael Adam <obnox@samba.org>
2025-06-10 18:58:27 +02:00
Travis Nielsen cabc30352c build: update release version to 1.16.7
For the patch release update the docs and examples
to v1.16.7

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-04-16 11:58:22 -06:00
Travis Nielsen b1fbd1e570 core: set default ceph version to v19.2.2
Update the examples and docs and operator base image to
the latest ceph patch release v19.2.2.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit f62e6d9cc2)
2025-04-15 12:11:20 -06:00
Travis Nielsen b4023f06a6 build: update release version to v1.16.6
For the patch release update the examples and docs
to v1.16.6

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-03-27 11:14:06 -06:00
Santosh Pillai fa77b4db20 osd: allow one healthy OSD to be drained
One ore more OSDs can be down and PGs can still be active+clean (data
was rebalanced to other available OSDs). This PR sets
maxunavailable=1+downOSDs to allow one healthy to be drained.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit a816b4a971)
2025-03-26 16:05:16 +00:00
Travis Nielsen 6ea2e29462 operator: set dns policy for host network if needed
When host network is enabled, the operator needs to set the
dns policy to ClusterFirstWithHostNet so the request to the
rgw endpoint will resolve properly.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit fe70248a13)
2025-03-25 23:34:27 +00:00
yati1998 88e00b54fc build: set ceph csi release version to v3.13.1
this commit sets the release version
for ceph-csi to v3.13.1

Signed-off-by: yati1998 <ypadia@redhat.com>
(cherry picked from commit 762430ccb5)
2025-03-10 11:33:54 -06:00
Travis Nielsen 8e9b71a024 build: set release version to v1.16.5
For the patch release update the docs and manifests
to v1.16.5.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-03-06 14:15:43 -07:00
Artem Torubarov df3de45948 object: allow overriding rgw config value from secret
Implements #15422
Extends existing ObjectStore configuration options with
rgwConfigFromSecret allowing to refer config value from
kubernetes secret.

Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit 3b2e6f5bf6)
2025-03-03 14:54:10 +00:00
Travis Nielsen f5ac59c0a0 core: implement operator settings as env vars
The operator settings loaded from the configmap have proven
inefficient for load time and frequently checking the configmap.
To avoid this ineffenciency, the configmap is only loaded once
each time it is created or updated. The values in the configmap
are applied as environment variables, which then are very efficient
to query throughout the various controllers, without needing
to be concerned about loading the configmap again.

Co-authored-by: Dmitry Mishin <dmitry.mishin@gmail.com>
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit d109dc9029)
2025-02-25 11:33:57 -07:00
Skala Networks f9e6b1d76c csi: bind cephfs and rbd provisionners on non-colliding ports for hostNetwork setups
Signed-off-by: Skala Networks <contact@skala.network>
(cherry picked from commit d3c3d25c60)
2025-02-24 19:08:38 +00:00
Travis Nielsen 53ce46485f build: update release version to v1.16.4
For the patch release update the docs and manifests to
v1.16.4

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-02-20 13:19:09 -07:00
Travis Nielsen 61b79d0cf5 osd: enable osd ok-to-stop checks on single node for three osds
If there are at least three OSDs on a single node, we should
treat it as a potential production cluster and perform
the ok-to-stop checks during reconcile. Otherwise,
it may cause instability during upgrades on
single-node clusters.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit e068e156ce)
2025-02-20 19:53:15 +00:00
subhamkrai 46e85c0822 manifest: update default ceph version to v19.2.1
with ceph release v19.2.1 updating it to be dafult version
in rook.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 0e395f0a67)
2025-02-20 18:44:02 +00:00
Travis Nielsen 693140a18a build: update the release version to v1.16.3
For the patch release update the docs and examples to
v1.16.3

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-02-04 11:30:08 -07:00
parth 546d6563eb external: allow cephfs or rgw only deployments
currently there was a restriction to always create rbd pool
with this change only cephfs or rgw volumes created

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 6cf97fd32b)
2025-02-04 17:38:32 +00:00
subhamkrai 49c7c12998 csi: update csi-operator to v0.2.0
this commits updates the csi-operator to v0.2.0
and also brings latest yaml updates

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 3761fda37f)
2025-01-31 14:15:43 +00:00
Artem Torubarov f3f556399e operator: custom hostname topology label
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit 25ee6b4f59)
2025-01-30 16:44:43 +00:00
Travis Nielsen d5b76c3268 build: set release version to v1.16.2
For the patch release update the docs and examples
to v1.16.2

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-01-16 14:03:13 -07:00
Niels de Vos bf54ae166f csi: update Kubernetes CSI sidecar images to current versions
The Kubernetes CSI sidecars have had several releases that were not
included in deployments by Rook yet, update them to the versions that
are available today:

- csi-node-driver-registrar:v2.13.0
- csi-provisioner:v5.1.0
- csi-attacher:v4.8.0
- csi-resizer:v1.13.1

Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 955fa9cae4)
2025-01-15 17:01:31 +00:00
parth-gr cff2990dc6 external: fix rados namespace sc name
Currently, the sc name is hardcoded,
in future if we support multiple rados
namespace per tenant we need a variable name
updating sc names to contain rados-namespace name
ocs pr: https://github.com/red-hat-storage/ocs-operator/pull/2955

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 61de34a11d)
2025-01-09 16:19:49 +00:00
Travis Nielsen f926ac8af5 build: set release version to v1.16.1
For the patch release update the docs and examples
to v1.16.1.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-01-02 10:20:58 -07:00
Madhu Rajanna 4036d81b6f csi: remove extra RBAC access for create
With new version of external snapshotter
we dont need extra RBAC permission to
create the volumesnapshot and
volumesnapshotcontent

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 2fdf7dab5f)
2025-01-02 16:33:35 +00:00
Madhu Rajanna a7e7b18269 doc: update groupsnapshot to betav1
updating the groupsnapshot to betav1 api.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 610126c560)
2025-01-02 16:33:34 +00:00
Deepika Upadhyay d06267c112 object: move opsLogSidecar to gateway subsection from zone subsection
Update YAML configuration to correctly place the opsLogSidecar field
under gateway.opsLogSidecar instead of zone.opsLogSidecar, as it is a
configuration option specific to the RGW gateway.

Signed-off-by: Deepika Upadhyay <deepika.upadhyay@clyso.com>
(cherry picked from commit e821edc24b)
2024-12-20 19:25:56 +00:00
Steven Kreitzer 477b7fd0f4 csi: csi-snapshotter flag typo; upgrade csi-snapshotter
Signed-off-by: Steven Kreitzer <skre@skre.me>
(cherry picked from commit 463d9fb420)
2024-12-18 15:39:21 +00:00
Travis Nielsen b29d17eb7b build: update release version to v1.16.0
For the minor release update the docs and examples
to v1.16.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-12-17 12:32:03 -07:00
Deepika Upadhyay b8f4c920e4 object: add rgw ops sidecar for op logs
the rgw operations for s3 can now be accessible using sidecar
rgw-ops-log availabe in json form that can be further filtered logging
for observability, this will set the rgw_enable_ops_log setting

Signed-off-by: Deepika Upadhyay <deepika.upadhyay@clyso.com>
(cherry picked from commit c5d27467d6)
2024-12-17 17:36:14 +00:00
Artem Torubarov 6008733b55 rgw: bulk data pool by default
update CephObjecStore examples to set bulk=true for data pools by default

Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit e3c3aafe09)
2024-12-17 14:17:20 +00:00
Blaine Gardner 95764f590b object: allow overriding rgw configs and flags
Implement #15119

Allow users to override RGW configurations by specifying Ceph config
options in the CephObjectStore. For configurations that require RGW to
be restarted when the config is applied, allow configs to be specified
as CLI arguments to the RGW as well.

This is an advanced option and is documented as such. Users should be
careful to understand the values they are setting, as there is no
validation to prevent the object store from breaking when these configs
are used.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit aaa16488de)
2024-12-16 22:30:48 +00:00
Michael Adam cab7723632 build: update api go module dependencies
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit c8a1bb21f6)
2024-12-16 14:47:36 -07:00
mergify[bot] be9b70b437 Merge pull request #15149 from rook/mergify/bp/release-1.16/pr-15131
manifest: Update default ceph version to v19 (backport #15131)
2024-12-11 23:11:17 +00:00
Travis Nielsen c0dfa9caf6 Merge pull request #15147 from rook/mergify/bp/release-1.16/pr-15134
csi: update cephcsi to latest release (backport #15134)
2024-12-11 15:56:55 -07:00
Travis Nielsen 3043b6758c manifest: update default ceph version to v19
With the v19.2.0 release being out for some time now,
update the default version to be deployed with Rook
as v19.2.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 07d8012d36)
2024-12-11 15:45:25 -07:00
Blaine Gardner f958646d31 Merge pull request #15143 from BlaineEXE/bp-116-cosi-user-revert
Revert "object: create cosi user for each object store"
2024-12-11 15:37:14 -07:00
Madhu Rajanna 22dc0ff13f csi: update cephcsi to latest release
cephcsi 3.13.0 is released today and
update the Rook to use the latest image

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 07f5700a87)
2024-12-11 15:20:51 -07:00
Blaine Gardner bd07cebb79 docs: remove deprecated toplogyKey beta labels
Remove long-deprecated topologyKey beta label from examples:
failure-domain.beta.kubernetes.io/zone

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 79e767e0e7)
2024-12-11 15:11:12 -07:00
Blaine Gardner 8d53a3f2ac Revert "object: create cosi user for each object store"
This reverts commit a941b3c33f.

Stop creating the 'cosi' user in the CephObjectStore reconcile. This
step often fails for some amount of time during initial object store
creation, causing frequent user concern. It has also been the source of
some reported failures that would otherwise be non-breaking for certain
users.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit fc08e87d44)
2024-12-11 15:01:02 -07:00
Artem Torubarov f9eaa49794 rgw: add rgw_enable_apis config option
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit 83c8ec8160)
2024-12-10 10:33:16 -07:00
Blaine Gardner 34de55717f Merge pull request #15098 from rook/mergify/bp/release-1.16/pr-14776
migrate OSDs to enable encryption as day-2 operation (backport #14776)
2024-12-09 16:55:18 -07:00
Tobias Wolf aba1440740 file: add support for named mds metadata pool names
This commit adds optional support to specify the MDS metadata pool name. It defaults to `<fsName>-metadata` as current implementation expects but allows customization if needed e.g. if exisiting naming conventions used `<fsName>_metadata`. Additionally an "preservePoolNames" boolean has been added to indicate that no generated pool names should be used.

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
(cherry picked from commit 675678fad6)
2024-12-09 14:21:53 -07:00
Santosh Pillai 67cd211317 osd: enable encryption as day-2 operation
Migrate OSDs to enable encryption as day-2 operation.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit 85c81946ce)
2024-12-06 07:32:18 +01:00
Madhu Rajanna 25e924383b csi: provide delete access to csiaddonsnode
csiaddons sidecar needs the delete RBAC
to set the ownerRef on the csiaddonsnode
object.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit b34c0b9164)
2024-11-27 11:36:07 +00:00
Niels de Vos 50c1d00fac csi: update csi-addons to v0.11.0
The csi-addons v0.11.0 release is now available.

See-also: https://github.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.11.0
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit f1d448cc46)
2024-11-26 14:28:34 +00:00
Travis Nielsen 1b7267cc28 build: set the release version to v1.16.0-beta.0
For the new 1.16 branch and first test release, update the docs
and manifests to v1.16.0-beta.0

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-11-25 12:15:15 -07:00
Madhu Rajanna e599ef67ef csi: update to latest cephcsi release
cephcsi fixed a bug related to data loss
and its fixed in 3.12.3 release, This commit
updates the cephcsi to 3.12.3 release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-11-25 19:02:25 +01:00
Madhu Rajanna 158891a37c csi: add required finalizers for openshift
openshift cluster need to have access to
finalizers when we set the blockOwnerDeletion
if an ownerReference refers to a resource
we can't set finalizers on, This adds the extra
required permission

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-11-11 08:49:16 +01:00
Santosh Pillai a344ff53f3 core: add pool IDs to cephBlockPool CR status
Adding pool ID of the cephBlockPool in the CR status

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2024-11-08 21:07:48 +05:30
Travis Nielsen 721f934bb2 Merge pull request #14966 from parth-gr/monitor-blockpool-mirror
rbdmirror: fix mirroring monitoring settings for blockpool
2024-11-08 08:14:47 -07:00