Commit Graph
12204 Commits
Author SHA1 Message Date
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
mergify[bot] bb8e321952 Merge pull request #15685 from rook/mergify/bp/release-1.17/pr-15593
pool: retry status update on fail (backport #15593)
2025-04-09 17:52:04 +00:00
Peter Razumovsky 5949c189af 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:26 +00:00
mergify[bot] e757504203 Merge pull request #15682 from rook/mergify/bp/release-1.17/pr-15641
core: Reconcile CRs only after the finalizer is added by Rook (backport #15641)
2025-04-09 17:14:38 +00:00
mergify[bot] e1f9821edc Merge pull request #15680 from rook/mergify/bp/release-1.17/pr-15677
rbdmirror: fix the rados namespace health checkup (backport #15677)
2025-04-09 17:13:27 +00:00
mergify[bot] 5010def6cf Merge pull request #15681 from rook/mergify/bp/release-1.17/pr-15648
ci: fix rgw flaky ci test (backport #15648)
2025-04-09 16:51:26 +00:00
Travis Nielsen ede1d63931 core: skip reconcile when adding the finalizers
When finalizers are added to the CRs, a follow-up reconcile
will be triggered due to the increased generation on the CR.
Therefore, abort the initial reconcile when adding the finalizer,
and allow the follow-up reconcile to complete the configuration.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit f7fb1bc0f2)
2025-04-09 16:41:41 +00:00
parth-gr de84ac1746 ci: fix rgw flaky ci test
s3cmd can take more time to put the data
of 1M to the bucket as it waits for
connection to get established

currently ci fails with, Retrying failed
request: /test1-1mib-test.dat ([Errno 111]
Connection refused)

also increase the timeout for creating objectstore

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 1a296dccd5)
2025-04-09 16:22:19 +00:00
parth-gr 98b883ebe3 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:22 +00:00
mergify[bot] 9acfa03888 Merge pull request #15674 from rook/mergify/bp/release-1.17/pr-15669
helm: Allow specifying an ingress object store port to override default (backport #15669)
2025-04-08 23:40:53 +00:00
Travis Nielsen f0ce0a3ddc 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 e23aa3c7cc 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:41 +00:00
Blaine Gardner 065858849f Merge pull request #15671 from rook/mergify/bp/release-1.17/pr-15643
doc: update release notes and upgrade docs (backport #15643)
2025-04-08 09:38:40 -06:00
Blaine Gardner 08d66b1634 doc: update release notes and upgrade docs
Update pending release notes and upgrade docs for v1.17.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit deb9838324)
2025-04-08 15:21:49 +00:00
mergify[bot] 817756eaf7 Merge pull request #15665 from rook/mergify/bp/release-1.17/pr-15660
csi: remove dummy code in csi driver creation (backport #15660)
2025-04-07 17:32:36 +00:00
mergify[bot] 33ee5617b8 Merge pull request #15668 from rook/mergify/bp/release-1.17/pr-15634
osd: fix pdbs in case of node drain (backport #15634)
2025-04-07 16:34:49 +00:00
Santosh Pillai 1d7ec25a55 osd: fix pdbs in case of node drain
the maxunavailable count was getting reset back to 1 after 60 seconds.
This PR prevents resetting of the maxUnavailable OSD count.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit e83ca35531)
2025-04-07 15:59:30 +00:00
Madhu Rajanna d6c1821e67 csi: remove dummy code in csi driver creation
EnableCSIDriverSeLinuxMount is always set to true
, This commit remove the extra variable as its a
introduced where we supported older kubernetes version.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit b08765f525)
2025-04-07 14:13:28 +00:00
mergify[bot] 47be8beb36 Merge pull request #15664 from rook/mergify/bp/release-1.17/pr-15659
ci: update x/net version to fix snyk issue (backport #15659)
2025-04-07 13:58:29 +00:00
subhamkrai 71cb943956 ci: update x/net version to fix snyk issue
snyk ci failind due to older version of x/net, it's need to be in 0.38

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 4ae4741a82)
2025-04-07 13:14:37 +00:00
mergify[bot] a72f840d14 Merge pull request #15655 from rook/mergify/bp/release-1.17/pr-15652
nfs: set allow_set_io_flusher_fail=true in config (backport #15652)
2025-04-04 20:19:56 +00:00
Blaine Gardner 6dc5d6c9d8 nfs: set allow_set_io_flusher_fail=true in config
NFS-Ganesha 6.1 requires this config to be set to allow it to run in a
non-privileged container so it doesn't hit a permission failure. As long
as the ganesha.nfsd process isn't run with the `-x` option, earlier
versions of NFS-Ganesha that don't have this config won't complain.

Related cephadm PR: https://github.com/ceph/ceph/pull/60077

This may be necessary for supporting future Ceph Squid versions
according to discussions here:
https://github.com/ceph/ceph-container/issues/2246

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 947ca8b458)
2025-04-04 19:48:45 +00:00
Travis Nielsen fa78c3941e Merge pull request #15651 from rook/mergify/bp/release-1.17/pr-15445
Fixes for the govanish linter issues (backport #15445)
2025-04-04 12:50:17 -06:00
Travis Nielsen 962b995196 core: use filter only if its set to non empty string
Also check for the empty namespace instead of an
empty name which was incorrect.

Co-authored-by: Nikita Sivukhin <sivukhin@turso.tech>
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 71a4fce87b)
2025-04-04 18:12:06 +00:00