Commit Graph
11428 Commits
Author SHA1 Message Date
mergify[bot] 570efbb09a Merge pull request #14745 from rook/mergify/bp/release-1.15/pr-14722
external: mds caps to healthchecker/cephfs users (backport #14722)
2024-09-20 06:42:06 +00:00
subhamkrai 690a4a629a external: mds caps to healthchecker/cephfs users
for cephfs fencing in external mode, we run command `ceph tell mds ***`
which requires user user to include cap mds allow * in permission. So,
we need to add this in healthchercker and cephfs provisioner user

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 32c5d99ef5)
2024-09-20 06:12:53 +00:00
Travis Nielsen ffe87031b6 Merge pull request #14744 from travisn/release-1.15.2
build: Update release version to v1.15.2
v1.15.2
2024-09-19 14:21:10 -06:00
Travis Nielsen d8f8ec9d43 build: update the release version to v1.15.2
For the patch release update the docs and examples
to v1.15.2

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-09-19 13:06:50 -06:00
Travis Nielsen 3eb17e28f2 Merge pull request #14712 from rook/mergify/bp/release-1.15/pr-14702
doc: add the pv encryption key rotation job (backport #14702)
2024-09-19 13:01:18 -06:00
mergify[bot] dff8f6a36b Merge pull request #14742 from rook/mergify/bp/release-1.15/pr-14731
core: Enable annotations on crash collector (backport #14731)
2024-09-19 18:18:27 +00:00
Travis Nielsen 8c64dec248 core: enable annotations on crash collector
The crash collector daemon had missed the ability to
add custom annotations via the cephcluster CR, as already
supported for all the other daemons.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit fa2941d098)
2024-09-19 17:49:17 +00:00
Travis Nielsen 03f9aaba82 Merge pull request #14735 from rook/mergify/bp/release-1.15/pr-14717
Configure prio-limit for ceph exporter container (backport #14717)
2024-09-19 11:48:45 -06:00
subham rai baa75373d3 Merge pull request #14740 from rook/mergify/bp/release-1.15/pr-14738
ci: fix ci permission issue with minikube start (backport #14738)
2024-09-19 22:01:47 +05:30
subhamkrai 3b9188071d ci: fix ci permission issue with minikube start
this commit upgrade the minikube, k8s, crictl versions
in CI and also fix permission error in the github runner.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit f647444515)
2024-09-19 16:01:29 +00:00
Artem Torubarov 362cf539eb exporter: move config to cluster CRD
allows to set prio-limit and stats-period options to ceph exporter

Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit b2c39ace25)
2024-09-18 20:16:36 +00:00
Travis Nielsen d6e270a714 Merge pull request #14734 from rook/mergify/bp/release-1.15/pr-14720
docs: Add documentation for VolumeGroupSnapshot (backport #14720)
2024-09-18 14:13:55 -06:00
Niraj Yadav e622c52f3f docs: add documentation for volumegroupsnapshot
This PR adds the sample YAMLs and documentation
for the VolumeGroupSnapshot feature.

Signed-off-by: Niraj Yadav <niryadav@redhat.com>
(cherry picked from commit 1e3d08f114)
2024-09-18 19:47:24 +00:00
mergify[bot] 642dd3837d Merge pull request #14721 from rook/mergify/bp/release-1.15/pr-14679
docs: add grafana dashboards files to docs (backport #14679)
2024-09-12 17:11:59 +00:00
Alexander Trost 4f69682e7d ci: code spell ignore grafana dashboard json files
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 325950239b)
2024-09-12 16:44:34 +00:00
Alexander Trost 7ac0716fe6 docs: add grafana dashboards files to docs
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 36f6807fbe)
2024-09-12 16:44:34 +00:00
mergify[bot] 1cdb226100 Merge pull request #14711 from rook/mergify/bp/release-1.15/pr-14709
pool: Allow negative step num in crush rule (backport #14709)
2024-09-10 14:28:23 +00:00
parth-gr adb0a66c4d doc: add the pv encryption key rotation job
Add missing csi addon's feature in the Rook document

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 4af5b6a331)
2024-09-10 14:13:37 +00:00
Travis Nielsen 63e7c8125d pool: allow negative step num in crush rule
The crush rules may have a negative step num.
Rook had assumed negative values were not possible,
but just had not been encountered previously in
a custom crush rule.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b9188c793a)
2024-09-10 13:58:34 +00:00
Travis Nielsen 1a1daf6bff Merge pull request #14707 from rook/mergify/bp/release-1.15/pr-14693
csi: stop deleting csi-operator resources (backport #14693)
2024-09-09 12:19:15 -06:00
mergify[bot] 629e700b43 Merge pull request #14706 from rook/mergify/bp/release-1.15/pr-14653
core: check for duplicate ceph fs pool names (backport #14653)
2024-09-09 17:11:49 +00:00
subhamkrai 3eaf33b077 csi: stop deleting csi-operator resources
to keep it simple we'll not delete the csi-operator resources
we'll only document this for users who want to switch to csi-drivers.
Anyways by next release we'll only support csi-operator only.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit a16ad75c92)
2024-09-09 16:42:53 +00:00
sp98 a19ad79353 core: check for duplicate ceph fs pool names
Only single pool will get created if there are multiple
data pool entries with same name. This PR just adds a check
to fail if duplicate pools are present.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 8fa8612201)
2024-09-09 16:40:49 +00:00
mergify[bot] 9c877efa91 Merge pull request #14696 from rook/mergify/bp/release-1.15/pr-14694
csi: update to new cephcsi release (backport #14694)
2024-09-06 15:22:28 +00:00
Madhu Rajanna 5f2be2e52c csi: update to new cephcsi release
we have 3.12.2 as the new cephcsi release
updating the rook to use the same.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit d041be4bcf)
2024-09-06 14:52:00 +00:00
Travis Nielsen 8cbd486f99 Merge pull request #14683 from rook/mergify/bp/release-1.15/pr-14645
osd: discover metadata and wal devices for raw device cleanup (backport #14645)
2024-09-05 11:52:06 -06:00
Travis Nielsen 7723c5a100 Merge pull request #14691 from rook/mergify/bp/release-1.15/pr-14585
introduce a way to enforce host network on all pods (backport #14585)
2024-09-05 11:51:50 -06:00
mergify[bot] 917bb0160e Merge pull request #14692 from rook/mergify/bp/release-1.15/pr-14667
mon: Remove extra mon from quorum before taking down pod (backport #14667)
2024-09-05 17:40:32 +00:00
Travis Nielsen 09c90655a7 mon: remove extra mon from quorum before taking down pod
When removing a mon from quorum, there is a race condition that
can result in mon quorum going being lost at least temporarily.
The mon pod was being deleted first, and then the mon removed
from quorum. If any other mon went down between the time the
pod of the bad mon was deleted and when the mon was removed from
quorum, there may not be sufficient quorum to complete the
action of removing the mon from quorum and the operator would
be stuck.

For example, there could be 4 mons temporarily due to timing
of upgrading K8s nodes where mons may be taken down for some
number of minutes. Say a new mon is started while the down
mon also comes back up. Now the operator sees it can remove
the 4th mon from quorum, so it starts to remove it. Now say
another mon goes down on another node that is being updated
or otherwise drained. Since the 4th mon pod was deleted
and another mon is down, there are only two mons remaining
in quorum, but 3 mons are required in quorum when there
are 4 mons. Therefore, the quorum is stuck until the
third mon comes back up.

The solution is to first remove the extra mon from quorum
before taking down the mon pod.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 8987d26a6d)
2024-09-05 17:12:16 +00:00
Michael Adam d73f4ffb0f network: add a new operator config setting ROOK_ENFORCE_HOSTNETWORK
This new setting is of Boolean type and defaults to "false".

    When set to "true", it changes the behavior of the
     rook operator to
    nable host network on all pods created by the cephcluster controller

     new method to check the setting:  opcontroller.EnForceHostNetwork()

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit e378588359)
2024-09-05 16:57:09 +00:00
Travis Nielsen 80a9bdbbdc Merge pull request #14687 from travisn/release-1.15.1
build: Update release version to v1.15.1
v1.15.1
2024-09-04 15:07:55 -06:00
Travis Nielsen 2a1c5e0d2c build: update release version to v1.15.1
For the patch release update the docs and manifests
to v1.15.1

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-09-04 13:57:32 -06:00
mergify[bot] b764be7a2d Merge pull request #14682 from rook/mergify/bp/release-1.15/pr-14671
csi: update csi-addons to v0.9.1 (backport #14671)
2024-09-04 04:37:12 +00:00
Mathias Chapelain 98fc04793b osd: discover metadata and wal devices for raw device cleanup
When doing the clean-up of raw device OSDs, it was not taking metadata
and wal devices into account. This commit discover them via the output
of `ceph-volume raw list`, which is returning `device_db` and/or
`device_wal` if they are present.

After discovering the metadata and wal device it also clean them and
close the encrypted device if any.

Signed-off-by: Mathias Chapelain <mathias.chapelain@proton.ch>
(cherry picked from commit 52ca68d46e)
2024-09-03 19:51:16 +00:00
Madhu Rajanna 21daa24046 csi: update csi-addons to v0.9.1
updating csi-addons to latest
v0.9.1 release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 05d579b607)
2024-09-03 18:15:40 +00:00
mergify[bot] 10c87a0285 Merge pull request #14669 from rook/mergify/bp/release-1.15/pr-14642
helm: reorder volumes in rook-ceph-csi scc for argocd diff to show no changes (backport #14642)
2024-08-30 20:53:27 +00:00
rene 04f3eae0fd helm: reorder volumes in rook-ceph-csi scc for argocd diff to show no changes
Signed-off-by: rene <rene.raab@gmx.net>
Co-authored-by Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 746ef30b09)
2024-08-30 20:23:54 +00:00
Travis Nielsen d25b68fb93 Merge pull request #14664 from rook/mergify/bp/release-1.15/pr-14652
docs: exhaustively list all priority class options (backport #14652)
2024-08-30 09:17:57 -06:00
Tarun Gupta Akirala 3cfa3eee7e docs: exhaustively list all priority class options
List all possible config values for listing
PriorityClasses in CephCluster CRD.

Signed-off-by: Tarun Gupta Akirala <tarun.akirala@nutanix.com>
(cherry picked from commit 48ab3d774f)
2024-08-29 18:56:35 +00:00
Travis Nielsen fea54304db Merge pull request #14661 from rook/mergify/bp/release-1.15/pr-14616
rgw: allow users to add custom volume mounts (backport #14616)
2024-08-29 08:38:46 -06:00
Blaine Gardner ad5b332e77 rgw: allow users to add custom volume mounts
Allow RGW users to mount arbitrary volumes to RGW pods. This follows the
pattern that was established for NFS to support SSSD and LDAP, and
reuses much of the same code.

This opens the door wider for advanced users to take advantage of some
Ceph RGW features that Rook doesn't have first class support for.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit eea43b7b79)
2024-08-28 22:51:16 +00:00
mergify[bot] 23e2663504 Merge pull request #14639 from rook/mergify/bp/release-1.15/pr-14636
core: fix Ceph monitor deployment in separate zones (backport #14636)
2024-08-27 19:36:17 +00:00
Travis Nielsen 9bd6c0253f Merge pull request #14628 from rook/mergify/bp/release-1.15/pr-14627
external: remove the false bool values from config file (backport #14627)
2024-08-27 13:35:39 -06:00
Blaine Gardner 734b2fa4a3 Merge pull request #14658 from rook/mergify/bp/release-1.15/pr-14641
docs: fix ceph object multisite and update source code layout (backport #14641)
2024-08-27 12:16:29 -06:00
Vamsi Krishna Sethu c4accdadf7 docs: fix ceph object multisite and update source code layout
Signed-off-by: Vamsi Krishna Sethu <sethuvamsikrishna@gmail.com>
(cherry picked from commit a26565d922)
2024-08-27 17:29:22 +00:00
Travis Nielsen 2c9be22f2f Merge pull request #14657 from rook/mergify/bp/release-1.15/pr-14656
docs: fix typo (backport #14656)
2024-08-27 09:38:07 -06:00
chanyoung 7c8de4e637 docs: fix typo
Corrects a typo in 'CRDs/Cluster/host-cluster.md'.

Signed-off-by: chanyoung <park910113@gmail.com>
(cherry picked from commit d1b014090d)
2024-08-27 15:25:34 +00:00
Blaine Gardner a28bf5748b Merge pull request #14635 from rook/mergify/bp/release-1.15/pr-14631
core: fix host cleanup jobs to read flags correctly. (backport #14631)
2024-08-27 08:55:39 -06:00
subham rai 1e496a5536 Merge pull request #14640 from rook/mergify/bp/release-1.15/pr-14630
tests: fix unit test failure on macOS due to temp directory path (backport #14630)
2024-08-26 10:11:54 +05:30
chanyoung d8073bc36f tests: fix unit test failure on macOS due to temp directory path
Use os.TempDir() instead of '/tmp'. This is for the peermap tests.

Signed-off-by: chanyoung <park910113@gmail.com>
(cherry picked from commit d77f6e5e3d)
2024-08-23 13:16:17 +00:00