Commit Graph
11197 Commits
Author SHA1 Message Date
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
Travis Nielsen 56cf22cd6c Merge pull request #14031 from rook/mergify/bp/release-1.14/pr-14023
doc: make CSI host netowrking required (backport #14023)
2024-04-04 14:25:02 -06:00
Travis Nielsen 5ba42f3408 Merge pull request #14029 from rook/mergify/bp/release-1.14/pr-14027
ci: update go version in govulncheck (backport #14027)
2024-04-04 14:21:08 -06:00
Blaine Gardner 1fdff81e26 doc: make CSI host netowrking required
The network providers doc, including the holder pod migration sections,
were developed with the understanding that CSI could be placed into pod
networking mode if desired by users. In reality, this hasn't been
supported due to bugs.

This allows streamlining the holder pod migration sections to no longer
need to document for users what to do if they use CSI in pod network
mode.

Rook will continue to have the `CSI_ENABLE_HOST_NETWORK` config
available as an undocumented value. This can allow users who desperately
cannot use host networking to still use pod networking, though this will
mean any CSI node plugin updates could stall mounts for running apps.
Thus we do not support it.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 519c7e8911)
2024-04-04 19:58:58 +00:00
subhamkrai 411ebfbf77 ci: update go mod and go version in govulncheck
this commits updates the go version to 1.22.2 in govulncheck ci and
also updates golang.org/x/net to v0.23.0 to fix the ci

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit f063e8fe39)
2024-04-04 13:25:29 +00:00
Travis Nielsen bc37caa462 Merge pull request #14024 from travisn/release-1.14.0
build: set the release version to v1.14.0
v1.14.0
2024-04-03 14:26:19 -06:00
Travis Nielsen 606cef3999 build: set the release version to v1.14.0
For the minor release update the example manifests and docs
to v1.14.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-04-03 12:49:45 -06:00
Travis Nielsen ee84245fea Merge pull request #14022 from rook/mergify/bp/release-1.14/pr-14014
helm: Separate repository and tags for csi images in the operator chart (backport #14014)
2024-04-03 12:46:38 -06:00
Travis Nielsen 68b66ca937 helm: separate repository and tags for csi images
The csi images in the operator helm chart previously were a single
image name including the repository and tag in a single string.
Now the repository and tag values are separated to allow for
greater customization of the repository from the version tags.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 64f71d9258)
2024-04-03 18:17:31 +00:00
subham rai 04f0f65134 Merge pull request #14021 from rook/mergify/bp/release-1.14/pr-14019
rgw: fix typo on crd endpoint address (backport #14019)
2024-04-03 21:00:11 +05:30
Liang Zheng ded63dab1c rgw: fix typo on crd endpoint address
The rgw endpoint address had a typo

Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
(cherry picked from commit 76d3d85628)
2024-04-03 14:55:39 +00:00
subham rai 724a0a7dc0 Merge pull request #14015 from rook/mergify/bp/release-1.14/pr-13958
operator: improve the output of kubectl get (backport #13958)
2024-04-03 11:15:12 +05:30
subham rai b8b0377245 Merge pull request #14012 from rook/mergify/bp/release-1.14/pr-14008
docs: fix network configuration bullets (backport #14008)
2024-04-03 10:43:56 +05:30
NymanRobin 459a0431dd operator: improve the output of kubectl get
make the kubectl output for crds more verbose.
Following changes was done for each crd:

CephBlockPool:
Added print columns:
 - Type
 - FailureDomain
 - Replication
 - EC-CodingChunks
 - EC-DataChunks
 - Age
Extended info field of status to include:
type and failureDomain

CephObjectStore:
Added print columns:
 - Endpoint
 - SecureEndpoint
 - Age

Added Age to print columns of following crds:
CephObjectStoreUser, CephObjectZoneGroup,
CephObjectZone, CephBucketTopic, CephClient,
CephRBDMirror, CephFilesystemMirror,
CephFilesystemSubVolumeGroup

Signed-off-by: NymanRobin <nyman.robin@gmail.com>
(cherry picked from commit 17adb16d0b)
2024-04-03 05:13:13 +00:00
Blaine Gardner a528f71b0c Merge pull request #14013 from rook/mergify/bp/release-1.14/pr-13997
doc: update release notes and upgrade docs for v1.14 (backport #13997)
2024-04-02 14:11:43 -06:00
Blaine Gardner d30c08da9a doc: update release notes and upgrade docs for v1.14
Update pending release notes, upgrade docs, and supplementary
documentation relevant for upgrades for the upcoming Rook v1.14 release.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 0736d7613d)
2024-04-02 18:32:52 +00:00
Travis Nielsen 5ca99fa834 Merge pull request #14009 from rook/mergify/bp/release-1.14/pr-14006
csi: update cephcsi to v3.11.0 release (backport #14006)
2024-04-02 12:20:45 -06:00
Travis Nielsen c4ee9b3284 Merge pull request #14010 from rook/mergify/bp/release-1.14/pr-14005
core: use correct pool name to disable mirroring (backport #14005)
2024-04-02 12:20:30 -06:00
Mathieu Parent 721486f2f2 docs: fix network configuration bullets
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
(cherry picked from commit 6cd3b55861)
2024-04-02 18:04:27 +00:00
sp98 bbb593cd38 core: use correct pool name to disable mirroring
Pool name either come from CephBlockPool name or
form the CephBlockPool Spec. Use the correct name
when trying to disable mirroring.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 996d9e136a)
2024-04-02 16:53:42 +00:00
Praveen M 2c7e0f1381 csi: update cephcsi to v3.11.0 release
This commit updates default cephcsi driver version
to v3.11.0

Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit f985018f57)
2024-04-02 16:50:39 +00:00
Travis Nielsen a921ac680a Merge pull request #13992 from rook/mergify/bp/release-1.14/pr-13991
object: Set non-ec shared pool to metadata pool (backport #13991)
2024-03-28 15:56:30 -06:00
Travis Nielsen 0e6e7e93b1 object: set non-ec shared pool to metadata pool
The omap data for multipart uploads is stored in an
additional data pool, which cannot be an EC pool.
So the extra data pool is set to the metadata pool
for object stores with shared pools.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 1c612b0f18)
2024-03-28 21:13:13 +00:00
Travis Nielsen b6b89a012a Merge pull request #13985 from travisn/release-1.14.0-beta.0
build: Update the release version to v1.14.0-beta.0
v1.14.0-beta.0
2024-03-27 17:16:46 -06:00
Travis Nielsen ddc133daf6 build: update the release version to v1.14.0-beta.0
For the new release branch update the examples and docs
to v1.14.0-beta.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-03-27 13:18:53 -06:00
Travis Nielsen dc53405132 Merge pull request #13982 from parth-gr/v2-fix-external
external: fix v2 port check in external script
v1.14.0-alpha.0
2024-03-27 11:19:14 -06:00
Travis Nielsen 61de68f3e2 Merge pull request #13955 from parth-gr/external-topology
doc: update the topology document for external mode
2024-03-27 11:07:31 -06:00
Travis Nielsen fd54644ebb Merge pull request #13977 from parth-gr/revert-pool
external: remove replicated 3 pool for the rbd sc
2024-03-27 11:04:55 -06:00
parth-gr 58f96b6aee external: remove replicated 3 pool for the rbd sc
csi pr get merged ceph/ceph-csi#4459
so, This reverts commit 812a9c02b0.
The csi PR removes the dependency of the pool parameter from the
rbd storage class if the topology pools are passed,
so removing them in the examples and making it optional

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-03-27 21:48:48 +05:30
Travis Nielsen a08f1f03fc Merge pull request #13738 from subhamkrai/add-go-1.22
build: add support for go 1.22
2024-03-27 08:27:10 -06:00
parth-gr 078487a7a6 doc: update the topology document for external mode
we need to update the operator configmap
to get enable the topology provisioning

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-03-27 19:21:03 +05:30
parth-gr 800d2f11f5 external: fix v2 port check in external script
v2 port can be avalaible without v1,
so fixing the current check

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-03-27 19:00:40 +05:30