Commit Graph
13292 Commits
Author SHA1 Message Date
Travis Nielsen 0fe36d9c72 Merge pull request #14732 from iPraveenParihar/update-csi-addons-version
csi: update csi-addons to v0.10.0
2024-09-18 09:24:05 -06:00
Praveen M afad40e404 csi: update csi-addons to v0.10.0
The csi-addons v0.10.0 release is now available.
Ref: https://github.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.10.0

Signed-off-by: Praveen M <m.praveen@ibm.com>
2024-09-18 12:19:46 +05:30
Travis Nielsen fa2941d098 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>
2024-09-17 14:24:44 -06:00
subhamkrai 32c5d99ef5 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>
2024-09-17 22:51:04 +05:30
Niraj Yadav 1e3d08f114 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>
2024-09-17 16:55:14 +05:30
subham rai 27877339d3 Merge pull request #14726 from rook/dependabot/go_modules/k8s-dependencies-05f9a3f484
build(deps): bump the k8s-dependencies group with 6 updates
2024-09-17 12:13:28 +05:30
subham rai ab654835a8 Merge pull request #14727 from rook/dependabot/go_modules/github-dependencies-9c206676f0
build(deps): bump the github-dependencies group with 4 updates
2024-09-17 12:12:02 +05:30
dependabot[bot] c8a64c4975 build(deps): bump the k8s-dependencies group with 6 updates
Bumps the k8s-dependencies group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [k8s.io/api](https://github.com/kubernetes/api) | `0.31.0` | `0.31.1` |
| [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | `0.31.0` | `0.31.1` |
| [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | `0.31.0` | `0.31.1` |
| [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) | `0.31.0` | `0.31.1` |
| [k8s.io/client-go](https://github.com/kubernetes/client-go) | `0.31.0` | `0.31.1` |
| [k8s.io/cloud-provider](https://github.com/kubernetes/cloud-provider) | `0.31.0` | `0.31.1` |

Updates `k8s.io/api` from 0.31.0 to 0.31.1
- [Commits](https://github.com/kubernetes/api/compare/v0.31.0...v0.31.1)

Updates `k8s.io/apiextensions-apiserver` from 0.31.0 to 0.31.1
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.31.0...v0.31.1)

Updates `k8s.io/apimachinery` from 0.31.0 to 0.31.1
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.31.0...v0.31.1)

Updates `k8s.io/cli-runtime` from 0.31.0 to 0.31.1
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.31.0...v0.31.1)

Updates `k8s.io/client-go` from 0.31.0 to 0.31.1
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.31.0...v0.31.1)

Updates `k8s.io/cloud-provider` from 0.31.0 to 0.31.1
- [Commits](https://github.com/kubernetes/cloud-provider/compare/v0.31.0...v0.31.1)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/apiextensions-apiserver
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/cli-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/cloud-provider
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 14:22:01 -06:00
Travis Nielsen 6702e4254e Merge pull request #14724 from rook/dependabot/github_actions/github/codeql-action-3.26.7
build(deps): bump github/codeql-action from 3.26.6 to 3.26.7
2024-09-16 14:21:48 -06:00
Travis Nielsen 1431e4fbb0 Merge pull request #14725 from rook/dependabot/github_actions/DavidAnson/markdownlint-cli2-action-17.0.0
build(deps): bump DavidAnson/markdownlint-cli2-action from 16.0.0 to 17.0.0
2024-09-16 14:21:35 -06:00
dependabot[bot] 18d32ba381 build(deps): bump the github-dependencies group with 4 updates
Bumps the github-dependencies group with 4 updates: [github.com/hashicorp/vault/api](https://github.com/hashicorp/vault), [github.com/k8snetworkplumbingwg/network-attachment-definition-client](https://github.com/k8snetworkplumbingwg/network-attachment-definition-client), [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) and [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator).

Updates `github.com/hashicorp/vault/api` from 1.14.0 to 1.15.0
- [Release notes](https://github.com/hashicorp/vault/releases)
- [Changelog](https://github.com/hashicorp/vault/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/vault/compare/v1.14.0...v1.15.0)

Updates `github.com/k8snetworkplumbingwg/network-attachment-definition-client` from 1.7.1 to 1.7.3
- [Release notes](https://github.com/k8snetworkplumbingwg/network-attachment-definition-client/releases)
- [Commits](https://github.com/k8snetworkplumbingwg/network-attachment-definition-client/compare/v1.7.1...v1.7.3)

Updates `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` from 0.76.1 to 0.76.2
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.76.1...v0.76.2)

Updates `github.com/prometheus-operator/prometheus-operator/pkg/client` from 0.76.1 to 0.76.2
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.76.1...v0.76.2)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/vault/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-dependencies
- dependency-name: github.com/k8snetworkplumbingwg/network-attachment-definition-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/client
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 14:20:26 -06:00
Artem Torubarov b2c39ace25 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>
2024-09-16 14:51:49 +02:00
dependabot[bot] 609634e019 build(deps): bump DavidAnson/markdownlint-cli2-action
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 16.0.0 to 17.0.0.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/b4c9feab76d8025d1e83c653fa3990936df0e6c8...db43aef879112c3119a410d69f66701e0d530809)

---
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-09-16 12:21:47 +00:00
dependabot[bot] 55d985409d build(deps): bump github/codeql-action from 3.26.6 to 3.26.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.6 to 3.26.7.
- [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/4dd16135b69a43b6c8efb853346f8437d92d3c93...8214744c546c1e5c8f03dde8fab3a7353211988d)

---
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-09-16 12:21:44 +00:00
Travis Nielsen 45cdbb6767 Merge pull request #14679 from galexrt/add_grafana_dashboards
docs: add grafana dashboards files to docs
2024-09-12 10:42:26 -06:00
Alexander Trost 325950239b ci: code spell ignore grafana dashboard json files
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2024-09-12 15:44:19 +02:00
Alexander TrostandTravis Nielsen 36f6807fbe docs: add grafana dashboards files to docs
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2024-09-12 15:44:16 +02:00
Santosh Pillai f32ed6292f Merge pull request #14716 from BlaineEXE/update-codegen
object: add missing codegen from pool placements
2024-09-12 12:50:39 +05:30
Blaine Gardner 645ae2b86f object: add missing codegen from pool placements
When pool placements were recently added to the object store CRD, it
seems that codegen didn't get run, and Rook's CI didn't accurately catch
the codegen issue. This will address adding the missing generated code.
Follow-up work will address fixing CI so that it doesn't continue
missing when codegen needs to be run.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-09-11 11:05:52 -06:00
Travis Nielsen 58a0c834bf Merge pull request #14702 from parth-gr/csi-addons-docs
doc: add the pv encryption key rotation job
2024-09-10 08:12:57 -06:00
Travis Nielsen 2d12ce5f8e Merge pull request #14709 from travisn/crush-neg-num
pool: Allow negative step num in crush rule
2024-09-10 07:57:30 -06:00
parth-gr 4af5b6a331 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>
2024-09-10 15:54:20 +05:30
Travis Nielsen b9188c793a 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>
2024-09-09 13:27:54 -06:00
Travis Nielsen adcc378cbd Merge pull request #14703 from rook/dependabot/go_modules/github-dependencies-cade2347bc
build(deps): bump the github-dependencies group with 2 updates
2024-09-09 12:20:00 -06:00
Travis Nielsen d313599609 Merge pull request #14705 from rook/dependabot/github_actions/snyk/actions-cdb760004ba9ea4d525f2e043745dfe85bb9077e
build(deps): bump snyk/actions from 9213221444c2dc9e8b2502c1e857c26d851e84a7 to cdb760004ba9ea4d525f2e043745dfe85bb9077e
2024-09-09 12:19:33 -06:00
Travis Nielsen 0b15025f3c Merge pull request #14704 from rook/dependabot/github_actions/wagoid/commitlint-github-action-6.1.2
build(deps): bump wagoid/commitlint-github-action from 6.1.1 to 6.1.2
2024-09-09 12:18:48 -06:00
Travis Nielsen b16c1f223e Merge pull request #14588 from cobaltcore-dev/rgw-pool-placement
Rgw pool placement
2024-09-09 11:16:54 -06:00
Travis Nielsen b47e739de1 Merge pull request #14693 from subhamkrai/skip-deleting-csi-op
csi: stop deleting csi-operator resources
2024-09-09 10:42:22 -06:00
Travis Nielsen 32cac16b27 Merge pull request #14653 from sp98/check-duplicate-fs-pool-name
core: check for duplicate ceph fs pool names
2024-09-09 10:39:56 -06:00
dependabot[bot] 67c40fe5be build(deps): bump snyk/actions
Bumps [snyk/actions](https://github.com/snyk/actions) from 9213221444c2dc9e8b2502c1e857c26d851e84a7 to cdb760004ba9ea4d525f2e043745dfe85bb9077e.
- [Release notes](https://github.com/snyk/actions/releases)
- [Commits](https://github.com/snyk/actions/compare/9213221444c2dc9e8b2502c1e857c26d851e84a7...cdb760004ba9ea4d525f2e043745dfe85bb9077e)

---
updated-dependencies:
- dependency-name: snyk/actions
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 12:55:29 +00:00
dependabot[bot] 3b59db4b87 build(deps): bump wagoid/commitlint-github-action from 6.1.1 to 6.1.2
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 6.1.1 to 6.1.2.
- [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wagoid/commitlint-github-action/compare/a2bc521d745b1ba127ee2f8b02d6afaa4eed035c...3d28780bbf0365e29b144e272b2121204d5be5f3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 12:55:21 +00:00
dependabot[bot] 454ec1eea4 build(deps): bump the github-dependencies group with 2 updates
Bumps the github-dependencies group with 2 updates: [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) and [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator).


Updates `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` from 0.76.0 to 0.76.1
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.76.0...v0.76.1)

Updates `github.com/prometheus-operator/prometheus-operator/pkg/client` from 0.76.0 to 0.76.1
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.76.0...v0.76.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/client
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 12:06:37 +00:00
subham rai 4135f86384 Merge pull request #14674 from obnoxxx/ci-check-helm-docs
CI:  rename  target check-helm-docs  to check.helm-docs
2024-09-09 15:42:50 +05:30
subhamkrai a16ad75c92 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>
2024-09-08 10:57:53 +05:30
Michael Adam d9d0d8e1d3 ci: rename 'check-helm-docs' to 'check.helm-docs
This makes the naming of ci-related make targets more systematic and
consistent.

It is based on PR https://github.com/rook/rook/pull/14672
 and continues the pattern started in that PR.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-09-06 17:49:17 +02:00
Blaine Gardner 936bd7745f Merge pull request #14672 from obnoxxx/ci-docs-check-rework
ci: slightly rework the docs-check workflow.
2024-09-06 09:45:01 -06:00
Travis Nielsen 3a5de35744 Merge pull request #14694 from Madhu-1/csi-3.12.2
csi: update to new cephcsi release
2024-09-06 08:50:26 -06:00
Madhu Rajanna d041be4bcf 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>
2024-09-06 16:17:24 +02:00
Artem Torubarov 59175f0b40 rgw: pool placement
Signed-off-by: Artem Torubarov <torubarov.a.a@gmail.com>
2024-09-06 16:02:53 +02:00
Michael Adam 93179a41f3 ci: slightly rework the docs-check workflow
This reworks the docs-check ci workflow in several ways:

* It renames the make target 'check-docs' to the  more systematic 'check.docs'.
* It adds a 'docs'mode to the  files validation script, and uses the script in `make check.docs`.

Overall, the workflow and local make targets are more systematic and
consistent with this change.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-09-05 22:09:40 +02:00
Travis Nielsen 772a4fa73c Merge pull request #14667 from travisn/remove-mon-race
mon: Remove extra mon from quorum before taking down pod
2024-09-05 11:11:46 -06:00
Blaine Gardner bc4147911a Merge pull request #14585 from obnoxxx/force-host-network
introduce a way to enforce host network on all pods
2024-09-05 10:56:02 -06:00
Michael Adam e378588359 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>
2024-09-05 17:34:13 +02:00
Travis Nielsen 8987d26a6d 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>
2024-09-04 13:06:22 -06:00
Travis Nielsen 04eecf7ab1 Merge pull request #14645 from Papawy/cleanup-metadata-wal
osd: discover metadata and wal devices for raw device cleanup
2024-09-03 13:50:17 -06:00
Travis Nielsen c9d98d9a06 Merge pull request #14671 from Madhu-1/fix-csi-addons-0.9.1
csi: update csi-addons to v0.9.1
2024-09-03 12:14:42 -06:00
subham rai afe72ffd8c Merge pull request #14675 from rook/dependabot/github_actions/actions/setup-python-5.2.0
build(deps): bump actions/setup-python from 5.1.1 to 5.2.0
2024-09-03 16:40:30 +05:30
Madhu Rajanna 05d579b607 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>
2024-09-03 12:52:00 +02:00
subham rai b6142aba0f Merge pull request #14676 from rook/dependabot/github_actions/actions/upload-artifact-4.4.0
build(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0
2024-09-03 16:18:13 +05:30
subham rai d8be14d74e Merge pull request #14677 from rook/dependabot/github_actions/github/codeql-action-3.26.6
build(deps): bump github/codeql-action from 3.26.5 to 3.26.6
2024-09-03 16:17:47 +05:30