Commit Graph
11584 Commits
Author SHA1 Message Date
subham rai 6ce8e2ed32 Merge pull request #15197 from rook/mergify/bp/release-1.15/pr-15191
docs: Remove obsolete min csi version (backport #15191)
2024-12-18 15:15:36 +05:30
Travis Nielsen a5f73d5ff9 docs: remove obsolete min csi version
The csi version is no longer checked by Rook. If the user
changes the default csi version, it's their responsibility
to ensure it is updated according to the upgrade guide,
we just don't officially have a min version anymore.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 26ff895f0a)
2024-12-18 06:42:11 +00:00
Travis Nielsen 932232510f Merge pull request #15193 from travisn/release-1.15.7
build: Update the patch version to v1.15.7
v1.15.7
2024-12-17 13:13:40 -07:00
Travis Nielsen 8b2734a9c0 build: update the patch version to v1.15.7
For the patch release update the docs and examples to
v1.15.7

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-12-17 12:43:11 -07:00
mergify[bot] ce8e42a925 Merge pull request #15181 from rook/mergify/bp/release-1.15/pr-15178
ceph: Update s5cmd to resolve vulnerabilities (backport #15178)
2024-12-17 15:50:24 +00:00
TomHellier 6c9c91f131 build: update s5cmd to resolve vulnerabilities
The docker.io/rook/ceph image contains vulnerabilities in the s5cmd binary.
A new version of s5cmd was released on 16th December which resolves these issues.

Signed-off-by: TomHellier <me@tomhellier.com>
(cherry picked from commit a87843de62)
2024-12-17 15:20:15 +00:00
Travis Nielsen 8c3527b973 Merge pull request #15171 from rook/mergify/bp/release-1.15/pr-15158
docs: Fix misleading example for urlPrefix (backport #15158)
2024-12-16 11:27:01 -07:00
Silvio Ankermann a6675e7838 docs: fix misleading example for urlPrefix
The default value for protocols.swift.urlPrefix is "swift", which makes
the Swift API available at http://host:port/swift/v1. However, in the
documentation our example says "/swift", which resulted in the
unexpected endpoint http://host:port//swift/v1.

Apparently, Ceph distinguishes between both values even though their
docs[1] seem to suggest that using leading slashes is fine.

This commit fixes the examples in the documentation to use the default
value "swift".

[1]
https://docs.ceph.com/en/reef/radosgw/config-ref/#confval-rgw_swift_url_prefix

Fixes #15065

Signed-off-by: Silvio Ankermann <silvio.ankermann@cloudandheat.com>
(cherry picked from commit fcce3ca520)
2024-12-16 16:31:25 +00:00
Blaine Gardner c6ccea6433 Merge pull request #15144 from BlaineEXE/bp-115-cosi-user-revert
Revert "object: create cosi user for each object store"
2024-12-11 16:38:53 -07:00
Travis Nielsen 1665a7ed54 ci: suppress the error from creating the dashboard admin user
The dashboard admin rgw user has timing isssues in the CI.
For now, just suppress the CI failure and log the error
until we can spend more time to get a reliable wait for the
user creation.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 23f3db1261)
2024-12-11 15:57:40 -07:00
Blaine Gardner 97da6d1414 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:18:01 -07:00
Travis Nielsen eac748b0cf Merge pull request #15117 from rook/mergify/bp/release-1.15/pr-15056
file: Add support for named MDS metadata pool names (backport #15056)
2024-12-09 16:22:24 -07:00
Tobias Wolf 9610407d89 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:23:46 -07:00
Travis Nielsen fdc8d66f88 Merge pull request #15059 from rook/mergify/bp/release-1.15/pr-15058
csi: update to latest cephcsi release (backport #15058)
2024-12-05 23:36:36 -07:00
Travis Nielsen b23e62feb2 Merge pull request #15069 from rook/mergify/bp/release-1.15/pr-15051
rbdmirror: rbd import cmd stuck forever (backport #15051)
2024-12-05 23:35:24 -07:00
Travis Nielsen 21924d3c49 Merge pull request #15095 from rook/mergify/bp/release-1.15/pr-15066
osd: fix device class label on osd pod (backport #15066)
2024-12-05 23:27:36 -07:00
parth-gr 67b2cee921 osd: fix osd resources per device class
GetOSDResources method was populating
wrong device class to get the osd
resources
This fix will fix the deviceClass label
for the GetOSDResources function

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 50d6d6ab5f)
2024-12-05 23:21:32 +00:00
parth-gr a2a92b7c4d osd: add a new devicetype label for osds
currently device class and device type
labels were clubbed with eachother
create a seperate label, as these two labels
can be seperate

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 01456e8683)
2024-12-05 23:21:32 +00:00
parth-gr 4c389eada4 osd: fix device class label on osd pod
we were adding the device class as the
disk rotational type, but device class
can be user defined, so if user has
added the device class, use that value

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 7413b49a86)
2024-12-05 23:21:31 +00:00
Blaine Gardner 05988a9655 Merge pull request #15092 from rook/mergify/bp/release-1.15/pr-14915
build: Update codegen (backport #14915)
2024-12-05 12:43:00 -07:00
Michael Adam 3cb1c0ae4d build: upgrade codegen tooling to the latest version
This includes and is based on the changes of:

https://github.com/rook/rook/pull/14894

Co-authored-by: Blaine Gardner <b.blaine.gardner@gmail.com>
Co-authored-by: subhamkrai <srai@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>

Fixes: #14894
(cherry picked from commit 9e725b6214)
2024-12-05 16:47:26 +00:00
Blaine Gardner 72f9a12922 Merge pull request #15089 from rook/mergify/bp/release-1.15/pr-15080
core: Fix Annotations.Merge to prevent side effects (backport #15080)
2024-12-04 11:18:39 -07:00
Oded Viner 7f6a942768 core: prevent side effects in Annotations.Merge
This commit updates the Annotations.Merge function to fix an issue where
the original Annotations map was unintentionally modified.
The new implementation creates a separate map to ensure
the original map remains unchanged during the merge process.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit f1d3e0d4c0)
2024-12-04 17:30:42 +00:00
parth-gr b718f79476 rbdmirror: rbd import cmd stuck forever
if the import from the peer cluster doesnt
work, because of some reasons like
cluster health, network, etc

the import cmd stuck forever and which
forever stucks the blockppol reconcile

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 996a88f902)
2024-11-26 10:31:13 -07:00
Madhu Rajanna 009f949d71 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>
(cherry picked from commit e599ef67ef)
2024-11-25 12:19:19 -07:00
Travis Nielsen 7a6b64f04b Merge pull request #15046 from rook/mergify/bp/release-1.15/pr-14906
test: Wait for mon daemons rather than mon canaries (backport #14906)
2024-11-22 11:08:39 -07:00
Travis Nielsen 2eaf5a8087 test: wait for mon daemons rather than mon canaries
The mon canaries may be created even when the mon daemons
are not created thereafter during the integration tests.
Therefore, the integration tests need to also query a label
specific to the mon daemon so the canaries are not a distraction
to the test.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b52ba6baca)
2024-11-22 17:38:46 +00:00
mergify[bot] ad306272eb Merge pull request #15042 from rook/mergify/bp/release-1.15/pr-15038
rgw: fix shared pools for zone (backport #15038)
2024-11-21 23:12:12 +00:00
Artem Torubarov d231a3abda rgw: fix shared pools for zone
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit 418d6e07e4)
2024-11-21 21:21:30 +00:00
Travis Nielsen af0bd9f4e1 Merge pull request #15041 from travisn/release-1.15.6
build: Update release version to v1.15.6
v1.15.6
2024-11-21 14:13:20 -07:00
Travis Nielsen eb9ebc56d5 build: update release version to v1.15.6
For the patch release update the docs and examples
to v1.15.6

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-11-21 12:50:43 -07:00
Travis Nielsen f13aedaaee Merge pull request #15024 from rook/mergify/bp/release-1.15/pr-15016
rook: add warning when duplicate node topology values are detected (backport #15016)
2024-11-20 10:07:36 -07:00
Travis Nielsen a74c66508d Merge pull request #15029 from rook/mergify/bp/release-1.15/pr-14976
Complete the implementation of  ROOK_REVISION_HISTORY_LIMIT (backport #14976)
2024-11-20 10:07:17 -07:00
Michael Adam bd3bdb78d8 helm: make sure deployments get RevisionHistoryLimit
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 39c061fc49)
2024-11-19 13:55:23 -07:00
Michael Adam c7ea87ca92 core: apply RevisionHistoryLimit to csi
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a0fb9aa507)

# Conflicts:
#	pkg/operator/ceph/csi/spec.go
2024-11-19 13:55:23 -07:00
Michael Adam 687a7d9898 core: propagate RevisionHistoryLimit to crashcollector
still incomplete.

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a530101147)
2024-11-19 20:14:03 +00:00
Michael Adam a21f542fec core: fix the revisionHistoryLimit implementation and test
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 70d4f5d4b7)
2024-11-19 20:14:03 +00:00
Fred Heinecke a1ba4155f8 osd: add warning when duplicate node topology values are detected
When node topology labels with duplicate values are detected, rook silently discards all but one label.
This adds a warning informing administrators of this, allowing for easier identification of labeling issues.

Signed-off-by: Fred Heinecke <fred.heinecke@yahoo.com>
(cherry picked from commit f54ecaaff1)
2024-11-18 18:52:38 +00:00
Travis Nielsen 782e080ec6 Merge pull request #15023 from rook/mergify/bp/release-1.15/pr-15019
helm: set service account for toolbox pod (backport #15019)
2024-11-18 08:03:11 -07:00
amrut-asm a5c14926b3 helm: set service account for toolbox pod
run the tools pod with the rook-ceph-default service account

setting the service account for the pod prevents SCC violations on openshift

Signed-off-by: amrut-asm <amrutrn1@gmail.com>
(cherry picked from commit 8750b70771)
2024-11-18 14:16:53 +00:00
mergify[bot] f595e930ac Merge pull request #15018 from rook/mergify/bp/release-1.15/pr-14826
osd: import keyring file on activate to ceph auth if not imported yet (backport #14826)
2024-11-18 11:09:12 +00:00
Peter Razumovsky 7a29055e36 osd: add osd auth recovery from file canary job test
Add test to canary-integration-test scenarios which removes
osd auth and then recovers it on osd activation from keyring
file.

Resolves: #14825
Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
(cherry picked from commit 12613bc2fa)
2024-11-15 22:14:49 -07:00
Peter Razumovsky f3a714399c osd: remove excess if-else for keyring file import in activate script
Remove unnecessary if-else statement inside "if keyring file exists"
condition of osd activate script.

Resolves: #14825
Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
(cherry picked from commit 62ffcd4cbe)
2024-11-16 05:06:44 +00:00
Peter Razumovsky 5ec687cee1 osd: import keyring file on activate to ceph auth if not imported yet
If host path keyring file exists and created during osd-prepare but not
imported to ceph auth then rook-ceph-osd activate init container will
create new keyring in ceph auth by ceph auth get-or-create command. To
avoid keyrings difference in host path and in ceph auth, consider
importing key from host path keyring file if no keyring found in ceph
auth.

Resolves: #14825
Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
(cherry picked from commit 6eb2d1121a)

# Conflicts:
#	pkg/operator/ceph/cluster/osd/spec.go
2024-11-16 05:06:44 +00:00
Travis Nielsen e9e9e982b1 Merge pull request #15015 from rook/mergify/bp/release-1.15/pr-15004
external: fix external cluster docs (backport #15004)
2024-11-15 07:36:03 -07:00
parth-gr 7e7e3db3c9 external: fix external cluster docs
update the incstruction for where to run python script

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 59ed91cc7e)
2024-11-15 14:31:37 +00:00
Travis Nielsen ea5261e379 Merge pull request #15003 from sgielen/docs/1.15-upgrade
Amend k8s and Ceph minimum versions in the 1.15 upgrade guides. Fixes #14998.
2024-11-14 20:27:52 -07:00
Sjors Gielen 0f33fa5f11 docs: amend k8s and Ceph minimum versions in the 1.15 upgrade guides. Fixes #14998
Signed-off-by: Sjors Gielen <sjors@sjorsgielen.nl>
2024-11-14 12:08:00 +01:00
mergify[bot] 01d8e5ea32 Merge pull request #14983 from rook/mergify/bp/release-1.15/pr-14981
operator: monitors should always be allowed to failover (backport #14981)
2024-11-08 17:03:19 +00:00
Grant Fleming 171a45e006 operator: monitors should always be allowed to failover
Previously arbiter monitors were allowed to failover in supported versions
of Ceph. This behaviour regressed. Since all supported versions of Ceph now
support this, we no longer need to check this at all.

Signed-off-by: Grant Fleming <gfleming@evroc.com>
(cherry picked from commit cdf692d227)
2024-11-08 16:23:52 +00:00