Commit Graph
11990 Commits
Author SHA1 Message Date
raaizik 29fc3d3a5e core: fix CephObjectRealm controller generated generated AccessKey invalid chars
Suggested fix for issue https://github.com/rook/rook/issues/16072
Adds key type differentiation to exclude invalid characters from AccessKey

Signed-off-by: raaizik <132667934+raaizik@users.noreply.github.com>
(cherry picked from commit 1b3f36ff5c)
2025-07-02 15:05:18 +00:00
mergify[bot] b67e1b31da Merge pull request #16054 from rook/mergify/bp/release-1.16/pr-16025
exporter: Add Hostnetwork bool to ceph-exporter (backport #16025)
2025-06-25 13:50:39 +00:00
Muhammad Adil Ghaffar 85ce5bef50 exporter: add hostnetwork bool to cephexporter
Signed-off-by: Muhammad Adil Ghaffar <muhammad.adil.ghaffar@est.tech>
(cherry picked from commit 5ea7a177b7)
2025-06-25 13:23:57 +00:00
Travis Nielsen 337050c563 Merge pull request #15993 from obnoxxx/release-1.16-prep-v1.16.8
build: update release version to 1.16.8
v1.16.8
2025-06-10 11:26:54 -06:00
Travis Nielsen 45c280b9e2 build: update release version to 1.16.8
For the patch release update the docs and examples
to v1.16.8

Signed-off-by: Michael Adam <obnox@samba.org>
2025-06-10 18:58:27 +02:00
Travis Nielsen 58bfc584ec Merge pull request #15990 from rook/mergify/bp/release-1.16/pr-15989
rbdmirror: fix the nil point error check during status updates (backport #15989)
2025-06-10 10:41:25 -06:00
parth-gr e44e9776ae rbdmirror: fix the nil point error check during status updates
the status  was still reading from the nil state,
updated the code to dont read from  nil object

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 0b4f89873c)
2025-06-10 16:18:01 +00:00
Travis Nielsen 9dac2cd1e7 Merge pull request #15943 from rook/mergify/bp/release-1.16/pr-15931
core: ensure consistent LeastUptodateDaemonVersion (backport #15931)
2025-06-03 12:58:57 -06:00
Blaine Gardner c226b78ec9 core: ensure consistent LeastUptodateDaemonVersion
LeastUptodateDaemonVersion() unmarshals Ceph's daemon versions JSON
output into `map[string]<type>` maps which are not guaranteed to iterate
in the same order as output by Ceph. Fix this method to no longer assume
iteration order is the same order as Ceph's output.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit d5c4eca3fb)
2025-06-03 18:26:22 +00:00
Travis Nielsen 466d19cab0 Merge pull request #15939 from rook/mergify/bp/release-1.16/pr-15935
tests: change project name in keystone e2e test (backport #15935)
2025-06-03 09:58:21 -06:00
Artem Torubarov 360ed7a699 tests: change project name in keystone e2e test
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
(cherry picked from commit df3ce489d6)
2025-06-03 13:53:59 +00:00
Travis Nielsen a788d47b42 Merge pull request #15826 from rook/mergify/bp/release-1.16/pr-15825
build: move set-release-ver script to a better place (backport #15825)
2025-05-05 10:27:46 -06:00
Michael Adam 8403a859f3 build: move se-release-ver script to better place
The script sel-release-ver.sh was added in a somewhat unnatural place
tests/scripts .
This moves it to a more natural location build/release .

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit d7f2a4b4d8)
2025-05-05 16:21:59 +00:00
Travis Nielsen 1f9c9d3574 Merge pull request #15810 from rook/mergify/bp/release-1.16/pr-15781
build: add a script for setting the release version in examples, charts,  and docs (backport #15781)
2025-05-01 11:35:06 -06:00
Michael Adam b9eeca731b 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:02 +00:00
mergify[bot] 036e7cf4af Merge pull request #15802 from rook/mergify/bp/release-1.16/pr-15801
exporter: add name to containerPort (backport #15801)
2025-04-30 14:46:44 +00:00
Justin Cichra d7325dfe50 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:07 +00:00
mergify[bot] a129fc67e3 Merge pull request #15786 from rook/mergify/bp/release-1.16/pr-15761
osd: fix osd disk cleanup for mpath setups (backport #15761)
2025-04-28 08:44:40 +00:00
Santosh Pillai 859b886e12 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
mergify[bot] b1729c5fe2 Merge pull request #15774 from rook/mergify/bp/release-1.16/pr-15742
build: Stop publishing release artifacts for non-released builds (backport #15742)
2025-04-23 20:40:42 +00:00
Travis Nielsen 09ea5110b0 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)
(cherry picked from commit 9249fb7f91)
2025-04-23 14:14:09 -06:00
Travis Nielsen c25b2b6c5a 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-23 14:13:35 -06:00
mergify[bot] f96f2f70d4 Merge pull request #15756 from rook/mergify/bp/release-1.16/pr-15747
object: Log all reconcile errors during object store creation (backport #15747)
2025-04-21 16:39:56 +00:00
Travis Nielsen 05cd9e0881 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 b9e56e1caf Merge pull request #15737 from travisn/release-1.16.7
build: Update release version to 1.16.7
v1.16.7
2025-04-16 12:25:01 -06:00
Travis Nielsen cabc30352c build: update release version to 1.16.7
For the patch release update the docs and examples
to v1.16.7

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-04-16 11:58:22 -06:00
mergify[bot] 97dc5413b8 Merge pull request #15735 from rook/mergify/bp/release-1.16/pr-15733
ci: run selective disk cleanups in go CI tests (backport #15733)
2025-04-16 17:35:23 +00:00
Blaine Gardner 8986fe12b9 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:31 +00:00
Travis Nielsen 7874395178 Merge pull request #15707 from rook/mergify/bp/release-1.16/pr-15704
core: Set default ceph version to v19.2.2 (backport #15704)
2025-04-16 10:47:50 -06:00
mergify[bot] 33e3d2b017 Merge pull request #15730 from rook/mergify/bp/release-1.16/pr-15718
mon: always delete mon canary pods (backport #15718)
2025-04-16 15:21:54 +00:00
Santosh Pillai f721dc2444 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] cfa27b9a0d Merge pull request #15728 from rook/mergify/bp/release-1.16/pr-15727
core: fix logs to print correct OSD ID (backport #15727)
2025-04-16 14:03:26 +00:00
Santosh Pillai 79203e1ed4 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
subham rai e7120f891e Merge pull request #15722 from rook/mergify/bp/release-1.16/pr-15719
feat: add labels to ingress resource (backport #15719)
2025-04-16 16:29:37 +05:30
mergify[bot] 45f23e5647 Merge pull request #15726 from rook/mergify/bp/release-1.16/pr-15045
tests: Upgrade from Rook 1.15 to master (backport #15045)
2025-04-16 01:36:41 +00:00
Travis Nielsen a92c3d382c tests: upgrade from rook 1.15 to master
The upgrade tests in master have been upgrading from 1.14 to
master. In anticipation of the v1.16 release, we change
the upgrade tests to start from v1.15 to test if there
are any regressions in the supported upgrades.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 506407b5ea)
2025-04-16 01:13:56 +00:00
Travis Nielsen 7a440853b7 Merge pull request #15720 from rook/mergify/bp/release-1.16/pr-15710
tests: Lower threshold for mon free space (backport #15710)
2025-04-15 15:51:25 -06:00
Bryan Jones 5096b10faf 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:27 +00:00
Bryan Jones 8d89da6423 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:27 +00:00
Travis Nielsen fe0084e23e 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:03 +00:00
Travis Nielsen b1fbd1e570 core: set default ceph version to v19.2.2
Update the examples and docs and operator base image to
the latest ceph patch release v19.2.2.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit f62e6d9cc2)
2025-04-15 12:11:20 -06:00
Blaine Gardner 4d20fd5ec2 Merge pull request #15691 from rook/mergify/bp/release-1.16/pr-15690
core: update cephstatus fsmap gid type to uint64 (backport #15690)
2025-04-10 13:24:55 -06:00
Blaine Gardner ca8eadc161 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:12 +00:00
mergify[bot] 8fb9745dfc Merge pull request #15684 from rook/mergify/bp/release-1.16/pr-15593
pool: retry status update on fail (backport #15593)
2025-04-09 17:56:26 +00:00
Travis Nielsen 43615ec67c Merge pull request #15673 from rook/mergify/bp/release-1.16/pr-15669
helm: Allow specifying an ingress object store port to override default (backport #15669)
2025-04-09 11:16:18 -06:00
Peter Razumovsky 7189207c70 pool: retry status update on fail
In some cases, for example, kube-api nods, CephBlockPool's status
could be failed to update. In that case, rook-operator does not
tries to update status again. This fix requests for requeue if pool's
status update is failed.

Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
(cherry picked from commit d7c67fecee)
2025-04-09 17:15:14 +00:00
mergify[bot] a2093431ba Merge pull request #15679 from rook/mergify/bp/release-1.16/pr-15677
rbdmirror: fix the rados namespace health checkup (backport #15677)
2025-04-09 17:00:02 +00:00
parth-gr 37e415f305 rbdmirror: fix the rados namespace health checkup
there was very edge case,a nd that result in nil
point exception
During osd upgrades if mirror health check is called
the mirror status cmd doesnt respond
So its important to check if the value exist
before getting its summary

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 0c5d3ee3a5)
2025-04-09 15:57:18 +00:00
Travis Nielsen 514ee798b7 helm: allow specifying an ingress object store port to override default
The default object store ingress port will be set to the
securePort (if set), or the gateway port field. To override
that default, a new port field can be set on the ingress.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 5ad38cb579)
2025-04-08 23:11:42 +00:00
Travis Nielsen 39466db280 helm: remove obsolete check for network v1 api
The networking.k8s.io/v1beta1 has been obsolete since
K8s 1.22, long out of the supported versions, so we
can remove those legacy checks and require the v1
networking api.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit c40477ccc2)
2025-04-08 23:11:42 +00:00