Commit Graph

156523 Commits

Author SHA1 Message Date
Patrick Donnelly
36ad54815f
Merge PR #70675 into tentacle
* refs/pull/70675/head:
	mgr/nfs: Updated enable_nfsv3 check while export creation
	mgr/nfs: set nfs export protocols based on cluster's protocol settings
	mgr/cephadm: Updated NFS default protocol to v4 and v3 is enabled only when enable_nfsv3 is set in the spec

Reviewed-by: Adam King <adking@redhat.com>
2026-07-31 13:05:09 -04:00
Patrick Donnelly
e27a6a5657
Merge PR #70719 into tentacle
* refs/pull/70719/head:
	tentacle: remove pull_request_template
	tentacle: remove github workflows

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2026-07-30 15:32:44 -04:00
Shweta Bhosale
58cac6f23a
mgr/nfs: Updated enable_nfsv3 check while export creation
Fixes: https://tracker.ceph.com/issues/74492
Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
(cherry picked from commit 64732c127d)
2026-07-30 13:52:22 -04:00
Shweta Bhosale
41e187ebaa
mgr/nfs: set nfs export protocols based on cluster's protocol settings
Fixes: https://tracker.ceph.com/issues/74492

Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
(cherry picked from commit 44c1362028)

 Conflicts:
	src/pybind/mgr/nfs/export.py - due to code refactoring in main
2026-07-30 13:52:22 -04:00
Shweta Bhosale
8c981876c2
mgr/cephadm: Updated NFS default protocol to v4 and v3 is enabled only when enable_nfsv3 is set in the spec
Fixes: https://tracker.ceph.com/issues/74492
Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
(cherry picked from commit 9b0becfdf2)

 Conflicts:
	doc/cephadm/services/nfs.rst - due to documentation related to RDMA
	doc/mgr/nfs.rst - due to params related to RDMA
	src/pybind/mgr/cephadm/services/nfs.py - due to other extra params
	src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 - due to RDMA
	src/pybind/mgr/cephadm/tests/services/test_ingress.py - not exists on tentacle
	src/pybind/mgr/cephadm/tests/services/test_nfs.py - not exists on tentacle
	src/pybind/mgr/nfs/cluster.py - due to other nfs parameters which are not supported in tentacle
	src/pybind/mgr/nfs/module.py - due to other nfs parameters which are not supported in tentacle
	src/python-common/ceph/deployment/service_spec.py - due to extra variable not supported in tentacle
2026-07-30 13:52:22 -04:00
Patrick Donnelly
f531e122e3
tentacle: remove pull_request_template
It's not required for backports.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-07-30 11:05:32 -04:00
Patrick Donnelly
d8054bd8b6
tentacle: remove github workflows
These workflows (with pull_request) are confusing the CI checks for
release branches. Remove all of them and let `main` be the sole
definition.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-07-30 11:02:11 -04:00
Patrick Donnelly
69c6804df7
Merge PR #70403 into tentacle
* refs/pull/70403/head:
	qa/suites/upgrade: ignore fs down variant

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2026-07-23 15:06:37 -04:00
Patrick Donnelly
9c6968c155
Merge PR #69740 into tentacle
* refs/pull/69740/head:
	rgw: use local error code in handle_individual_object()

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2026-07-23 14:58:39 -04:00
Patrick Donnelly
adc6c9e6c8
Merge PR #70312 into tentacle
* refs/pull/70312/head:
	mgr/cephadm: Add IO statistics enable field to the cephadm NVMEoF spec file.

Reviewed-by: Vallari Agrawal <val.agl002@gmail.com>
2026-07-23 14:50:45 -04:00
Patrick Donnelly
66f9696118
Merge PR #68426 into tentacle
* refs/pull/68426/head:
	os/bluestore/bluefs: Make sure write buffer is aligned
	test/bluefs: add cases for wal v2 envelope header mislocation.
	os/bluestore/bluefs: Add assert if write buffer is not page aligned

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2026-07-23 14:12:33 -04:00
Patrick Donnelly
80417774b1
Merge PR #68599 into tentacle
* refs/pull/68599/head:
	rgw/lua: Add Lua functionality for blocking requests

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2026-07-23 14:11:38 -04:00
Patrick Donnelly
80af4aa1bb
Merge PR #69665 into tentacle
* refs/pull/69665/head:
	mgr: replace deprecated PyImport_ImportModuleNoBlock with PyImport_ImportModule

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2026-07-23 14:06:09 -04:00
Patrick Donnelly
5348042ab6
Merge PR #70193 into tentacle
* refs/pull/70193/head:
	ceph-exporter: fix systemd unit

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2026-07-23 14:04:33 -04:00
Patrick Donnelly
d42ea1375b
Merge PR #70249 into tentacle
* refs/pull/70249/head:
	osd/ECTransaction: fix truncate+write planning for EC shard sizes

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
2026-07-23 14:03:18 -04:00
Patrick Donnelly
900503be9a
Merge PR #69024 into tentacle
* refs/pull/69024/head:
	rgw: avoid doubled ARN in GetBucketReplication for pre-existing data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-07-23 13:36:22 -04:00
Patrick Donnelly
b26417e85d
Merge PR #70444 into tentacle
* refs/pull/70444/head:
	mgr/nvmeof: change pool application to nvmeof-meta instead of rbd

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
2026-07-23 10:53:15 -04:00
Patrick Donnelly
3d0f582eae
Merge PR #70392 into tentacle
* refs/pull/70392/head:
	mgr/DaemonServer: Make an ok-to-upgrade error message more generic

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
2026-07-23 09:53:09 -04:00
Patrick Donnelly
7d648f72bd
Merge PR #70108 into tentacle
* refs/pull/70108/head:
	rgw: return additional checksum headers too
	rgw: return an etag header for all successful complete-multipart

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2026-07-23 09:40:19 -04:00
Patrick Donnelly
1f859e020f
Merge PR #68444 into tentacle
* refs/pull/68444/head:
	rgw/iam: match value of Null condition
	rgw/iam: typed_any/typed_none take x as forwarding reference

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-07-22 18:34:12 -04:00
Patrick Donnelly
00d933e6e6
Merge PR #69818 into tentacle
* refs/pull/69818/head:
	mgr: Properly set description in labeled get_perf_schema_python

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-07-22 18:13:24 -04:00
Patrick Donnelly
f8826ebd4b
Merge PR #69720 into tentacle
* refs/pull/69720/head:
	mon: fix ConnectionTracker::notify_rank_removed

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-07-22 18:13:00 -04:00
Patrick Donnelly
44bcd05072
Merge PR #70262 into tentacle
* refs/pull/70262/head:
	rgw/beast: dispatch connection close on strand during pause
	common/async: `io_context_pool` no longer moves from init function
	rgw/rados: Initialize things before starting threads that use them
	rgw: Check `going_down` in other-than-`interval_set` loop
	test/rgw/beast: add unit test for ConnectionList shutdown behavior
	rgw/beast: (non-functional change) add size method to ConnectionList
	rgw/beast: fix shutdown crash in ConnectionList::close()
	rgw/beast: (non-functional) refactor Connection and ConnectionList to header

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-07-22 18:08:00 -04:00
Patrick Donnelly
ad39573e8d
Merge PR #70018 into tentacle
* refs/pull/70018/head:
	rgw/rgw_lua_utils: fix memory leak in luaL_error() formatting

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2026-07-22 14:58:21 -04:00
Patrick Donnelly
c6fc9801f5
Merge PR #69277 into tentacle
* refs/pull/69277/head:
	test/rgw/s3-tests: add CopyObject and UploadPart encryption tests
	qa/rgw: crypt subsuite tests compress-encrypted
	qa/rgw: rgw task can enable/disable zone features
	qa/rgw: don't duplicate 'user list' commands for default zone
	rgw: always decompress in CopyObject when source is compressed
	rgw: fix fixup_range cascade for compressed+encrypted objects
	rgw: fix offset calculation in copy_obj_data
	rgw: sanitize copy source attrs
	rgw: verify sse-c headers on multipart completion
	rgw: always return crypt headers on put obj
	rgw: expose copy_source from rgw_s3_prepare_decrypt
	rgw: set compression attrs in copy_obj_data()
	rgw: implement CopyObject for encrypted object
	rgw: introduce RGWCopyObjDPF for RGWCopyObj
	rgw: introduce DataProcessorFilter
	rgw: pass DataProcessorFactory to copy_object
	rgw/sal: introduce DataProcessorFactory
	rgw: gather all get_decrypt_filter together
	rgw: teach rgw_s3_prepare_decrypt about source decrypt headers
	rgw: involve next on RGWGetObj_BlockDecrypt::flush
	rgw: involve next on RGWGetObj_BlockDecrypt::fixup_range

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2026-07-22 14:57:51 -04:00
Patrick Donnelly
346d711d4e
Merge PR #68853 into tentacle
* refs/pull/68853/head:
	doc: added a note for damaged hard links in scrub documentation
	qa: add a test to verify that a damage hard link id detected during scrub
	mds: identify damaged hard links during scrub

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2026-07-22 13:14:41 -04:00
Patrick Donnelly
2cd9c88fa2
Merge PR #65533 into tentacle
* refs/pull/65533/head:
	mds/MDSMap: Enhance set_min_compat_client to validate iterator range before sorting feature bits

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2026-07-22 13:10:00 -04:00
Patrick Donnelly
ed401a38a5
Merge PR #65812 into tentacle
* refs/pull/65812/head:
	src/common: add helper to prepend "..." to trimmed paths
	mds/ScrubStack: avoid generating inode path since it is unused
	mds: fix few log entries
	client: trim path before logging it
	mds: log trimmed path wherever generating full path is necessary
	mds: for logging generate only 10 final components of dentry path
	mds: for logging generate only 10 final components of inode path
	qa, test: run unit tests for cephfs.pyx with non-root user
	test/pybind: add unit tests for rmtree() in cephfs python bindings
	pybind/cephfs, mgr/volumes: refactor purge() to be non-recursive

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-07-22 11:48:18 -04:00
Tomer Haskalovitch
a1444b0ffd mgr/nvmeof: change pool application to nvmeof-meta instead of rbd
Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
(cherry picked from commit a2057e2ea0)
2026-07-22 17:11:08 +03:00
Casey Bodley
ec9e744581 rgw/iam: match value of Null condition
quoting https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_Null:
> Use a Null condition operator to check if a condition key is absent at the time of authorization. In the policy statement, use either true (the key doesn't exist โ€” it is null) or false (the key exists and its value is not null).

previously, this check acted as if it was always given a value of
"true". instead, convert this decision to a "true"/"false" string
and use `typed_any()` to match that against the parsed `vals`

`runtime_vals` are ignored here because the same document says:
> You can not use a policy variable with the Null condition operator.

Fixes: https://tracker.ceph.com/issues/74736

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 1d0c8c286c)
2026-07-22 09:02:13 -04:00
Casey Bodley
2fa0f52006 rgw/iam: typed_any/typed_none take x as forwarding reference
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d40ccd10f7)
2026-07-22 09:02:13 -04:00
Patrick Donnelly
71ec6d5a29
qa/suites/upgrade: ignore fs down variant
Fixes: https://tracker.ceph.com/issues/76969
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 4681cb7b34)
2026-07-21 15:32:58 -04:00
Patrick Donnelly
3adabd4a56
Merge PR #67357 into tentacle
* refs/pull/67357/head:
	osd/PrimaryLogPG: encode an empty data_bl for empty sparse reads

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-07-21 15:27:03 -04:00
Patrick Donnelly
074f8a6431
Merge PR #66269 into tentacle
* refs/pull/66269/head:
	messages: fix MOSDOpReplay decode of old version bad_replay_version
	include/types: Update set wire function parameter
	messages: MOSDOpReply encode and decode errorcode32_t with PGID64 features on

Reviewed-by: Laura Flores <lflores@redhat.com>
2026-07-21 15:26:29 -04:00
Patrick Donnelly
1d1c22f7d6
Merge PR #66491 into tentacle
* refs/pull/66491/head:
	test/rgw/notify: cover case with more than 1K topics
	rgw/notify: fix reading the entries in a loop

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2026-07-21 15:20:37 -04:00
Patrick Donnelly
9141087233
Merge PR #67214 into tentacle
* refs/pull/67214/head:
	rgw/iam: add NotEquals UT
	rgw/iam: fix NotEquals conditions to use AND logic instead of OR
	rgw/iam: rename condition helpers for clarity

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2026-07-21 15:19:49 -04:00
Patrick Donnelly
52f1561610
Merge PR #68955 into tentacle
* refs/pull/68955/head:
	librbd/pwl: fix memory leaks in discard operations

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2026-07-21 15:19:22 -04:00
Patrick Donnelly
113c5f5d7d
Merge PR #69762 into tentacle
* refs/pull/69762/head:
	rbd-mirror: Remove old non-primary demoted image snapshots on the local cluster
	rbd-mirror: prune obsolete primary mirror snapshots after relocation
	rbd-mirror: fix missing initialization of Peer UUID

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2026-07-21 15:18:54 -04:00
Patrick Donnelly
6c4d021c0a
Merge PR #70010 into tentacle
* refs/pull/70010/head:
	librbd: fix use-after-free releasing object map locks in deep copy

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2026-07-21 15:18:19 -04:00
Patrick Donnelly
4f35ee1f1b
Merge PR #70015 into tentacle
* refs/pull/70015/head:
	journal/ObjectPlayer: don't acquire locks in destructor

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2026-07-21 15:17:53 -04:00
Patrick Donnelly
7b0eb0e355
Merge PR #70131 into tentacle
* refs/pull/70131/head:
	qa/suites/rbd/valgrind: pin to centos_9.stream instead of rpm_latest

Reviewed-by: Ramana Raja <rraja@redhat.com>
2026-07-21 15:17:26 -04:00
Patrick Donnelly
0aba13fa42
Merge PR #70091 into tentacle
* refs/pull/70091/head:
	qa: pykmip task defaults to ceph fork

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2026-07-21 15:14:07 -04:00
Patrick Donnelly
b6ccf245fc
Merge PR #70080 into tentacle
* refs/pull/70080/head:
	doc/rbd: clarify mirror resync snapshot behavior

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2026-07-21 15:11:04 -04:00
Patrick Donnelly
fd337c830a
Merge PR #68059 into tentacle
* refs/pull/68059/head:
	rgw: `account rm` also checks and removes sns topics
	rgw: `account rm --purge-data` can delete users/roles/groups/oidcs too

Reviewed-by: Krunal Chheda <kchheda3@bloomberg.net>
2026-07-21 12:41:53 -04:00
Patrick Donnelly
228c97a871
Merge PR #70301 into tentacle
* refs/pull/70301/head:
	test/kafka: support archived kafka versions

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2026-07-21 12:38:42 -04:00
Sridhar Seshasayee
196f5d59d0 mgr/DaemonServer: Make an ok-to-upgrade error message more generic
When no OSDs within a CRUSH bucket can be found to upgrade, the earlier error
message indicated the minimum number of PGs affected if any OSD was removed
from the set. For e.g.,

"Error EBUSY: unsafe to upgrade osd(s) at this time (at least X PG(s) will
become offline if any OSD out of the Y in CRUSH bucket 'foo' is stopped)"

This was inaccurate in some cases because the number of PGs affected is
determined only from the last tested OSD in the CRUSH bucket based on the sort
order (i.e., OSD with least number of PGs per OSD). Based on the CRUSH rules
and placement, this doesn't mean that the least number of PGs are affected if
this OSD is stopped. There may be other OSDs in the set that affect a smaller
number of PGs if made offline.

But with the way ok-to-upgrade logic uses the convergence factor, not all OSDs
would be tested for the offline pg check. Therefore, it is not possible to
accurately determine the minimum number affected PGs.

In view of the above, the error message is modified as shown below to be
slightly more generic but still convey the reason:

"Error EBUSY: unsafe to upgrade osd(s) at this time (one or more PG(s) will
become offline if any OSD out of the Y in CRUSH bucket 'foo' is stopped)"

Fixes: https://tracker.ceph.com/issues/78425
Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
(cherry picked from commit afd0b924e2)
2026-07-21 20:59:26 +05:30
Patrick Donnelly
fb80dce4e4
Merge PR #70271 into tentacle
* refs/pull/70271/head:
	mgr/dashboard: fix openapi.yaml
	mgr/dashboard: show warning message in nvmeof cli
	mgr/dashboard: Add "gw refresh_network" cmd
	mgr/dashboard: bump nvmeof submodule to 1.8.2
	mgr/dashboard: align nvmeof cli with missing parameters and functions from the old nvmeof cli

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-21 11:26:53 -04:00
Patrick Donnelly
0da558c710
Merge PR #69780 into tentacle
* refs/pull/69780/head:
	mgr: handle SIGTERM/SIGINT in standby mgr to avoid CEPHADM_FAILED_DAEMON

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-07-21 08:57:26 -04:00
Patrick Donnelly
8ed3d32024
Merge PR #69534 into tentacle
* refs/pull/69534/head:
	mgr/dashboard: fix linting issues
	mgr/dashboard: Combining Quorum tables data on Monitors page

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-21 08:34:57 -04:00
Patrick Donnelly
984e67cbd7
Merge PR #69589 into tentacle
* refs/pull/69589/head:
	mgr/dashboard: Fix HTML lint, OpenAPI spec, and RGW Account Role unit tests
	mgr/dashboard: align RGW role management with Carbon and fix API routing
	mgr/dashboard: Remove global RGW tenant Roles tab and decommission routes

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-21 08:34:10 -04:00