Commit Graph
12227 Commits
Author SHA1 Message Date
Travis Nielsen fc5929149b Merge pull request #15772 from rook/mergify/bp/release-1.17/pr-15696
operator: specify ceph config via secret (backport #15696)
2025-04-23 12:24:55 -06:00
Travis Nielsen 67104dc6e9 Merge pull request #15771 from rook/mergify/bp/release-1.17/pr-15750
test: update Prometheus Operator to v0.82.0 (backport #15750)
2025-04-23 12:17:11 -06:00
Patryk Rostkowski f88622ef7c operator: specify ceph config via secret
Adds .spec.cephConfigFromSecret to CephCluster for loading
Ceph config parameters from a Kubernetes Secret.

Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com>
(cherry picked from commit 45b0ef2104)
2025-04-23 17:54:42 +00:00
Oded Viner a35e42f18a test: update Prometheus Operator to v0.82.0
this PR updates the Prometheus Operator URL references from
version v0.71.1 to the latest release v0.81.0 in documentation
and integration test scripts. This ensures we are aligned with
the latest features and improvements from
the Prometheus Operator project.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 5d143d990c)
2025-04-23 17:45:25 +00:00
Travis Nielsen 9b2a3b100f Merge pull request #15770 from rook/mergify/bp/release-1.17/pr-15769
doc: fix indentation and add enabled: true in dashboard config example (backport #15769)
2025-04-23 11:42:55 -06:00
Oded Viner 59afbf65bf doc: fix indentation and add enabled: true in dashboard config example
This PR corrects the indentation of the dashboard block
and adds the missing enabled: true field in the YAML example.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 63acf76871)
2025-04-23 17:22:47 +00:00
Blaine Gardner beb30317a9 Merge pull request #15765 from rook/mergify/bp/release-1.17/pr-15764
object: lower retry log verbosity in notification OBC controller (backport #15764)
2025-04-22 12:50:41 -06:00
Blaine Gardner ace9597404 object: lower retry log verbosity in notification OBC controller
Lower the verbosity of a message in the notification controller's OBC
label watcher. If the OBC controller is having issues provisioning the
OBC, this log will spam every 10 seconds. Reduce the message verbosity
level to debug.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 08233d5b6d)
2025-04-22 16:55:29 +00:00
Travis Nielsen ae8d3e50c9 Merge pull request #15760 from rook/mergify/bp/release-1.17/pr-15742
build: Stop publishing release artifacts for non-released builds (backport #15742)
2025-04-21 15:44:11 -06:00
Travis Nielsen 9249fb7f91 build: push arch specific images to the registries
The arch specific images were not be pushed since the make
target was missing.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 63e13868ea)
2025-04-21 15:34:57 -06:00
Travis Nielsen df2f9c8b26 build: stop publishing charts in master branch
The helm charts will now only be published when it is
an officially tagged release build.

The images will only be published to all repos for
dockerhub, quay, and ghcr when it is a tagged release.

The images will be published only to dockerhub for all
master and interim release branch builds.

Remove obsolete makefile option for images.
Ceph is the only image Rook ever expects to build.
Simplify the makefile by removing the legacy option
to select which image to build.

Also included are other small improvements to clean up
the release scripts.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7d908d0a5e)
2025-04-21 21:34:10 +00:00
mergify[bot] ab88c8d032 Merge pull request #15757 from rook/mergify/bp/release-1.17/pr-15747
object: Log all reconcile errors during object store creation (backport #15747)
2025-04-21 16:46:05 +00:00
Travis Nielsen 5be41e2b8a object: log all reconcile errors during object store creation
The object store controller was swallowing errors of the
type not found, assuming a certain category of errors
when ceph may still be initializing. But some of these
errors could be user error and they need to troubleshoot
the details of the error, so we need to log the specific
error instead of swallowing it.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 95a5920bef)
2025-04-21 16:14:45 +00:00
Travis Nielsen 458f5ffd5e Merge pull request #15748 from travisn/helm-ver
helm: Set correct release tag for helm values
2025-04-18 11:27:23 -06:00
Travis Nielsen 90d5d297e6 helm: set correct release tag for helm values
The v1.17.0 release missed setting the proper helm
tag for the version to deploy of the operator.
Updating to ensure the next release will include the
correct version.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-04-18 10:45:52 -06:00
Travis Nielsen 45977257a8 Merge pull request #15740 from travisn/release-1.17.0
build: Update release version to v1.17.0
v1.17.0
2025-04-16 13:36:06 -06:00
Travis Nielsen b09108dd48 build: update release version to v1.17.0
For the minor release update the examples and docs
to v1.17.0

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-04-16 13:02:17 -06:00
Travis Nielsen 9b393cb8a0 Merge pull request #15738 from rook/mergify/bp/release-1.17/pr-15521
object: add CephBucketTopic .spec.endpoint.kafka.{user,password}SecretRef (backport #15521)
2025-04-16 12:59:45 -06:00
Joshua Hoblitt 76f4877ed9 object: add CephBucketTopic .spec.endpoint.kafka.{user,password}SecretRef
userSecretRef and passwordSecretRef fields are added to allow the Kafka
endpoint username and password to be supplied from a Kubernetes Secret,
rather than exposed as plaintext as part of the endpoint URI. If the
endpoint URI has HTTP basic auth user-id and user-pass components, they
are overridden by userSecretRef and passwordSecretRef.

Squid added bucket topic attributes for configuring the user-name and
password for pushing notifications to Kafka as an alternative to
encoding credentials into the URI. However, these attributes are not
supported under Reef. Thus, this initial implementation relies on URI
mangling for compatible with both Reef and Squid. Future work could
using Ceph version detection and switch to the new attributes to be used
with Squid and/or the implementation could be converted exclusively to
use the new attributes once Rook has dropped support for Reef.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 7887f03c5c)
2025-04-16 18:25:48 +00:00
mergify[bot] 818afad819 Merge pull request #15736 from rook/mergify/bp/release-1.17/pr-15733
ci: run selective disk cleanups in go CI tests (backport #15733)
2025-04-16 17:41:38 +00:00
Blaine Gardner f7651a297b ci: run selective disk cleanups in go CI tests
The Ceph upgrade tests have been flaky or reliably failing for various
Ceph/Rook versions due to mon out of space issues. Reinstate the disk
cleanup action, but do not clean up items that rely on the package
manager for removal. Package manager takes 2-4 minutes to operate and is
likely not worth it, even for saving 15+ GB of space.

From testing with this configuration, we can save 11GB of space in about
8 seconds of runtime. This should (hopefully) be plenty of space to keep
total disk usage below 95% and keep mons healthy, and the time needed is
negligible.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit e97103d859)
2025-04-16 17:11:41 +00:00
Travis Nielsen 36e9462832 Merge pull request #15734 from rook/mergify/bp/release-1.17/pr-15621
Update mon and placement docs for clarity (backport #15621)
2025-04-16 11:04:41 -06:00
Termibg22 ac982240b0 docs: update CephCluster CRD documentation for mon and placement settings
This PR updates the CephCluster CRD documentation to clarify the behavior and interactions between mon settings and placement configuration.

Signed-off-by: Termibg22 <rbujan@protonmail.com>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Co-authored-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 7e21b6c1c2)
2025-04-16 16:54:00 +00:00
Travis Nielsen f29f00e50d Merge pull request #15732 from rook/mergify/bp/release-1.17/pr-15709
osd: Document the ceph conf overrides per node (backport #15709)
2025-04-16 10:04:13 -06:00
Travis Nielsen d3a972c7de osd: document the ceph conf overrides per node
Recently the feature was implemented for osd node-specific
ceph.conf overrides in https://github.com/rook/rook/pull/15293.
Now the documentation is added for the feature.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 874eb1f7f2)
2025-04-16 15:59:06 +00:00
mergify[bot] c327173d18 Merge pull request #15731 from rook/mergify/bp/release-1.17/pr-15718
mon: always delete mon canary pods (backport #15718)
2025-04-16 15:05:16 +00:00
Santosh Pillai c6704a241e mon: always delete mon canary pods
In case of multicluster service, we need to always delete the mon-canary
pods even if there is any failure while exporting the service, else
multiple mon canary pods will get created.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit 75c6bb8cd2)
2025-04-16 14:34:47 +00:00
mergify[bot] 17e71b1de3 Merge pull request #15729 from rook/mergify/bp/release-1.17/pr-15727
core: fix logs to print correct OSD ID (backport #15727)
2025-04-16 14:09:04 +00:00
Santosh Pillai 906dde225d core: fix logs to print correct OSD ID
use %d to print integer osd.ID

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit e0d2275c8b)
2025-04-16 13:39:48 +00:00
Travis Nielsen 7e556497f6 Merge pull request #15721 from rook/mergify/bp/release-1.17/pr-15710
tests: Lower threshold for mon free space (backport #15710)
2025-04-15 15:50:30 -06:00
mergify[bot] ff9186cfcd Merge pull request #15723 from rook/mergify/bp/release-1.17/pr-15719
feat: add labels to ingress resource (backport #15719)
2025-04-15 19:51:26 +00:00
Bryan Jones 677bba12c8 helm: add info comments to the chart values
Signed-off-by: Bryan Jones <unix.chkpwd@gmail.com>
(cherry picked from commit 04cc4ee3e4)
2025-04-15 19:22:58 +00:00
Bryan Jones 7986c365fc helm: add labels to ingress resource
Signed-off-by: Bryan Jones <unix.chkpwd@gmail.com>
(cherry picked from commit 41884a19bf)
2025-04-15 19:22:58 +00:00
Travis Nielsen f9b5e7b08d tests: lower threshold for mon free space
The tests sometimes see that the mons run out of space
in the CI, therefore, we reduce the space required
from 30% down to 10%.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit ca1d2ed3e3)
2025-04-15 18:20:52 +00:00
Blaine Gardner 84fe7dbc2f Merge pull request #15716 from rook/mergify/bp/release-1.17/pr-15686
doc: add CephBucketTopic kafka mechanism field to upgrade docs (backport #15686)
2025-04-15 10:19:52 -06:00
Joshua Hoblitt d7eda17aa1 doc: add CephBucketTopic kafka mechanism field to upgrade docs
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 02c65b832e)
2025-04-15 15:58:01 +00:00
mergify[bot] e300dac4e5 Merge pull request #15708 from rook/mergify/bp/release-1.17/pr-15704
core: Set default ceph version to v19.2.2 (backport #15704)
2025-04-14 21:50:49 +00:00
Blaine Gardner a66d8bdab9 Merge pull request #15706 from rook/mergify/bp/release-1.17/pr-15705
test: update ExecuteCommandWithTimeout unit test (backport #15705)
2025-04-14 14:49:06 -06:00
Travis Nielsen 0e4d7f35c9 core: set default ceph version to v19.2.2
Update the examples and docs and operator base image to
the latest ceph release v19.2.2.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit f62e6d9cc2)
2025-04-14 19:42:24 +00:00
Blaine Gardner 1e571498dc test: update ExecuteCommandWithTimeout unit test
Update the unit test for ExecuteCommandWithTimeout(). This unit failed a
CI run. This seems to have been a race condition where the previous
`cat` command was returning quickly enough that it was available to the
`select` statment at the same time as the timeout.

Resolve this issue by replacing the `cat` command with `sleep`, which
will be guaranteed to take longer to return than the timeout, ensuring
this race doesn't happen.

While working on the test, I also notice that the 30 second timeouts for
other tests would be too long in the event the commands hang for any
reason, so lower these to help ensure the CI won't time out due to
unforeseen events.

Also add a missing unit test to ensure error returns (via `false`
command) without timeouts are properly returned.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 137b627737)
2025-04-14 19:36:54 +00:00
Blaine Gardner 8d5f582455 Merge pull request #15703 from rook/mergify/bp/release-1.17/pr-15702
docs: fix typos in CephObjectStoreUser.spec.keys example (backport #15702)
2025-04-14 12:37:19 -06:00
Joshua Hoblitt 2f7aac065b docs: fix typos in CephObjectStoreUser.spec.keys example
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit a01c861b07)
2025-04-14 17:53:28 +00:00
mergify[bot] 90fa461545 Merge pull request #15700 from rook/mergify/bp/release-1.17/pr-15693
csi: update cephcsi to v3.14.0 (backport #15693)
2025-04-14 14:53:54 +00:00
Rakshith R cbbee37fb1 csi: update cephcsi to latest release
This commit updates cephcsi version to 3.14.0
in rook.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit a555885a5f)
2025-04-14 14:23:58 +00:00
Blaine Gardner 11b8b12660 Merge pull request #15692 from rook/mergify/bp/release-1.17/pr-15690
core: update cephstatus fsmap gid type to uint64 (backport #15690)
2025-04-10 13:25:11 -06:00
mergify[bot] e6e64defbf Merge pull request #15689 from rook/mergify/bp/release-1.17/pr-15670
ci: update minimum k8s supported version to 1.28 (backport #15670)
2025-04-10 19:04:47 +00:00
Blaine Gardner 1a670a26ad core: update cephstatus fsmap gid type to uint64
Ceph uses uint64 (unsigned long) type for CephFS GID. Rook was using
int, which was causing failures when the GID overflowed Rook's type.
Update Rook's type to match Ceph's.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 5b27189ac4)
2025-04-10 18:58:14 +00:00
subhamkrai 7a8fdf0a5d ci: update minimum k8s supported version to 1.28
with this commit we are updating min supported k8s
version to 1.28 from 1.27 in docs and CI both.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 13699226e4)
2025-04-10 12:33:52 -06:00
mergify[bot] 48c4147f2b Merge pull request #15688 from rook/mergify/bp/release-1.17/pr-15687
update oauth package Fix CVE 2025 22868 (backport #15687)
2025-04-10 16:30:17 +00:00
Santosh Pillai c03a1e1265 build: update oauth to address cve 2025-22868
updates oauth package version to v0.27.0
Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit bdc1bf2089)
2025-04-10 16:00:25 +00:00