Commit Graph
12410 Commits
Author SHA1 Message Date
mergify[bot] d5dee7d378 Merge pull request #16234 from rook/mergify/bp/release-1.17/pr-16052
object: simplify CephObjectStoreUser deletion logic (backport #16052)
2025-08-04 18:46:49 +00:00
Joshua Hoblitt d698edfb6f object: simplify CephObjectStoreUser deletion logic
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 1163133aec)
2025-08-04 18:15:21 +00:00
mergify[bot] 1508d6e716 Merge pull request #16221 from rook/mergify/bp/release-1.17/pr-16220
object: fix bucket policy in sync detection (backport #16220)
2025-08-01 19:58:19 +00:00
Joshua Hoblitt 15e9669c18 object: fix bucket policy in sync detection
A typo was causing the operator to attempt to sync bucket policy when
the state was already in sync. This resulted in the operator carrying
out unnecessary work and logging activity with no user visible change
resulting.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit fbc60608ed)
2025-08-01 19:27:08 +00:00
mergify[bot] 6c8694134a Merge pull request #16213 from rook/mergify/bp/release-1.17/pr-16201
core: improve cleanup of /var/lib/rook during cluster teardown (backport #16201)
2025-08-01 13:41:10 +00:00
Travis Nielsen ee2fc3ff20 Merge pull request #16212 from obnoxxx/release-1.17-prepare-v1.17.7
build: update release version to v1.17.7
v1.17.7
2025-07-31 12:19:14 -06:00
Oded Viner 8abce40d7d core: improve cleanup of /var/lib/rook during cluster teardown
extend StartHostPathCleanup to remove additional directories
under /var/lib/rook

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 5992415b36)
2025-07-31 17:36:11 +00:00
Michael Adam 3a4de162c4 build: update release version to v1.17.7
For the patch release update the docs and examples to v1.17.7

Signed-off-by: Michael Adam <obnox@samba.org>
2025-07-31 19:24:24 +02:00
mergify[bot] d1bccca9b0 Merge pull request #16207 from rook/mergify/bp/release-1.17/pr-16109
osd: Exclude labels with a value of null from the topology string (backport #16109)
2025-07-30 23:13:52 +00:00
chentao.2022 4f2c92a6c8 osd: exclude labels with a value of null from the topology string
Avoid the OSD startup failing to parse crush_location when
the topology label is empty.

Signed-off-by: chentao.2022 <chentao.2022@bytedance.com>
(cherry picked from commit 62631d2614)
2025-07-30 22:41:33 +00:00
Travis Nielsen b1c6a59f3b Merge pull request #16204 from rook/mergify/bp/release-1.17/pr-16203
rgw: Increase timeout for admin user creation (backport #16203)
2025-07-30 16:29:31 -06:00
mergify[bot] 1e33241145 Merge pull request #16193 from rook/mergify/bp/release-1.17/pr-16186
core: Update ceph version to v19.2.3 (backport #16186)
2025-07-30 22:19:48 +00:00
Travis Nielsen 5b2fd88a4d tests: skip bucket lifecycle policy removal test
In ceph v19.2.3 bucket lifecycle policy removal appears to
be broken, so skip this test for now.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit db2e547779)
2025-07-30 15:48:22 -06:00
Travis Nielsen a08cd25a9b rgw: increase timeout for admin user creation
Creating the rgw admin user is taking on the order of two
minutes instead of the expected seconds, thus the command
was timing out and cause the object store user creation
to fail. The increased timeout allows the admin user creation
to complete, and other users to be created as well.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 79a7a3c01f)
2025-07-30 21:39:16 +00:00
Blaine Gardner 372c474e4a Merge pull request #16191 from rook/mergify/bp/release-1.17/pr-16150
core: log panics in controller reconcile functions (backport #16150)
2025-07-30 14:23:16 -06:00
Travis Nielsen 2d970de83e core: update ceph version to v19.2.3
With the new squid patch release, update the base
image, the docs, and the examples to all use the latest
stable Ceph release v19.2.3.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 66a006b99c)

# Conflicts:
#	tests/manifests/test-cluster-on-pvc-encrypted.yaml
2025-07-29 19:28:03 +00:00
Oded Viner ee0bae1a6c core: log panics in controller reconcile functions
add RecoverAndLogException() helper to log panics with stack trace.
added defer call in all rook controller Reconcile() methods for
better error visibility in operator logs

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit cf13deee6f)
2025-07-29 16:00:49 +00:00
Blaine Gardner af05d4b16f Merge pull request #16187 from rook/mergify/bp/release-1.17/pr-16146
mds: use bash for executing liveness probe script (backport #16146)
2025-07-28 16:28:28 -06:00
José Martínez 7e3f4dd4e7 mds: use bash for executing liveness probe script
This script includes bash features and will fail if sh is not a symlink to bash.

Signed-off-by: José Martínez <xose@google.com>
(cherry picked from commit e421623fd0)
2025-07-28 21:04:03 +00:00
mergify[bot] bdfa450e96 Merge pull request #16180 from rook/mergify/bp/release-1.17/pr-16123
helm: Correct example discover daemon resources (backport #16123)
2025-07-25 21:00:37 +00:00
Steve Wills d65a7a2365 helm: correct example resources
Correct example for adding resources to discover daemon pods

Signed-off-by: Steve Wills <steve@mouf.net>
(cherry picked from commit 0cc6aedd69)
2025-07-25 20:29:54 +00:00
mergify[bot] 79cf6c2423 Merge pull request #16165 from rook/mergify/bp/release-1.17/pr-16157
csi: update ceph-csi to 3.14.2 (backport #16157)
2025-07-22 20:51:39 +00:00
Madhu Rajanna 0c48f8ed41 csi: update ceph-csi to 3.14.2
Updating the ceph-csi image to 3.14.2
release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 052fe4a9af)
2025-07-22 20:22:33 +00:00
Blaine Gardner 82f95e2dbf Merge pull request #16160 from rook/mergify/bp/release-1.17/pr-16153
Update SecurityContextConstraints for rook-ceph helm chart (backport #16153)
2025-07-21 11:58:48 -06:00
Mason a29b12469d helm: update rook-ceph SecurityContextConstraints to match operator-openshift.yaml example
The rook-ceph SecurityContextConstraints in the rook-ceph helm chart does not include all the users necessary for a successful deployment. Specifically, rook-ceph-default, rook-ceph-mgr, rook-ceph-osd, and rook-ceph-rgw are listed in the operator-openshift.yaml example file (https://github.com/rook/rook/blob/master/deploy/examples/operator-openshift.yaml) but are not included in the helm chart. This commit adds these users.

Signed-off-by: Mason Buchanan <masonwb@gmail.com>
(cherry picked from commit a030d2ceb3)
2025-07-21 17:37:34 +00:00
mergify[bot] 6ced439790 Merge pull request #16148 from rook/mergify/bp/release-1.17/pr-16133
multus: support copy file to cmd-proxy container for rgw zone set (backport #16133)
2025-07-16 20:59:52 +00:00
mergify[bot] 9ae4d70900 Merge pull request #16147 from rook/mergify/bp/release-1.17/pr-16144
core: fix nil pointer panic when startupProbe is set in cephfilesystem (backport #16144)
2025-07-16 16:33:48 +00:00
Artem Torubarov 60231a442d multus: support copy file to cmd-proxy container for rgw zone set commands
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
(cherry picked from commit c88e6ea952)
2025-07-16 16:29:51 +00:00
Oded Viner 0f395e7851 core: fix nil pointer panic when startupProbe is set in cephfilesystem
fixes a nil pointer dereference in GetProbeWithDefaults when
startupProbe is set in cephfilesystem and currentProbe is nil.
adds panic recovery in cephfilesystem reconcile loop to improve
error visibility and avoid silent reconcile restarts.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 51e9ddc3f5)
2025-07-16 16:04:42 +00:00
Travis Nielsen dce2a6c321 Merge pull request #16145 from rook/mergify/bp/release-1.17/pr-16140
core: Update go modules to latest except for go 1.24 (backport #16140)
2025-07-16 09:04:49 -06:00
Travis Nielsen 0c934f247c core: update go modules to latest except for go 1.24
Update all the go modules to the latest, except for the modules
that require go 1.24. Those modules will be updated in a
follow-up change.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 24b0b866ab)
2025-07-16 08:16:24 -06:00
mergify[bot] 6091e7a6c9 Merge pull request #16139 from rook/mergify/bp/release-1.17/pr-16135
helm(rook-ceph-cluster): add HTTPRoute for dashboard and objectstore (backport #16135)
2025-07-15 20:02:07 +00:00
synthe102 13b3f3e219 helm(rook-ceph-cluster): add HTTPRoute for dashboard and objectstore
Signed-off-by: synthe102 <leonard@suslian.engineer>
(cherry picked from commit 25a7a910b5)
2025-07-15 13:32:12 -06:00
Travis Nielsen 1462eac4bd Merge pull request #16138 from rook/mergify/bp/release-1.17/pr-16087
osd: treat non existing OSD nodes as drained (backport #16087)
2025-07-15 10:58:51 -06:00
Elias Carter ab9475220c osd: treat non existing OSD nodes as drained
If the node for an OSD does not exist within kubernetes, the PDB
reconciliation logic will fail to make progress. This can be problematic
as new OSDs added to the cluster may not be protected by OSD PDBs after
they are added since the PDB reconcilation logic is failing.

The solution is to treat non existing OSD nodes as drained which is
logically consistent with treating unschedulable OSD nodes as drained as
you cannot schedule a pod onto a node which does not exist.

Fixes: #16086

Signed-off-by: Elias Carter <elias@dropbox.com>
(cherry picked from commit 5f2d6c01d7)
2025-07-15 16:18:44 +00:00
mergify[bot] c7f02858af Merge pull request #16137 from rook/mergify/bp/release-1.17/pr-16129
test: add pathType with ingress dashboard host (backport #16129)
2025-07-15 16:07:45 +00:00
subhamkrai 6609031df8 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-07-15 15:40:16 +00:00
Travis Nielsen 9a765a57ba Merge pull request #16136 from rook/mergify/bp/release-1.17/pr-16079
docs: have a StorageClass consume SubVolumeGroup (backport #16079)
2025-07-15 08:30:11 -06:00
raaizik 87609f630f docs: have a StorageClass consume SubVolumeGroup
Adds guide for how to create a storage class that consumes a SubVolumeGroup

Signed-off-by: raaizik <132667934+raaizik@users.noreply.github.com>
Co-Authored-By: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit e46de55a90)
2025-07-15 14:09:26 +00:00
Travis Nielsen 314498a977 Merge pull request #16120 from travisn/release-1.17.6
build: Update release version to v1.17.6
v1.17.6
2025-07-10 14:11:56 -06:00
Travis Nielsen cafb77ecc1 build: update release version to v1.17.6
For the patch release update the docs and examples to v1.17.6

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-07-10 11:53:27 -06:00
Travis Nielsen 8c8da870ce Merge pull request #16118 from rook/mergify/bp/release-1.17/pr-16041
build: merge helm indexes instead of recreating for every release (backport #16041)
2025-07-10 11:24:26 -06:00
mergify[bot] 5889aea80b Merge pull request #16117 from rook/mergify/bp/release-1.17/pr-16056
mon: Failover with host network must use different node (backport #16056)
2025-07-10 17:22:22 +00:00
mergify[bot] 5d7fb3b9bc Merge pull request #16116 from rook/mergify/bp/release-1.17/pr-15666
osd: fix cleanup job disk shredding (backport #15666)
2025-07-10 17:02:05 +00:00
Michael Adam 5ac9b03c18 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 16:55:33 +00:00
Travis Nielsen fe98e65d44 mon: failover with host network must use different node
When a mon is failed over, the old mon is left in mon quorum
until the new quorum is confirmed in quorum. When host networking
is enabled, this may result in two mons being in quorum with the
same ip, if the new mon is scheduled on the same node as the
down mon. This results in daemon crashes in the cluster since
they are confused by multiple of the same ip in the mon map.

The solution is to avoid scaling down the bad mon when host networking
is enabled. This will ensure the new mon is not scheduled on the
same node as the previous mon. With host networking, either another
node is necessary or the original mon must come back online to
restore quorum.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit aa61ddb57e)
2025-07-10 16:51:31 +00:00
Vilius Puškunalis cb48cd18e1 osd: fix cleanup job disk shredding
Fixes quick disk shredding by using dd to shred data at additional offsets where ceph metadata is duplicated. For full shred, the shred utility remains in use.

Signed-off-by: Vilius Puškunalis <47086537+puskunalis@users.noreply.github.com>
(cherry picked from commit 27010f96f3)
2025-07-10 16:30:13 +00:00
mergify[bot] 9165a20a55 Merge pull request #16107 from rook/mergify/bp/release-1.17/pr-16105
operator: add missing udev env to discover pod (backport #16105)
2025-07-08 15:10:31 +00:00
subhamkrai 274caf435f operator: add missing udev env to discover pod
currently, we're setting the env `DISCOVER_DAEMON_UDEV_BLACKLIST`
in operator.yaml but we're not reading from the operator env and
setting the value to discover pod env.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 2742a707cc)
2025-07-08 14:27:48 +00:00
mergify[bot] f24ceb9a48 Merge pull request #16100 from rook/mergify/bp/release-1.17/pr-15846
mon: allow running mon pods as root (backport #15846)
2025-07-07 22:50:31 +00:00