Commit Graph
12244 Commits
Author SHA1 Message Date
Travis Nielsen 38aa7eee33 Merge pull request #15811 from rook/mergify/bp/release-1.17/pr-15781
build: add a script for setting the release version in examples, charts,  and docs (backport #15781)
2025-05-01 11:34:40 -06:00
Michael Adam 57814022ea build: add a script for setting the release version in examples,docs, and charts
This script updates examples and docs for a new release.

Invocation in principle: set-release-ver.sh  NEW_VER
For example: set-release-ver.sh v1.16.8

Fixes: #15749

Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Co-authored-by: Blaine Gardner <b.blaine.gardner@gmail.com>
(cherry picked from commit a1b941f969)
2025-05-01 17:15:03 +00:00
Travis Nielsen f7d3ae0544 Merge pull request #15806 from rook/mergify/bp/release-1.17/pr-15793
ceph: Update caps to include executable permission (backport #15793)
2025-04-30 12:42:12 -06:00
Blaine Gardner afb2922a72 Merge pull request #15807 from rook/mergify/bp/release-1.17/pr-15605
rgw: use pod name in ops log filename (backport #15605)
2025-04-30 12:32:38 -06:00
Artem Torubarov 4299ccdd22 rgw: cleanup prev ops log config from mon db
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
(cherry picked from commit d5e4df2186)
2025-04-30 15:42:44 +00:00
Artem Torubarov cb95837409 rgw: use pod name in ops log filename
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
(cherry picked from commit c1fd2f2ee8)
2025-04-30 15:42:44 +00:00
Felix Prasse 3a3f75fc5d csi: update caps to include executable permission
ceph-csi uses an exclusive lock for cryptfs operations. This needs the x capability on the metadata pool.

Fixes #15283

Signed-off-by: Felix Prasse <1330854+flx5@users.noreply.github.com>
(cherry picked from commit 8f53522162)
2025-04-30 14:55:20 +00:00
subham rai b52e4cedd7 Merge pull request #15803 from rook/mergify/bp/release-1.17/pr-15801
exporter: add name to containerPort (backport #15801)
2025-04-30 19:58:28 +05:30
Justin Cichra 0f310c8c59 exporter: add name to containerPort
Named containerPort is a useful feature when generating dynamic scrape
targets with prometheus.

This makes it clear that the containerPort is intended for metrics
scraping.

The name matches that which is on the mgr deployment.

Signed-off-by: Justin Cichra <jcichra@cloudflare.com>
(cherry picked from commit 12c36e9472)
2025-04-29 19:15:14 +00:00
Blaine Gardner 263037fd85 Merge pull request #15800 from rook/mergify/bp/release-1.17/pr-15795
ci: update latest k8s version to 1.33 (backport #15795)
2025-04-29 12:26:03 -06:00
Blaine Gardner d51a949da0 Merge pull request #15799 from rook/mergify/bp/release-1.17/pr-15798
rbdmirror: logs message should not end with period (backport #15798)
2025-04-29 10:41:39 -06:00
subhamkrai b74888ec9e ci: update latest k8s version to 1.33
this commit update k8s version to 1.33 and also update
other version like for minikube cri-ctl and so.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 8c2f724f6d)
2025-04-29 16:11:17 +00:00
subhamkrai c29bb19051 rbdmirror: logs message should not end with period
improving logging to include name and namespace of resource
and also namespace should not end with period.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit fe776fd4fe)
2025-04-29 15:45:08 +00:00
subham rai 37ef77cc7b Merge pull request #15787 from rook/mergify/bp/release-1.17/pr-15761
osd: fix osd disk cleanup for mpath setups (backport #15761)
2025-04-28 15:06:11 +05:30
Santosh Pillai b9803f49fa osd: fix osd disk cleanup for mpath setups
ceph-volume raw list will return the main disk instead of the mpath
setup. `ceph-volume lvm zap` on the main disks fails. This PR uses
`lsblk /mnt/<diskreference> ` to fetch the actual mapath disk and use it
for cleaning

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit 1e9da0766e)
2025-04-28 08:16:52 +00:00
Travis Nielsen 09266ace46 Merge pull request #15773 from travisn/release-1.17.1
build: Update release version to v1.17.1
v1.17.1
2025-04-23 12:51:23 -06:00
Travis Nielsen 0ed5f13b4c build: update release version to v1.17.1
For the patch release update the examples and docs
to v1.17.1

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-04-23 12:25:07 -06:00
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