Commit Graph
11480 Commits
Author SHA1 Message Date
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] 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
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
subham rai b74584f8ef Merge pull request #14678 from rook/dependabot/go_modules/github-dependencies-2c13738831
build(deps): bump github.com/csi-addons/kubernetes-csi-addons from 0.9.0 to 0.9.1 in the github-dependencies group
2024-09-03 16:17:27 +05:30
dependabot[bot] bf99a14c71 build(deps): bump github.com/csi-addons/kubernetes-csi-addons
Bumps the github-dependencies group with 1 update: [github.com/csi-addons/kubernetes-csi-addons](https://github.com/csi-addons/kubernetes-csi-addons).


Updates `github.com/csi-addons/kubernetes-csi-addons` from 0.9.0 to 0.9.1
- [Release notes](https://github.com/csi-addons/kubernetes-csi-addons/releases)
- [Commits](https://github.com/csi-addons/kubernetes-csi-addons/compare/v0.9.0...v0.9.1)

---
updated-dependencies:
- dependency-name: github.com/csi-addons/kubernetes-csi-addons
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 12:31:43 +00:00
dependabot[bot] 4458eae5c8 build(deps): bump github/codeql-action from 3.26.5 to 3.26.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.5 to 3.26.6.
- [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/2c779ab0d087cd7fe7b826087247c2c81f27bfa6...4dd16135b69a43b6c8efb853346f8437d92d3c93)

---
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-02 12:14:04 +00:00
dependabot[bot] fc9cea164e build(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/834a144ee995460fba8ed112a2fc961b36a5ec5a...50769540e7f4bd5e21e526ee35c689e35e0d6874)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 12:13:57 +00:00
dependabot[bot] 1ee58cc5bc build(deps): bump actions/setup-python from 5.1.1 to 5.2.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/39cd14951b08e74b54015e9e001cdefcf80e669f...f677139bbe7f9c59b41e40162b753c062f5d49a3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 12:13:48 +00:00
Travis Nielsen 06f11e850f Merge pull request #14642 from raynay-r/fix-scc-volume-order-for-argocd-diff
helm: reorder volumes in rook-ceph-csi scc for argocd diff to show no changes
2024-08-30 14:22:57 -06:00
rene 746ef30b09 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>
2024-08-30 13:51:58 -06:00
Travis Nielsen e7e1434267 Merge pull request #14652 from takirala/patch-2
docs: exhaustively list all priority class options
2024-08-29 12:55:23 -06:00
Tarun Gupta Akirala 48ab3d774f 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>
2024-08-29 08:14:56 -07:00
Mathias Chapelain 52ca68d46e 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>
2024-08-29 08:47:32 +02:00
Blaine Gardner 88eab510dd Merge pull request #14660 from travisn/reset-release-notes
docs: Reset pending release notes
2024-08-28 16:51:53 -06:00
Blaine Gardner 6a4c87dc92 Merge pull request #14616 from BlaineEXE/rgw-allow-extra-volumes
rgw: allow users to add custom volume mounts
2024-08-28 16:47:23 -06:00