Commit Graph
11999 Commits
Author SHA1 Message Date
Travis Nielsen 57734fe49d Merge pull request #16324 from travisn/test-19.2.2
test: Run object integration tests against v19.2.2 the release-1.16 branch
2025-08-14 14:47:41 -06:00
Travis Nielsen d22867dc5d test: run integration tests against v19.2.2
The integration tests are failing against the v19 tag due to a change
in v19.2.3 causing a failure in the object store tests. Thus,
in the release-1.16 branch focus the object tests on v19.2.2.
See See https://github.com/rook/rook/issues/16188

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-08-14 14:15:42 -06:00
Travis Nielsen 009b54e989 Merge pull request #16323 from rook/mergify/bp/release-1.16/pr-16129
test: add pathType with ingress dashboard host (backport #16129)
2025-08-14 13:56:02 -06:00
subhamkrai 574af13bfa test: add pathType with ingress dashboard host
Recentally, helm related ci started failing due to
```
testutil: failed to install chart. result=. walk.go:75: found symbolic link in path: /home/runner/work/rook/rook/deploy/charts/rook-ceph-cluster/charts/library resolves to /home/runner/work/rook/rook/deploy/charts/library. Contents of linked file included and used
I0714 09:44:18.963620   18291 warnings.go:110] "Warning: path /ceph-dashboard(/|$)(.*) cannot be used with pathType Prefix"
Error: INSTALLATION FAILED: 1 error occurred:
	* admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: ingress contains invalid paths: path /ceph-dashboard(/|$)(.*) cannot be used with pathType Prefix, err=failed to run helm command on args [install --create-namespace rook-ceph-cluster /home/runner/work/rook/rook/deploy/charts/rook-ceph-cluster --namespace helm-ns -f values-test.yaml] : . walk.go:75: found symbolic link in path: /home/runner/work/rook/rook/deploy/charts/rook-ceph-cluster/charts/library resolves to /home/runner/work/rook/rook/deploy/charts/library. Contents of linked file included and used
I0714 09:44:18.963620   18291 warnings.go:110] "Warning: path /ceph-dashboard(/|$)(.*) cannot be used with pathType Prefix"
Error: INSTALLATION FAILED: 1 error occurred:
```
as default `pathType` is `Prefix`, we need to change it to
`pathType:ImplementationSpecific`.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 8bd4b38399)
2025-08-14 19:50:27 +00:00
Travis Nielsen 5aff5c1ded Merge pull request #16122 from rook/mergify/bp/release-1.16/pr-16041
build: merge helm indexes instead of recreating for every release (backport #16041)
2025-07-10 15:43:19 -06:00
Michael Adam d3c9c063f4 build: merge helm indexes instead of recreating for every release (really)
A new helm repo index was created from scratch for every new release
    which meant that the release timestamps in the index were basically all
    identical.

    This change intends to fix that by merging the new index with the
    existing one

The first attempt to fix this (PR #16033) did not work properly.
This change is intended to fix the issue for good by closing the gap the
previuous PR has left.

    Fixes: #15604

Co-Authored-By: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 987e9c8bb5)
2025-07-10 21:35:55 +00:00
Travis Nielsen 8be4576a82 Merge pull request #16121 from rook/mergify/bp/release-1.16/pr-16033
build: merge helm indexes instead of recreating for every release (backport #16033)
2025-07-10 15:34:11 -06:00
Michael Adam 742446e0b8 build: merge helm indexes instead of recreating for every release
A new helm repo index was created from scratch for every new release
which meant that the release timestamps in the index were basically all
identical.

This change intends to fix that by merging the new index with the
existing one

Fixes: #15604

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 2704f23ea7)
2025-07-10 21:26:53 +00:00
Blaine Gardner 801c3fb498 Merge pull request #16083 from rook/mergify/bp/release-1.16/pr-16078
core: CephObjectRealm controller generated generated AccessKey invalid chars (backport #16078)
2025-07-02 09:33:01 -06:00
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