Commit Graph
13292 Commits
Author SHA1 Message Date
subham rai fe3fdeda6e Merge pull request #15501 from nixpanic/csi-addons/v0.12.0
csi: update csi-addons to v0.12.0
2025-03-05 16:26:55 +05:30
Niels de Vos 25d3b6d5fc csi: update csi-addons to v0.12.0
The csi-addons v0.12.0 release is now available.

See-also: https://github.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.12.0
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-03-05 09:35:41 +01:00
Patryk Rostkowski fda1189dbf exporter: add missing rook-ceph-exporter container port definition
Adds the missing exporter container port to enable
proper Prometheus scraping and filtering.

Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com>
2025-03-04 14:54:40 +01:00
Travis Nielsen 9a5bf16247 Merge pull request #15400 from cobaltcore-dev/ext-mon-2
Implement external arbiter mon
2025-03-03 12:01:12 -07:00
Artem Torubarov c79d28669b ci: add external mon to pending release notes
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
2025-03-03 18:53:58 +01:00
Travis Nielsen d7aab32cf1 Merge pull request #15493 from travisn/ghcr-perms
ci: Add packages write permission for ghcr
2025-03-03 10:33:47 -07:00
Travis Nielsen 62ee784ae3 ci: add packages write permission for ghcr
Publishing packages to ghcr requires the packages
write permission

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-03-03 10:29:58 -07:00
Travis Nielsen 64bd25b2a4 Merge pull request #15490 from subhamkrai/use-github-token
ci: use github token instead of api token
2025-03-03 09:44:01 -07:00
subhamkrai 1ba567a39e ci: use github token instead of api token
github token should be used intead of api token
for ghcr

Signed-off-by: subhamkrai <srai@redhat.com>
2025-03-03 22:11:01 +05:30
subham rai 3077d0efdd Merge pull request #15274 from subhamkrai/add-rook-image-to-oci
ci: push rook image to other oci like quay,ghcr
2025-03-03 21:14:00 +05:30
Travis Nielsen 3399b712da Merge pull request #15426 from cobaltcore-dev/rgw-config-from-secret
object: allow overriding rgw config value from secret
2025-03-03 07:53:13 -07:00
Travis Nielsen 98a3d20c43 Merge pull request #15486 from parth-gr/fix-black
ci: update the python black package
2025-03-03 07:42:33 -07:00
Travis Nielsen afe3aafa9f Merge pull request #15483 from subhamkrai/fix-build-publish
ci: update python version in push build runner
2025-03-03 07:21:34 -07:00
Artem Torubarov 0b2e830111 mon: support external mons in local rook cluster
Implements #14733. Allows to set IDs of external mons to
Cluster CRD. Rook will not remove external mons from quorum
and will add external mon addresses to mon endpoints.
Use-case for external mon is to maintain quorum for 2-AZ
k8s cluster in case of zone outage.

Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
2025-03-03 14:49:39 +01:00
Artem Torubarov 81d0f69aae object: change log level for config from secret
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
2025-03-03 14:48:55 +01:00
Artem Torubarov 3b2e6f5bf6 object: allow overriding rgw config value from secret
Implements #15422
Extends existing ObjectStore configuration options with
rgwConfigFromSecret allowing to refer config value from
kubernetes secret.

Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
2025-03-03 14:48:55 +01:00
parth-gr a3bde46ad3 ci: update the python black package
in the ci lint file, we use a dependency
from a 3rd party lint, which updates
the black package, The underlined python script
file was not updated to the latest formatting,
so re-format the file and update the
3rd party dependency version

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-03-03 18:48:39 +05:30
dependabot[bot] 3017a7e736 build(deps): bump docker/setup-qemu-action from 3.4.0 to 3.6.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.4.0 to 3.6.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/4574d27a4764455b42196d70a065bc6853246a25...29109295f81e9208d7d86ff1c6c12d2833863392)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 12:50:43 +00:00
subhamkrai 3f1d0b192a ci: update python version in push build runner
currently push-build runner is having python version 3.9
and some of the dependencies are failing when trying to install
with pip upgrading to 3.13(latest) fixed the issue.

Signed-off-by: subhamkrai <srai@redhat.com>
2025-03-03 10:52:32 +05:30
Blaine Gardner 3d6af8facf Merge pull request #15477 from obnoxxx/docs-lengthy-commits
docs: slight rewording in development guide
2025-02-28 11:51:24 -07:00
Michael Adam 1d3f8c58fb docs: slight rewording in development guide
The development  guide mentioned that commit messages
should be lengthy which has a negative connotation
of meaning long-winded.

This change rewords the corresponding part to sound   more positive.

Signed-off-by: Michael Adam <obnox@samba.org>
2025-02-28 13:44:04 +01:00
Travis Nielsen e5f1d9f589 Merge pull request #15295 from subhamkrai/fix-rgw-multisite-ci-test
ci: Increase rgw multisite test timeout for s3 client call
2025-02-27 11:28:10 -07:00
subhamkrai 0dda801488 ci: test rgw multisite test
Signed-off-by: subhamkrai <srai@redhat.com>
2025-02-27 23:19:13 +05:30
Travis Nielsen f892baa22c Merge pull request #15470 from travisn/stretch-pool-creation
mgr: Wait for builtin mgr pool to exist before enabling stretch
2025-02-27 10:01:32 -07:00
Blaine Gardner 851852b015 Merge pull request #15423 from obnoxxx/make-markdownlint
CI: extract    'markdownlint' and 'golangci-lint' make targets from the ci workflows
2025-02-27 09:59:21 -07:00
Michael Adam 3e230661ae docs: document how to run linters locally
This change expands the section about regression testing in the
developer guide by adding information about how  to run  linters
locally.

Signed-off-by: Michael Adam <obnox@samba.org>
2025-02-27 16:35:20 +01:00
Michael Adam 8a4aa1fd00 build: add a make target 'golangci-lint'
This adds a command 'make golangci-lint'

This is done so developers can conveiently run golangci-lint
locally like it runs in the CI.

golangci-lint is also run as part of the more general 'make lint'.

Signed-off-by: Michael Adam <obnox@samba.org>
2025-02-27 16:29:54 +01:00
Michael Adam d1ef4f9e69 build: add a make target 'markdownlint'
This checks the documentation sources for syntactic correctness

The functionality is essentially extracted from the docs-check workflow
to provide developers with a tool to locally run the corresponding check
before pushing

Signed-off-by: Michael Adam <obnox@samba.org>
2025-02-27 16:29:54 +01:00
Travis Nielsen 8429affc79 mgr: wait for builtin mgr pool to exist before enabling stretch
There is a race condition in ceph v19 at startup of a
stretch cluster where if the .mgr pool is created by
the mgr pod after stretch mode is entered, the
devicehealth mgr module will crash and cause a
ceph HEALTH_ERR. The error then causes rook reconcile
of all CRs to be skipped because Rook is assuming
admin intervention is needed to continue. The fix
is to wait until the .mgr pool is created by the mgr
pod before entering stretch mode.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-02-27 08:10:52 -07:00
Travis Nielsen 3bd5881fe5 core: suppress mgr module health errors during reconcile
Some ceph health errors should not block the reconcile
of the cluster. Mgr modules do not have cause to block
the reconcile, as the cluster can usually work even
if a module is failing.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-02-27 08:10:52 -07:00
Travis Nielsen b1df450cbd Merge pull request #15471 from subhamkrai/update-ubuntu-version
ci: update ubuntu version to 22.04 or latest
2025-02-27 07:48:16 -07:00
subhamkrai 1f4d2bb29b ci: update ubuntu version to 22.04 or latest
ubuntu 20.04 is going to unsupported by April 1 and there
are planned brownouts planned from March 4th. so let's
upgrade to version 22.04.

Signed-off-by: subhamkrai <srai@redhat.com>
2025-02-27 09:48:34 +05:30
subhamkrai df3c757141 ci: push rook image to other oci like quay,ghcr
currently rook images are only available in docker,
let's start pushing rook images to quay.io and ghcr.io as well.

Signed-off-by: subhamkrai <srai@redhat.com>
2025-02-27 09:44:29 +05:30
Blaine Gardner 64bb8141b2 Merge pull request #15451 from rook/dependabot/go_modules/github-dependencies-8e097e19d0
build(deps): bump the github-dependencies group across 1 directory with 6 updates
2025-02-26 11:27:23 -07:00
dependabot[bot] 328383fa27 build(deps): bump the github-dependencies group across 1 directory with 6 updates
Bumps the github-dependencies group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph) | `0.31.0` | `0.32.0` |
| [github.com/google/go-cmp](https://github.com/google/go-cmp) | `0.6.0` | `0.7.0` |
| [github.com/hashicorp/vault/api](https://github.com/hashicorp/vault) | `1.15.0` | `1.16.0` |
| [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) | `0.80.0` | `0.80.1` |
| [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator) | `0.80.0` | `0.80.1` |
| [github.com/spf13/cobra](https://github.com/spf13/cobra) | `1.8.1` | `1.9.1` |

Updates `github.com/ceph/go-ceph` from 0.31.0 to 0.32.0
- [Release notes](https://github.com/ceph/go-ceph/releases)
- [Changelog](https://github.com/ceph/go-ceph/blob/master/docs/release-process.md)
- [Commits](https://github.com/ceph/go-ceph/compare/v0.31.0...v0.32.0)

Updates `github.com/google/go-cmp` from 0.6.0 to 0.7.0
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.6.0...v0.7.0)

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

Updates `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` from 0.80.0 to 0.80.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.80.0...v0.80.1)

Updates `github.com/prometheus-operator/prometheus-operator/pkg/client` from 0.80.0 to 0.80.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.80.0...v0.80.1)

Updates `github.com/spf13/cobra` from 1.8.1 to 1.9.1
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/ceph/go-ceph
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-dependencies
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-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/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
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-dependencies
...

Note:
Requires some cascaded updates to ./api go modules as well.

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 10:57:00 -07:00
Blaine Gardner 8010042a61 Merge pull request #15424 from parth-gr/mds-liveness-fix
mds: fix mds liveness probe
2025-02-26 09:08:19 -07:00
Travis Nielsen 799d45c8da Merge pull request #15456 from rook/dependabot/go_modules/github.com/go-jose/go-jose/v4-4.0.5
build(deps): bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5
2025-02-25 17:26:15 -07:00
Travis Nielsen 612979b6f0 Merge pull request #15293 from travisn/node-ceph-conf-override
osd: Enable node specific ceph conf overrides
2025-02-25 14:13:54 -07:00
dependabot[bot] 40a2c03e38 build(deps): bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5
Bumps [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Changelog](https://github.com/go-jose/go-jose/blob/main/CHANGELOG.md)
- [Commits](https://github.com/go-jose/go-jose/compare/v4.0.4...v4.0.5)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 14:09:26 -07:00
Travis Nielsen 9b6e2b5e60 Merge pull request #15455 from patrostkowski/docs/rook-maintenance-14995
docs: add comprehensive Rook Ceph cluster maintenance guide
2025-02-25 14:02:56 -07:00
Patryk Rostkowski 20f2af02ee docs: add comprehensive Rook Ceph cluster maintenance guide
- Introduced a detailed markdown document outlining
  procedures for safe cluster shutdown and restart
  as per https://github.com/rook/rook/issues/14995
- Document includes steps to scale down applications,
  set Ceph flags, and orderly shutdown of Ceph
  components (operator, RGW, CSI, OSD, MON, MGR).
- Provides command examples for both scaling
  down and scaling up deployments.
- Adds additional Q&A and best practices to help
  cluster administrators manage maintenance with
  minimal downtime.

Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com>
2025-02-25 21:52:25 +01:00
Travis Nielsen c6f709ce21 Merge pull request #15442 from travisn/operator-env-vars
core: Query env vars instead of polling the operator settings configmap
2025-02-25 11:06:36 -07:00
parth-gr 0999cf9b56 mds: fix mds liveness probe
mds liveness probe call ceph cmd with mons and keyring,
but ceph actually looks for the ceph keyring at default folder
first and then use the cmd line keyring path,
So to avoid that use ceph_args env variable to expose the keyring
folder path,
Workaround for https://tracker.ceph.com/issues/70167

closes: https://github.com/rook/rook/issues/15373

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-02-25 18:05:07 +05:30
Travis NielsenandDmitry Mishin d109dc9029 core: implement operator settings as env vars
The operator settings loaded from the configmap have proven
inefficient for load time and frequently checking the configmap.
To avoid this ineffenciency, the configmap is only loaded once
each time it is created or updated. The values in the configmap
are applied as environment variables, which then are very efficient
to query throughout the various controllers, without needing
to be concerned about loading the configmap again.

Co-authored-by: Dmitry Mishin <dmitry.mishin@gmail.com>
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-02-24 12:12:45 -07:00
Travis Nielsen 4eed2a644f Merge pull request #15433 from SkalaNetworks/master
fix(csi-addons): bind cephfs and rbd provisionners on non-colliding p…
2025-02-24 12:06:57 -07:00
Blaine Gardner 84fc8afade Merge pull request #15443 from FabianPonce/patch-2
helm: quote object store ingress hostname
2025-02-24 11:32:47 -07:00
subham rai 258de8c8cd Merge pull request #15447 from rook/dependabot/github_actions/actions/upload-artifact-4.6.1
build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
2025-02-24 21:49:13 +05:30
subham rai c6b46e10b0 Merge pull request #15448 from rook/dependabot/github_actions/azure/setup-helm-4.3.0
build(deps): bump azure/setup-helm from 4.2.0 to 4.3.0
2025-02-24 21:42:35 +05:30
subham rai 52ff9484e7 Merge pull request #15449 from rook/dependabot/github_actions/github/codeql-action-3.28.10
build(deps): bump github/codeql-action from 3.28.9 to 3.28.10
2025-02-24 21:41:53 +05:30
subham rai 567fa44e45 Merge pull request #15450 from rook/dependabot/github_actions/ossf/scorecard-action-2.4.1
build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1
2025-02-24 21:41:24 +05:30