Commit Graph
11078 Commits
Author SHA1 Message Date
Blaine Gardner a4b4e7d319 Merge pull request #14149 from rook/mergify/bp/release-1.14/pr-14083
csi: remove out-dated prerequisites (backport #14083)
2024-05-01 13:52:07 -06:00
Praveen M 5d51cdd76e doc: update snapshot version
Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit da8518095d)
2024-05-01 19:48:11 +00:00
Praveen M 83caca7655 csi: remove the out-dated prerequisites
Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit 0467eb8a4c)
2024-05-01 19:48:11 +00:00
Blaine Gardner 4005730b15 Merge pull request #14148 from rook/mergify/bp/release-1.14/pr-13932
external: Restructure external cluster examples manifests (backport #13932)
2024-05-01 13:40:51 -06:00
smoshiur1237 b2d1a8df88 external: restructure external cluster examples manifests
This PR will add separate directory to handle the external manifest. Here external manifests will have same namespace (rook-ceph) for external cluster.

Signed-off-by: smoshiur1237 <moshiur.rahman@est.tech>
(cherry picked from commit dab17f72a1)
2024-05-01 18:29:48 +00:00
mergify[bot] f7127c8c4a Merge pull request #14132 from rook/mergify/bp/release-1.14/pr-14106
mon: fix mon scaledown when mons are portable (backport #14106)
2024-04-29 04:35:58 +00:00
subhamkrai 3af95231e2 mon: fix mon scaledown when mons are portable
in case of portable mons, mon scaledown was skipped
with below code
```
if mon.NodeName == "" {
			logger.Debugf("mon %q is not scheduled to a specific host", mon.DaemonName)
			continue
		}
```
which skips mon removal if mon nodeName is empty
but if mons are scale down in case of portable mons
in that case also we want to remove extra mons to match
the cephCluster configuration.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit d23a8433ed)
2024-04-25 16:40:56 +00:00
mergify[bot] 4564f9b2c9 Merge pull request #14130 from rook/mergify/bp/release-1.14/pr-14129
csi: update csi sidecars image version  (backport #14129)
2024-04-25 15:09:00 +00:00
Praveen M affdd02f1c csi: update csi sidecars' image version
Below sidecars are updated with latest available versions

csi-node-driver-registrar: v2.10.1
csi-resizer: v1.10.1
csi-provisioner: v4.0.1
csi-attacher: v4.5.1
csi-snapshotter: v7.0.2

Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit faf7837621)
2024-04-25 08:43:50 -06:00
mergify[bot] 54275ecb1a Merge pull request #14127 from rook/mergify/bp/release-1.14/pr-14125
csi: create csi configmap if csi controller is disabled (backport #14125)
2024-04-24 15:18:36 +00:00
mergify[bot] 636e74b731 Merge pull request #14122 from rook/mergify/bp/release-1.14/pr-14115
operator: support custom dashboard service labels and annotations (backport #14115)
2024-04-24 15:13:06 +00:00
mergify[bot] 2f4ce55791 Merge pull request #14113 from rook/mergify/bp/release-1.14/pr-13769
external: add support for rados namespace for rbd ec pools (backport #13769)
2024-04-24 15:06:49 +00:00
parth-gr 91292df78b csi: create csi configmap if csi controller is disabled
Creating a cluster never succeeds if CSI driver is disabled
So to fix that we need to always create the csi configmap

closes: https://github.com/rook/rook/issues/14123

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 47ed6a8632)
2024-04-24 14:51:48 +00:00
subham rai 0074038112 Merge pull request #14121 from rook/mergify/bp/release-1.14/pr-14119
fixing typo in ceph-object-store-crd.md (backport #14119)
2024-04-24 10:46:57 +05:30
Steven Fackler a60dfda70f operator: support custom dashboard service labels and annotations
Unlike other components, the Ceph dashboard Service object could not be
configured with custom labels and annotations. This can be useful when
integrating Rook into a cluster with custom controllers similarly to how
the RGW service is customized.

Signed-off-by: Steven Fackler <sfackler@gmail.com>
(cherry picked from commit 0c38dd81c2)
2024-04-23 20:22:54 +00:00
ev cdab7999d0 docs: fixing typo in ceph-object-store-crd.md
Example cephobjectstore uses wrong field name for "dnsNames".

Signed-off-by: Adam Prycki <adam.prycki@gmail.com>
(cherry picked from commit c1e727384a)
2024-04-23 16:46:43 +00:00
parth-gr cb23a4f4d1 external: add support for rados namespace for rbd ec pools
currently addded the support for rados namesapce
for rbd ec pools upstream

closes: https://github.com/rook/rook/issues/13633

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit adf40b1944)
2024-04-22 17:14:13 +00:00
Travis Nielsen 782a4ae0ff Merge pull request #14112 from rook/mergify/bp/release-1.14/pr-14107
doc: fix external cluster document (backport #14107)
2024-04-22 10:08:43 -06:00
parth-gr 6fa4987323 doc: fix external cluster document
fixing the list numbers in external document

closes: https://github.com/rook/rook/issues/13968

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit fe30ac83ad)
2024-04-22 15:38:24 +00:00
Satoru Takeuchi 75bfd11006 Merge pull request #14105 from rook/mergify/bp/release-1.14/pr-14100
osd: Legacy LVM-based OSDs on PVCs crash on resize init container (backport #14100)
2024-04-22 16:33:16 +09:00
Travis Nielsen d0fbec4b8d osd: legacy osds on lvm pvcs crash on resize init container
OSDs on LVM-mode PVCs are failing to come up and crashing
in the expand-bluefs init container. To avoid the crash
and allow the OSDs to start, a workaround was found to
simply remove that init container. Now we disable the
OSD resize for this case to avoid others hitting this
during upgrade as well.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit acd7b4faa0)
2024-04-22 03:35:11 +00:00
Travis Nielsen 7c23760421 Merge pull request #14097 from travisn/release-1.14.2
build: Update the release version to v1.14.2
v1.14.2
2024-04-19 10:52:23 -06:00
Travis Nielsen edeea1d554 build: update the release version to v1.14.2
For the patch release update the examples and manifests
to v1.14.2

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-04-19 09:13:16 -06:00
Travis Nielsen 1a1ff5c176 Merge pull request #14095 from rook/mergify/bp/release-1.14/pr-14093
ci: add k8s 1.30 support in ci (backport #14093)
2024-04-19 08:03:24 -06:00
subhamkrai 68b751d345 ci: add k8s 1.30 support in ci
adding support for kubernetes 1.30 in ci which released yesterday.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 128ec16ee6)
2024-04-19 13:31:00 +00:00
Travis Nielsen 297ba70686 Merge pull request #14090 from rook/mergify/bp/release-1.14/pr-14089
csi: only create CSI config configmap in CSI reconciler (backport #14089)
2024-04-18 15:05:37 -06:00
Travis Nielsen dfcdebbf90 Merge pull request #14091 from rook/mergify/bp/release-1.14/pr-14088
helm: Use correct metadata and data ec block pool (backport #14088)
2024-04-18 15:05:23 -06:00
Travis Nielsen a420ffa913 helm: use correct metadata and data ec block pool
The metadata and data block pools for an EC block pool
were switched, causing issues with the EC configuration.
Now the metadata and data pool settings are correct
in the helm chart.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit bbfa4f21ad)
2024-04-18 20:31:29 +00:00
Blaine Gardner 9ca7cfc1c1 csi: ensure correct csi config map owner during creation
In the primary CSI reconcile, ensure the CSI config map
(`rook-ceph-csi-config`) has the correct owner info.

This corrects any pre-existing config maps that might have incorrect
owner info, which has observed to include references to CephClusters.
The config map should only have a single reference, and it should refer
to the operator deployment.

If any existing Rook clusters have a CSI config map which has a
CephCluster as an owner, this change will ensure that the config map is
not deleted when the CephCluster is deleted. This is especially
important for any environments with multiple CephClusters installed.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 605b9633ea)
2024-04-18 20:18:23 +00:00
Blaine Gardner 03c601349a csi: only create CSI config configmap in CSI reconciler
There have been some issues with non-CSI Rook controllers that are
creating the CSI config configmap (`rook-ceph-csi-config`). This causes
problems with the K8s OwnerReference. The primary CSI reconciler
(controller) creates the configmap with the correct owner reference,
which is supposed to be the operator deployment.

Other instances were creating the configmap with owner references set to
the CephCluster. This is a minor bug, but it can result in this
configmap being deleted along with the first CephCluster that initially
created it.

To fix this issue, remove all instances of `CreateCsiConfigMap()` except
the single usage which the CSI reconcile uses to initially create the
configmap. Other controllers that might have attempted to create this
configmap previously will return an error indicating that it is waiting
for the configmap to be created.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit eb3278d575)
2024-04-18 20:18:22 +00:00
Travis Nielsen b66af928a6 Merge pull request #14084 from travisn/release-1.14.1
build: Update the release version to v1.14.1
v1.14.1
2024-04-17 14:28:47 -06:00
Travis Nielsen b6d4eff443 build: update the release version to v1.14.1
For the patch release update the examples and docs
to v1.14.1.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-04-17 11:47:02 -06:00
Travis Nielsen 0bdd66b397 Merge pull request #14078 from rook/mergify/bp/release-1.14/pr-14049
operator: make CephBlockPoolRadosNamespace and CephFilesystemSubVolumeGroup get outputs more verbose (backport #14049)
2024-04-17 11:16:35 -06:00
Satoru Takeuchi e62089fd7a Merge pull request #14081 from rook/mergify/bp/release-1.14/pr-14079
operator: load cluster owner info in LoadClusterInfo (backport #14079)
2024-04-17 07:53:01 +09:00
Blaine Gardner 61c031d2d5 operator: load cluster owner info in LoadClusterInfo
The CreateOrLoadClusterInfo (and therefore LoadClusterInfo) methods were
not loading the ClusterInfo.OwnerInfo. This should help future CRD
controllers get the full ClusterInfo struct without having missing
information. Current controllers that need ClusterInfo fill the field
themselves.

During testing, I observed one corner case where an upgraded cluster was
missing the `rook-ceph-csi-config` configmap. The cluster had a
CephFilesystemSubVolumeGroup resource created, and the reconcile for
that resource was attempting to create the missing CSI configmap and
failing with a nil pointer exception due to the missing OwnerInfo field
in ClusterInfo. This cluster condition hasn't been reproduced in healthy
environments, and it is unknown how the CSI configmap came to be
missing. However, the case did expose the missing loaded info as a
potential for causing nil pointer exceptions during corner cases when
code is otherwise correct.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit bd9447ea4c)
2024-04-16 22:01:23 +00:00
NymanRobin b30d82284b operator: make crds outputs more verbose
The following printcolumns were added

CephBlockPoolRadosNamespace: Phase,
BlockPoolName, Age
CephFilesystemSubVolumeGroup: Phase,
FilesystemName, PinningConfig, Age

Also improved the error messages in
SubVolumeGroupClient

Signed-off-by: NymanRobin <nyman.robin@gmail.com>
(cherry picked from commit 70a7e61da5)
2024-04-16 18:00:59 +00:00
Travis Nielsen fb661a54e4 Merge pull request #14068 from rook/mergify/bp/release-1.14/pr-14052
Cleanup RADOS namespace with forced deletion annotation (backport #14052)
2024-04-12 12:34:38 -06:00
sp98 f8bc7a40dc core: cephblockpoolRadosNamespace cleanup
Clean up pool images and snapshots in the
radosnamespace

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit f6b1449faa)
2024-04-12 17:13:43 +00:00
Travis Nielsen d52edfefbc Merge pull request #14066 from rook/mergify/bp/release-1.14/pr-14002
osd: Prevent osd reconcile when device set names duplicated (backport #14002)
2024-04-12 08:56:46 -06:00
Travis Nielsen d528e2c541 osd: prevent osd reconcile when device set names duplicated
If device set names are duplicated, the OSDs will be very confused
when multiple OSDs attempt to be configured with the same
device set names. Updating the device set names does not help
get out of the error situation since the OSDs will also be
confused about which device set they belong to. The reconcile
must fail completely if the device set names are duplicated
to avoid this error scenario.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7f68d8be38)
2024-04-12 13:28:11 +00:00
Travis Nielsen cfe61733e2 Merge pull request #14055 from rook/mergify/bp/release-1.14/pr-14036
subvolumegroup: add support for size and datapool (backport #14036)
2024-04-11 15:49:57 -06:00
Blaine Gardner 6c134c04b8 Merge pull request #14061 from rook/mergify/bp/release-1.14/pr-14040
osd: add option upgradeOSDRequiresHealthyPGs (backport #14040)
2024-04-11 14:53:28 -06:00
mmaoyu 4c18227cd9 osd: add option upgradeOSDRequiresHealthyPGs
For check if cluster PGs are healthy before osd updates
Which helps gainning more confidence in the osd upgrades

Signed-off-by: mmaoyu <wupiaoyu61@gmail.com>
(cherry picked from commit 6d4afe23e5)
2024-04-11 20:14:32 +00:00
Madhu Rajanna 87a61fb494 subvolumegroup: add support for size and datapool
cephfs subvolumegroup supports creating svg
with quota and the datapool, This PR adds the
support for the same.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit f57a8b6bbe)
2024-04-10 10:58:48 -06:00
Travis Nielsen 27aa55d0da Merge pull request #14053 from rook/mergify/bp/release-1.14/pr-14026
core: subvolumegroup clean up (backport #14026)
2024-04-10 10:44:08 -06:00
sp98 93787b6a97 core: subvolumegroup clean up
Cleanup the resources created by subvolumegroup
when its deleted. Following resources will be cleaned up:
- OMAP value
- OMAP keys
- Clones
- Snapshots
- Subvolumes

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit ef00fdac53)
2024-04-10 13:29:19 +00:00
Travis Nielsen 90b3bb233b Merge pull request #14047 from rook/mergify/bp/release-1.14/pr-14046
doc: fix network provider bullets and numbering (backport #14046)
2024-04-08 14:03:28 -06:00
Blaine Gardner 0dc3dfec48 doc: fix network provider bullets and numbering
Most bullets and numbering in the network providers doc (sub-doc of
CephCluster CR) wasn't rendering properly on the web. Fix by making sure
there is a blank line before each numbered/bulleted section. And make
sure nested numberings are indented 4 spaces.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit ad9e0976e2)
2024-04-08 17:23:56 +00:00
Travis Nielsen 6714255ad1 Merge pull request #14032 from rook/mergify/bp/release-1.14/pr-13993
ci: Fix mergify auto merge test names (backport #13993)
2024-04-04 14:34:35 -06:00
Travis Nielsen f225f9a34d ci: fix mergify auto merge test names
The test names must match exactly for the mergify
auto merge to complete successfully. Update two of
the test names to match the latest CI.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 83b017994e)
2024-04-04 20:32:30 +00:00