Commit Graph
13292 Commits
Author SHA1 Message Date
Tobias Wolf 675678fad6 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>
2024-12-06 09:16:47 +01:00
Travis Nielsen 476827eff6 Merge pull request #14776 from sp98/osd-migration
migrate OSDs to enable encryption as day-2 operation
2024-12-05 23:24:42 -07:00
Santosh Pillai 85c81946ce osd: enable encryption as day-2 operation
Migrate OSDs to enable encryption as day-2 operation.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2024-12-06 09:33:03 +05:30
Travis Nielsen 324df99be8 Merge pull request #15066 from parth-gr/fix-osd-deviceclass
osd: fix device class label on osd pod
2024-12-05 16:20:47 -07:00
Michael Adam 46fae529eb ci: simplify the codegen workflow a bit
the codegen ci workflow was previously fixed by copying the checkout dir
to the GOPATH. With the updated codegen tooling, this alignment is not a
requirement any more.

This simplifies the codegen workflow again by reverting the earlier
changes that added the copy mechanism.

This reverts commit 714f80a80a.
This reverts commit f32d3df995.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-12-05 19:19:38 +01:00
Blaine Gardner fe9664f7c0 Merge pull request #14915 from obnoxxx/update-codegen
build: Update codegen
2024-12-05 09:46:27 -07:00
parth-gr 50d6d6ab5f 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>
2024-12-05 16:56:09 +05:30
parth-gr 01456e8683 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>
2024-12-05 16:56:04 +05:30
9e725b6214 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
2024-12-04 21:00:10 +01:00
Blaine Gardner 44e96c8ab6 Merge pull request #15080 from OdedViner/annotations_cephcluster
core: Fix Annotations.Merge to prevent side effects
2024-12-04 10:30:01 -07:00
Zac Dover fb682e2e24 doc: block-storage.md: Add formatting to namespaces
Add formatting to some namespace names and provisioner values in order
to make the
Storage-Configuration/Block-Storage-RBD/block-storage/provision-storage
section more legible.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-12-04 13:39:06 +01:00
parth-gr 7413b49a86 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>
2024-12-04 18:08:00 +05:30
Oded Viner f1d3e0d4c0 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>
2024-12-04 12:29:27 +02:00
subham rai ea3947351f Merge pull request #15071 from Madhu-1/add-rbac-csi-addons
csi: provide delete access to csiaddonsnode
2024-11-27 17:05:35 +05:30
Madhu Rajanna b34c0b9164 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>
2024-11-27 11:52:33 +01:00
Travis Nielsen df958b3bec Merge pull request #15051 from parth-gr/reconcle-fix
rbdmirror: rbd import cmd stuck forever
2024-11-26 10:11:05 -07:00
Travis Nielsen cc400ea35e Merge pull request #15057 from subhamkrai/update-k8s-min-version
ci: upgrade k8s min version to 1.27
2024-11-26 09:45:49 -07:00
subham rai 7efcd08ea6 Merge pull request #15054 from rook/dependabot/github_actions/github/codeql-action-3.27.5
build(deps): bump github/codeql-action from 3.27.4 to 3.27.5
2024-11-26 21:07:58 +05:30
subhamkrai 72885c7927 ci: upgrade k8s min version to 1.27
since k8s 1.32 is coming out soon and we
want to support the latest six k8s versions so,
let's upgrade the min k8s version to 1.27 for rook 1.16.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-11-26 21:01:46 +05:30
subham rai b1a35f6fdb Merge pull request #15063 from nixpanic/csi-addons/v0.11.0
csi: update csi-addons to v0.11.0
2024-11-26 16:31:26 +05:30
Niels de Vos f1d448cc46 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>
2024-11-26 10:38:54 +01:00
Travis Nielsen cda00ce068 Merge pull request #15061 from travisn/mergify-1.16
ci: Add 1.16 branch to mergify rules and remove obsolete branches
2024-11-25 14:04:53 -07:00
Travis Nielsen 4e727f302c ci: remove 1.11 and 1.12 branches from mergify rules
Remove the 1.11 and 1.12 backport rules from mergify
since no longer needed.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-11-25 12:29:19 -07:00
Travis Nielsen 4dc001b784 ci: add 1.16 branch to mergify rules
With the creation of the 1.16 branch, add the branch
to the mergify rules.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-11-25 12:27:11 -07:00
Travis Nielsen a7e6777c98 Merge pull request #15058 from Madhu-1/csi-3.12.3
csi: update to latest cephcsi release
v1.16.0-alpha.0
2024-11-25 11:56:31 -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
dependabot[bot] 1f6e399c35 build(deps): bump github/codeql-action from 3.27.4 to 3.27.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.4 to 3.27.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/ea9e4e37992a54ee68a9622e985e60c8e8f12d9f...f09c1c0a94de965c15400f5634aa42fac8fb8f88)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 12:57:32 +00:00
parth-gr 996a88f902 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>
2024-11-25 17:04:11 +05:30
Travis Nielsen 506407b5ea tests: upgrade from rook 1.15 to master
The upgrade tests in master have been upgrading from 1.14 to
master. In anticipation of the v1.16 release, we change
the upgrade tests to start from v1.15 to test if there
are any regressions in the supported upgrades.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-11-22 10:40:02 -07:00
Blaine Gardner fc08e87d44 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>
2024-11-21 16:03:32 -07:00
Travis Nielsen a8f8d57131 Merge pull request #15038 from cobaltcore-dev/zone-shared-pools-fix
rgw: fix shared pools for zone
2024-11-21 14:20:04 -07:00
Travis Nielsen 0bb194f4f5 Merge pull request #15021 from rook/dependabot/github_actions/github/codeql-action-3.27.4
build(deps): bump github/codeql-action from 3.27.1 to 3.27.4
2024-11-21 11:29:17 -07:00
Travis Nielsen 2002d9c93d Merge pull request #15027 from parth-gr/external-radosnamespace
external: fix detect job in radosnamespace controller
2024-11-21 08:10:15 -07:00
Travis Nielsen d7ec9ea1aa Merge pull request #15033 from emmanuel-ferdman/master
docs: update Ceph Block Pool CRD reference
2024-11-21 08:02:43 -07:00
Artem Torubarov 418d6e07e4 rgw: fix shared pools for zone
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
2024-11-21 14:58:40 +01:00
Emmanuel Ferdman 011a04762b docs: update Ceph Block Pool CRD reference
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-11-21 04:52:10 -08:00
parth-gr a484ff7d96 external: fix detect job in radosnamespace controller
in external mode deployments ceph iamge is not provided
and job keeps on failing to get the cephversion
fix by checking  if ceph iamge is available

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-11-21 16:42:55 +05:30
Travis Nielsen 333937a114 Merge pull request #15032 from subhamkrai/fix-csi-op-errors
csi: fix new csi-operator related changes
2024-11-20 10:47:53 -07:00
subhamkrai af68134f0f csi: fix new csi-operator related changes
this commit fix the code error faced during e2e testing in
different PR. This PR is just subset of PR 14766. We don't want
to include CI changes in this PR yet.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-11-20 17:14:06 +05:30
Blaine Gardner fc456553b3 Merge pull request #14976 from obnoxxx/fix-revisionhistorylimit
Complete the implementation of  ROOK_REVISION_HISTORY_LIMIT
2024-11-19 13:13:02 -07:00
Michael AdamandTravis Nielsen 39c061fc49 helm: make sure deployments get RevisionHistoryLimit
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
2024-11-19 17:10:57 +01:00
Michael Adam a0fb9aa507 core: apply RevisionHistoryLimit to csi
Signed-off-by: Michael Adam <obnox@samba.org>
2024-11-19 17:10:57 +01:00
Michael Adam a530101147 core: propagate RevisionHistoryLimit to crashcollector
still incomplete.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-11-19 10:55:26 +01:00
Michael AdamandTravis Nielsen 70d4f5d4b7 core: fix the revisionHistoryLimit implementation and test
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
2024-11-19 10:55:26 +01:00
Travis Nielsen 4524f3d78e Merge pull request #15016 from solidDoWant/master
rook: add warning when duplicate node topology values are detected
2024-11-18 11:51:13 -07:00
Fred Heinecke f54ecaaff1 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>
2024-11-18 18:23:56 +00:00
subham rai 3cb2fa9b01 Merge pull request #15022 from rook/dependabot/github_actions/DavidAnson/markdownlint-cli2-action-18.0.0
build(deps): bump DavidAnson/markdownlint-cli2-action from 17.0.0 to 18.0.0
2024-11-18 21:14:54 +05:30
subham rai f2cb53a002 Merge pull request #15020 from rook/dependabot/github_actions/dcarbone/install-jq-action-3.0.1
build(deps): bump dcarbone/install-jq-action from 2.1.0 to 3.0.1
2024-11-18 21:14:29 +05:30
Travis Nielsen 474a7c0dfc Merge pull request #15019 from amrut-asm/master
helm: set service account for toolbox pod
2024-11-18 07:15:55 -07:00
dependabot[bot] c061162dac build(deps): bump DavidAnson/markdownlint-cli2-action
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 17.0.0 to 18.0.0.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/db43aef879112c3119a410d69f66701e0d530809...eb5ca3ab411449c66620fe7f1b3c9e10547144b0)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 12:46:12 +00:00