]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 months agocrimson/os/seastore: cleanup, reuse onode[op->oid] 59213/head
Yingxin Cheng [Tue, 10 Dec 2024 08:53:37 +0000 (16:53 +0800)]
crimson/os/seastore: cleanup, reuse onode[op->oid]

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: handle log_root in _rename
Yingxin Cheng [Tue, 10 Dec 2024 08:44:32 +0000 (16:44 +0800)]
crimson/os/seastore: handle log_root in _rename

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 months agocrimson/os/seastore/../fltree_onode_manager: add omap type asserts
Yingxin Cheng [Tue, 10 Dec 2024 08:37:06 +0000 (16:37 +0800)]
crimson/os/seastore/../fltree_onode_manager: add omap type asserts

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 months agocrimson/os/seastore: remove d_onodes
Yingxin Cheng [Tue, 10 Dec 2024 08:33:21 +0000 (16:33 +0800)]
crimson/os/seastore: remove d_onodes

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 months agosrc/crimson/os/seastore: add logs to track log-related OPs in transaction
myoungwon oh [Tue, 3 Dec 2024 06:20:20 +0000 (06:20 +0000)]
src/crimson/os/seastore: add logs to track log-related OPs in transaction

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agotest/crimson/seastore: adjust existing test based on two omap trees
myoungwon oh [Tue, 26 Nov 2024 03:24:50 +0000 (03:24 +0000)]
test/crimson/seastore: adjust existing test based on two omap trees

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: adjust _remove to support omap tree for LOG
myoungwon oh [Thu, 5 Dec 2024 05:24:19 +0000 (05:24 +0000)]
crimson/os/seastore: adjust _remove to support omap tree for LOG

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: adjust _clone to support omap tree for LOG
myoungwon oh [Thu, 5 Dec 2024 05:21:36 +0000 (05:21 +0000)]
crimson/os/seastore: adjust _clone to support omap tree for LOG

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: reuse do_omap_get_values in _get_attrs
myoungwon oh [Thu, 5 Dec 2024 05:00:41 +0000 (05:00 +0000)]
crimson/os/seastore: reuse do_omap_get_values in _get_attrs

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: reuse _omap_set_values() instead of _omap_set_kvs()
myoungwon oh [Thu, 5 Dec 2024 03:53:22 +0000 (03:53 +0000)]
crimson/os/seastore: reuse _omap_set_values() instead of _omap_set_kvs()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: handle log-related interfaces depending on the type
myoungwon oh [Mon, 25 Nov 2024 14:01:34 +0000 (14:01 +0000)]
crimson/os/seastore: handle log-related interfaces depending on the type

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: add omap_type_t to omap_context_t to allocate OMapLeafNode in...
Myoungwon Oh [Fri, 29 Nov 2024 07:14:30 +0000 (07:14 +0000)]
crimson/os/seastore: add omap_type_t to omap_context_t to allocate OMapLeafNode in omap_load_context

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: allocate OMapLeafNode depending on the type
Myoungwon Oh [Mon, 25 Nov 2024 09:58:07 +0000 (09:58 +0000)]
crimson/os/seastore: allocate OMapLeafNode depending on the type

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: initailize log_root if set_all_hint is called with the correspon...
Myoungwon Oh [Wed, 15 Jan 2025 08:19:28 +0000 (08:19 +0000)]
crimson/os/seastore: initailize log_root if set_all_hint is called with the corresponding flag

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: initialize omap tree using omap type
Myoungwon Oh [Mon, 25 Nov 2024 12:22:50 +0000 (12:22 +0000)]
crimson/os/seastore: initialize omap tree using omap type

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: adjust onode to store the two omap trees
Myoungwon Oh [Mon, 25 Nov 2024 09:25:58 +0000 (09:25 +0000)]
crimson/os/seastore: adjust onode to store the two omap trees

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/os/seastore: introduce two omap types (small and large) to omap_root_t
Myoungwon Oh [Mon, 25 Nov 2024 09:22:15 +0000 (09:22 +0000)]
crimson/os/seastore: introduce two omap types (small and large) to omap_root_t

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agocrimson/osd: use set_alloc_hint when creating an object for PGLog
Myoungwon Oh [Wed, 8 Jan 2025 13:25:59 +0000 (13:25 +0000)]
crimson/osd: use set_alloc_hint when creating an object for PGLog

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
6 months agoMerge pull request #59739 from sabaini/fix/ceph-volume-ep
Adam King [Tue, 14 Jan 2025 17:28:22 +0000 (12:28 -0500)]
Merge pull request #59739 from sabaini/fix/ceph-volume-ep

[ceph-volume] fix importlib.metadata compat

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
6 months agoMerge pull request #60073 from mkogan1/wip-fix-rate-lim
Casey Bodley [Tue, 14 Jan 2025 16:42:02 +0000 (11:42 -0500)]
Merge pull request #60073 from mkogan1/wip-fix-rate-lim

rgw: fix user rate limit is not enforced w/ global rate limit set

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #61322 from JonBailey1993/JonBailey1993/ceph_test_rados_io_sequenc...
Jon Bailey [Tue, 14 Jan 2025 13:14:52 +0000 (13:14 +0000)]
Merge pull request #61322 from JonBailey1993/JonBailey1993/ceph_test_rados_io_sequence_ostringstream_fix

common/io_exerciser: Ensure empty stringstream in ceph_test_rados_io_sequence RadosIO between ReST calls

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoMerge pull request #61352 from zdover23/wip-doc-2025-01-14-releases-quincy-eol
Zac Dover [Tue, 14 Jan 2025 09:24:50 +0000 (19:24 +1000)]
Merge pull request #61352 from zdover23/wip-doc-2025-01-14-releases-quincy-eol

doc/releases: add actual_eol for quincy

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61314 from aclamk/wip-aclamk-bluefs-truncate-fix
Adam Kupczyk [Tue, 14 Jan 2025 08:25:26 +0000 (09:25 +0100)]
Merge pull request #61314 from aclamk/wip-aclamk-bluefs-truncate-fix

os/bluestore: Fix BlueFS::truncate()

6 months agoMerge pull request #61261 from xxhdx1985126/wip-seastore-lba-backref-mapping
Yingxin Cheng [Tue, 14 Jan 2025 01:28:46 +0000 (09:28 +0800)]
Merge pull request #61261 from xxhdx1985126/wip-seastore-lba-backref-mapping

crimson/os/seastore: refactor LBAMapping

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 months agoMerge pull request #60215 from MaxKellermann/osd_optimizations
SrinivasaBharathKanta [Tue, 14 Jan 2025 00:54:34 +0000 (06:24 +0530)]
Merge pull request #60215 from MaxKellermann/osd_optimizations

OSD: Small optimizations

6 months agoMerge pull request #61312 from adamemerson/wip-boost-1.86-fixes
Ilya Dryomov [Mon, 13 Jan 2025 21:58:40 +0000 (22:58 +0100)]
Merge pull request #61312 from adamemerson/wip-boost-1.86-fixes

{mgr, rbd, tests/os}: Fixes for Boost 1.86

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
6 months agoMerge pull request #61284 from shraddhaag/wip-shraddhaag-fix-rados-monthrash
Laura Flores [Mon, 13 Jan 2025 19:21:49 +0000 (13:21 -0600)]
Merge pull request #61284 from shraddhaag/wip-shraddhaag-fix-rados-monthrash

rados/monthrash: add PG_DEGRADED to ignorelist

6 months agodoc/releases: add actual_eol for quincy 61352/head
Zac Dover [Mon, 13 Jan 2025 19:00:00 +0000 (05:00 +1000)]
doc/releases: add actual_eol for quincy

Add the actual EOL date for the Quincy release (it's 2025-01-13).

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61311 from zdover23/wip-doc-2025-01-10-releases-remove-quincy...
Yuri Weinstein [Mon, 13 Jan 2025 18:54:04 +0000 (10:54 -0800)]
Merge pull request #61311 from zdover23/wip-doc-2025-01-10-releases-remove-quincy-from-active

doc/releases: remove Quincy from "Active"

Reviewed by: Laura Flores <lflores@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61208 from Yonatan-Zaken/restore_selinux_context_when_writing_rem...
Adam King [Mon, 13 Jan 2025 18:17:09 +0000 (13:17 -0500)]
Merge pull request #61208 from Yonatan-Zaken/restore_selinux_context_when_writing_remote_files_on_host

mgr/cephadm: Restore client file(s) default SELinux context type

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
6 months agoMerge pull request #61099 from rkachach/fix_issue_69252
Adam King [Mon, 13 Jan 2025 18:13:15 +0000 (13:13 -0500)]
Merge pull request #61099 from rkachach/fix_issue_69252

mgr/cephadm: fixing logic in cert-store save_cert method

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
6 months agoMerge pull request #61035 from ShwetaBhosale1/fix_issue_69192_getting_error_if_yaml_f...
Adam King [Mon, 13 Jan 2025 18:10:55 +0000 (13:10 -0500)]
Merge pull request #61035 from ShwetaBhosale1/fix_issue_69192_getting_error_if_yaml_file_has_trailing_tab

mgr/cephadm: mgr orchestrator module raise exception if there is trailing tab in yaml file

Reviewed-by: Adam King <adking@redhat.com>
6 months agoMerge pull request #60888 from ShwetaBhosale1/fix_issue_69070_only_bind_ports_on_netw...
Adam King [Mon, 13 Jan 2025 18:07:50 +0000 (13:07 -0500)]
Merge pull request #60888 from ShwetaBhosale1/fix_issue_69070_only_bind_ports_on_network_parameter_spec_for_alertmanager

mgr/cephadm: Add only_bind_ports_on_network spec parameter for Alertmanager

Reviewed-by: Adam King <adking@redhat.com>
6 months agoMerge pull request #60828 from rkachach/fix_prometheus_targets_discovery_mtls
Adam King [Mon, 13 Jan 2025 16:51:42 +0000 (11:51 -0500)]
Merge pull request #60828 from rkachach/fix_prometheus_targets_discovery_mtls

mgr/cephadm: fixing config files for prometheus and alertmanager

Reviewed-by: Adam King <adking@redhat.com>
6 months agoMerge pull request #60690 from ShwetaBhosale1/fix_issue_68695_ceph_orch_commands_does...
Adam King [Mon, 13 Jan 2025 16:48:31 +0000 (11:48 -0500)]
Merge pull request #60690 from ShwetaBhosale1/fix_issue_68695_ceph_orch_commands_does_not_work_for_deployment_name_osd

mgr/cephadm:  ceph orch <start/stop/restart> commands should work for service name osd  and command to updated service name for osd

Reviewed-by: Adam King <adking@redhat.com>
6 months agoMerge pull request #58604 from adk3798/cephadm-rgw-no-multisite-traffic
Adam King [Mon, 13 Jan 2025 16:38:01 +0000 (11:38 -0500)]
Merge pull request #58604 from adk3798/cephadm-rgw-no-multisite-traffic

mgr/cephadm: allow disabling rgw_run_sync_thread through spec

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
6 months agocommon/io_exerciser: Reorder lines in RadosIo send_command functions 61322/head
Jon Bailey [Mon, 13 Jan 2025 15:19:08 +0000 (15:19 +0000)]
common/io_exerciser: Reorder lines in RadosIo send_command functions

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
6 months agolibrbd/migration/HttpClient: Use asio::ssl::stream 61312/head
Adam Emerson [Thu, 9 Jan 2025 23:54:11 +0000 (18:54 -0500)]
librbd/migration/HttpClient: Use asio::ssl::stream

`beast::ssl_stream` is deprecated as of 1.86, and its loss of the move
constructor keeps it from compiling on that version.

Hopefully this passes tests on 1.85, too, or it will have to wait
until the boost bump.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
6 months agoMerge pull request #61272 from laimis9133/main
Anthony D'Atri [Mon, 13 Jan 2025 14:10:01 +0000 (09:10 -0500)]
Merge pull request #61272 from laimis9133/main

doc/radosgw/config-ref: fix lc worker thread tuning

6 months agoMerge pull request #58924 from imtzw/tzw_ikey_lat
Yuri Weinstein [Mon, 13 Jan 2025 14:02:07 +0000 (06:02 -0800)]
Merge pull request #58924 from imtzw/tzw_ikey_lat

os/bluestore: record omapiter init latency

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 months agoMerge pull request #57617 from Matan-B/wip-matanb-fix-python-warnings
Yuri Weinstein [Mon, 13 Jan 2025 13:51:51 +0000 (05:51 -0800)]
Merge pull request #57617 from Matan-B/wip-matanb-fix-python-warnings

test/pybind/test_rados.py: fix warnings

Reviewed-by: Samuel Just <sjust@redhat.com>
6 months agoMerge pull request #60278 from rzarzynski/wip-os-fastomapiter
Yuri Weinstein [Mon, 13 Jan 2025 13:32:04 +0000 (05:32 -0800)]
Merge pull request #60278 from rzarzynski/wip-os-fastomapiter

os, osd: bring the lightweight OMAP iteration

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
7 months agocommon/io_exerciser: Clear the stringstream in RadosIO class
Jon Bailey [Fri, 10 Jan 2025 16:55:35 +0000 (16:55 +0000)]
common/io_exerciser: Clear the stringstream in RadosIO class

Ensures the stringstream is empty before sending a command in the RadosIO class

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
7 months agoMerge pull request #61000 from MaxKellermann/no_boost
SrinivasaBharathKanta [Mon, 13 Jan 2025 09:28:17 +0000 (14:58 +0530)]
Merge pull request #61000 from MaxKellermann/no_boost

Use `std` instead of Boost

7 months agoMerge pull request #61278 from VallariAg/wip-vallari-nvmeof-alerts-update
Vallari Agrawal [Mon, 13 Jan 2025 08:29:09 +0000 (13:59 +0530)]
Merge pull request #61278 from VallariAg/wip-vallari-nvmeof-alerts-update

monitoring: Update nvmeof alert limits in config

7 months agoos/bluestore: Fix BlueFS::truncate() 61314/head
Adam Kupczyk [Fri, 10 Jan 2025 08:26:54 +0000 (08:26 +0000)]
os/bluestore: Fix BlueFS::truncate()

In `struct bluefs_fnode_t` there is a vector `extents` and
the vector `extents_index` that is a log2 seek cache.

Until modifications to truncate() we never removed extents from files.
Modified truncate() did not update extents_index.

For example 10 extents long files when truncated to 0 will have:
0 extents, 10 extents_index.
After writing some data to file:
1 extents, 11 extents_index.

Now, `bluefs_fnode_t::seek` will binary search extents_index,
lets say it located seek at item #3.
It will then jump up from #0 extent (that exists) to #3 extent which
does not exist at.
The worst part is that code is now broken, as #3 != extent.end().

There are 3 parts of the fix:
1) assert in `bluefs_fnode_t::seek` to protect against
   jumping outside extents
2) code in BlueFS::truncate to sync up `extents_index` with `extents`
3) dampening down assert in _replay to give a way out of cases
   where incorrect "offset 12345" (12345 is file size) instead of
   "offset 20000" (allocations occupied) was written to log.

Fixes: https://tracker.ceph.com/issues/69481
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
7 months agoMerge pull request #60762 from ljflores/wip-tracker-67181
SrinivasaBharathKanta [Mon, 13 Jan 2025 07:07:23 +0000 (12:37 +0530)]
Merge pull request #60762 from ljflores/wip-tracker-67181

qa/suites/rados/verify/validater: ignore OSD_DOWN

7 months agoMerge pull request #60261 from MaxKellermann/PyModule_no_lock
SrinivasaBharathKanta [Mon, 13 Jan 2025 06:52:43 +0000 (12:22 +0530)]
Merge pull request #60261 from MaxKellermann/PyModule_no_lock

mgr/PyModule: do not lock in get_name(), get_error_string()

7 months agomgr: Work around bug in Boost MPI/Python
Adam Emerson [Tue, 7 Jan 2025 02:01:49 +0000 (21:01 -0500)]
mgr: Work around bug in Boost MPI/Python

Thanks to the maintainers of the Arch User Repository Ceph PKGBUILD
for this fix.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
7 months agoMerge pull request #60958 from xxhdx1985126/wip-69120
Matan Breizman [Sun, 12 Jan 2025 07:54:39 +0000 (09:54 +0200)]
Merge pull request #60958 from xxhdx1985126/wip-69120

crimson/osd/backfill_state: recheck whether needs to scan the primary at the end of Enqueuing::Enqueuing

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 months agoMerge pull request #60803 from xxhdx1985126/wip-69027
Matan Breizman [Sun, 12 Jan 2025 07:50:03 +0000 (09:50 +0200)]
Merge pull request #60803 from xxhdx1985126/wip-69027

crimson/osd/replicate_backend: add standalone delete to the push queue if the object is deleted while it's being backfilled

Reviewed-by: Samuel Just <sjust@redhat.com>
7 months agoMerge pull request #60795 from taodd/fix-rbd-sparsify-on-ec-image-slow
Ilya Dryomov [Sat, 11 Jan 2025 17:17:28 +0000 (18:17 +0100)]
Merge pull request #60795 from taodd/fix-rbd-sparsify-on-ec-image-slow

osd: optimize extent comparison in PrimaryLogPG

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
7 months agoMerge pull request #61313 from VallariAg/wip-vallari-teuthology-docs
Vallari Agrawal [Sat, 11 Jan 2025 02:34:03 +0000 (08:04 +0530)]
Merge pull request #61313 from VallariAg/wip-vallari-teuthology-docs

doc: improve tests-integration-testing-teuthology-workflow.rst

7 months agoMerge pull request #61291 from cbodley/wip-69470
Zac Dover [Sat, 11 Jan 2025 00:02:24 +0000 (10:02 +1000)]
Merge pull request #61291 from cbodley/wip-69470

doc/rgw: document UserName requirements for account migration

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
7 months agoMerge pull request #55259 from linuxbox2/wip-object-attributes
Matt Benjamin [Fri, 10 Jan 2025 22:37:14 +0000 (17:37 -0500)]
Merge pull request #55259 from linuxbox2/wip-object-attributes

rgw: implement GetObjectAttributes

7 months agoMerge pull request #60969 from idryomov/wip-69135
Ilya Dryomov [Fri, 10 Jan 2025 21:56:36 +0000 (22:56 +0100)]
Merge pull request #60969 from idryomov/wip-69135

qa/suites/upgrade/reef-x: sync log-ignorelist with quincy-x

Reviewed-by: Laura Flores <lflores@ibm.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 months agoMerge pull request #60081 from anthonyeleven/anthonyeleven/tweak
Anthony D'Atri [Fri, 10 Jan 2025 21:24:15 +0000 (16:24 -0500)]
Merge pull request #60081 from anthonyeleven/anthonyeleven/tweak

src/exporter: improve usage message

7 months agorgw_attrs: fixes for 3 more iam/perms mappings 55259/head
Matt Benjamin [Thu, 9 Jan 2025 20:11:10 +0000 (15:11 -0500)]
rgw_attrs: fixes for 3 more iam/perms mappings

Help from Pritha and Casey appreciated

Plus, fix 3 explicit mapping tests in test_rgw_iam_policy.cc.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
7 months agoMerge pull request #61164 from chardan/wip-objectstore-ops-replayer-sign-warning
Jesse Williamson [Fri, 10 Jan 2025 15:48:10 +0000 (07:48 -0800)]
Merge pull request #61164 from chardan/wip-objectstore-ops-replayer-sign-warning

ops_replayer: fix signed/unsigned warning and add parameter range checking.

7 months agodoc: improve tests-integration-testing-teuthology-workflow.rst 61313/head
Vallari Agrawal [Thu, 9 Jan 2025 12:27:42 +0000 (17:57 +0530)]
doc: improve tests-integration-testing-teuthology-workflow.rst

This commit adds:
1. workflow summary in the first section along with an image.
2. sub-section "Pushing to ceph-ci repository" to second section.
3. file doc/dev/developer_guide/testing_integration_tests/workflow.png

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
7 months agoos/bluestore: bluefs unittest for truncate bug
Adam Kupczyk [Fri, 10 Jan 2025 10:07:18 +0000 (10:07 +0000)]
os/bluestore: bluefs unittest for truncate bug

Unittest showing 2 different flavours of problems:
1) bluefs log corruption
2) bluefs sigsegv

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
7 months agocrimson/os/seastore: refactor LBAMapping 61261/head
Xuehan Xu [Wed, 8 Jan 2025 08:07:21 +0000 (16:07 +0800)]
crimson/os/seastore: refactor LBAMapping

So that PhyscalNodeMapping doesn't contain LBAMapping specific
interfaces

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
7 months agoMerge pull request #61254 from kamoltat/wip-ksirivad-fix-stretch-mode-doc
Kamoltat (Junior) Sirivadhna [Fri, 10 Jan 2025 02:53:59 +0000 (09:53 +0700)]
Merge pull request #61254 from kamoltat/wip-ksirivad-fix-stretch-mode-doc

doc/rados/operations/stretch-mode: Improve doc
Reviewed-by: zdover23
Reviewed-by: anthonyeleven
7 months agoMerge pull request #61288 from adamemerson/wip-69303
Adam Emerson [Fri, 10 Jan 2025 00:57:04 +0000 (19:57 -0500)]
Merge pull request #61288 from adamemerson/wip-69303

rgw: Don't crash on exceptions from pool listing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 months agoqa/tests: removed quincy from crontab 61311/head
Yuri Weinstein [Thu, 9 Jan 2025 23:36:09 +0000 (15:36 -0800)]
qa/tests: removed quincy from crontab

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 months agodoc/releases: remove Quincy from "Active"
Zac Dover [Thu, 9 Jan 2025 23:09:14 +0000 (09:09 +1000)]
doc/releases: remove Quincy from "Active"

Remove "Quincy" from the list of "Active Releases" in
doc/releases/index.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
7 months agodoc/rgw: document UserName requirements for account migration 61291/head
Casey Bodley [Thu, 9 Jan 2025 17:52:03 +0000 (12:52 -0500)]
doc/rgw: document UserName requirements for account migration

clarify the following error when migrating a user into an account:

> could not modify user: unable to modify user, UserName contains invalid characters

Fixes: https://tracker.ceph.com/issues/69470
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 months agorgw: Don't crash on exceptions from pool listing 61288/head
Adam Emerson [Thu, 9 Jan 2025 16:46:32 +0000 (11:46 -0500)]
rgw: Don't crash on exceptions from pool listing

Fixes: https://tracker.ceph.com/issues/69303
Signed-off-by: Adam Emerson <aemerson@redhat.com>
7 months agoMerge pull request #60330 from JonBailey1993/JonBailey1993/ceph_test_rados_io_sequenc...
Jon Bailey [Thu, 9 Jan 2025 16:19:54 +0000 (16:19 +0000)]
Merge pull request #60330 from JonBailey1993/JonBailey1993/ceph_test_rados_io_sequence_inject_error

common/io_exerciser: Add support to ceph_test_rados_io_sequence injecting errors for testing how erasure coding deals with error scenarios

Reviewed-by: Ronen Friedman <rfriedma@ibm.com>
7 months agoMerge pull request #52791 from clwluvw/location-constraint
Casey Bodley [Thu, 9 Jan 2025 16:03:50 +0000 (11:03 -0500)]
Merge pull request #52791 from clwluvw/location-constraint

rgw: check for location constraint on master zonegroup

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 months agoMerge pull request #59960 from smanjara/wip-fix-missing-http-data
Casey Bodley [Thu, 9 Jan 2025 16:03:26 +0000 (11:03 -0500)]
Merge pull request #59960 from smanjara/wip-fix-missing-http-data

rgw/multisite:  include request body when CreateBucket op is forwarded to master

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 months agoMerge pull request #60881 from NitzanMordhai/wip-nitzan-ipv6-subnet-checks
Laura Flores [Thu, 9 Jan 2025 15:48:20 +0000 (09:48 -0600)]
Merge pull request #60881 from NitzanMordhai/wip-nitzan-ipv6-subnet-checks

common/pick_address: Add IPv6 support to is_addr_in_subnet

7 months agoMerge pull request #60987 from drunkard/main
David Galloway [Thu, 9 Jan 2025 15:43:37 +0000 (10:43 -0500)]
Merge pull request #60987 from drunkard/main

doc: fixes in doc building

7 months agoMerge pull request #60883 from xxhdx1985126/wip-crimson-backfill-throttle
Matan Breizman [Thu, 9 Jan 2025 14:59:44 +0000 (16:59 +0200)]
Merge pull request #60883 from xxhdx1985126/wip-crimson-backfill-throttle

crimson/osd/pg_recovery: throttle backfills together with pglog based recoveries

Reviewed-by: Samuel Just <sjust@redhat.com>
7 months agoMerge pull request #61262 from VallariAg/fix-nvmeof-teuthology-basic-test
Vallari Agrawal [Thu, 9 Jan 2025 14:00:49 +0000 (19:30 +0530)]
Merge pull request #61262 from VallariAg/fix-nvmeof-teuthology-basic-test

qa/workunits/nvmeof/basic_tests.sh: fix nvme list assert

7 months agoMerge pull request #60623 from piyushagarwal1411/ceph-exporter
Ilya Dryomov [Thu, 9 Jan 2025 13:59:25 +0000 (14:59 +0100)]
Merge pull request #60623 from piyushagarwal1411/ceph-exporter

vstart: add ceph-exporter support

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
7 months agorados/monthrash: add PG_DEGRADED to ignorelist 61284/head
Shraddha Agrawal [Thu, 9 Jan 2025 13:59:16 +0000 (19:29 +0530)]
rados/monthrash: add PG_DEGRADED to ignorelist

Issue: mon/test_mon_osdmap_prune.sh is failing due to
PG_DEGRADED state.

Cause: We are writing an objects to a newly created PG before
it has enough OSDs in acting set to create enough replicas.
This is expected behaviour, thus the solution is to add the
warning to ignorelist.

Fixes: https://tracker.ceph.com/issues/69288
Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
7 months agomonitoring: Update nvmeof alert limits in config 61278/head
Vallari Agrawal [Thu, 9 Jan 2025 10:54:33 +0000 (16:24 +0530)]
monitoring: Update nvmeof alert limits in config

Update these in config.libsonnet:
- NVMeoFMaxGatewaysPerGroup (4->8)
- NVMeoFMaxGatewaysPerCluster (4->32)
- NVMeoFMaxNamespaces (1024->2048)
- NVMeoFHighClientCount (32->128)

Also update prometheus_alerts.yml and test_alerts.yml
accordingly.

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
7 months agoMerge pull request #60891 from xxhdx1985126/wip-seastore-fadvise-backfill
Yingxin Cheng [Thu, 9 Jan 2025 10:08:35 +0000 (18:08 +0800)]
Merge pull request #60891 from xxhdx1985126/wip-seastore-fadvise-backfill

crimson/os/seastore: add fadvise support to SeaStore and prevent recovery/backfill from polluting the cache of SeaStore

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 months agodoc/rados/operations/stretch-mode: Improve doc 61254/head
Kamoltat Sirivadhna [Tue, 7 Jan 2025 09:36:03 +0000 (09:36 +0000)]
doc/rados/operations/stretch-mode: Improve doc

Added more content and rewrite some sections

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
7 months agodoc/radosgw/config-ref: fix lc worker thread tuning 61272/head
Laimis Juzeliƫnas [Wed, 8 Jan 2025 22:05:34 +0000 (00:05 +0200)]
doc/radosgw/config-ref: fix lc worker thread tuning

This commit updates RGW Config Reference - Lifecycle Settings section. In particular it addresses an incorrect suggestion to decrease parallel threads in the workers pool for a more aggressive/accelerated per-bucket lifecycle processing. A more aggressive lifecycle processing for a bucket containing higher number of objects is achieved by increasing, not decreasing parallel threads.
Current suggestion is miss-leading.

Fixes: https://tracker.ceph.com/issues/63659
Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
7 months agoFix signed/unsigned warning and add parameter range checking. 61164/head
Jesse F. Williamson [Wed, 18 Dec 2024 14:38:56 +0000 (06:38 -0800)]
Fix signed/unsigned warning and add parameter range checking.

Signed-off-by: Jesse F. Williamson <1643380+chardan@users.noreply.github.com>
7 months agoMerge pull request #60848 from cbodley/wip-rgw-deprecate-iam-tenant
Casey Bodley [Wed, 8 Jan 2025 18:02:17 +0000 (13:02 -0500)]
Merge pull request #60848 from cbodley/wip-rgw-deprecate-iam-tenant

docs/rgw: deprecate tenant-based IAM in favor of accounts

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
7 months agoMerge pull request #61074 from chardan/wip-radowsgw-admin-jfw-restructure_file
Jesse Williamson [Wed, 8 Jan 2025 17:53:07 +0000 (09:53 -0800)]
Merge pull request #61074 from chardan/wip-radowsgw-admin-jfw-restructure_file

rgw: migrate rgw_admin to new radosgw-admin directory

7 months agoMerge pull request #60379 from cbodley/wip-librados-cancellation
Casey Bodley [Wed, 8 Jan 2025 17:29:18 +0000 (12:29 -0500)]
Merge pull request #60379 from cbodley/wip-librados-cancellation

librados/asio: forward asio cancellations to AioCompletion::cancel()

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
7 months agorgw/multisite: the create_bucket forward request omits the 59960/head
Shilpa Jagannath [Tue, 24 Sep 2024 21:12:02 +0000 (17:12 -0400)]
rgw/multisite: the create_bucket forward request omits the
the request body, thus missing some data if specified inside
CreateBucketConfiguration xml on the non-master zone.
also, now that we perform cksum validation against empty payloads,
such a request would fail with -ERR_AMZ_CONTENT_SHA256_MISMATCH due
to a zero content-length but a non-empty payload hash.
this fix ensures that request body is forwarded during create_bucket

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
7 months agoMerge pull request #61127 from VallariAg/wip-nvmeof-delete-healthcheck
Vallari Agrawal [Wed, 8 Jan 2025 15:43:07 +0000 (21:13 +0530)]
Merge pull request #61127 from VallariAg/wip-nvmeof-delete-healthcheck

mon/NVMeofGwMap: add healthcheck warning NVMEOF_GATEWAY_DELETING

7 months agoMerge pull request #61136 from cbodley/wip-69301
Casey Bodley [Wed, 8 Jan 2025 15:36:25 +0000 (10:36 -0500)]
Merge pull request #61136 from cbodley/wip-69301

rgw: don't use merge_and_store_attrs() when recreating a bucket

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
7 months agoMerge pull request #61255 from Matan-B/wip-matanb-crimson-seastore-deafult-2
Matan Breizman [Wed, 8 Jan 2025 11:46:38 +0000 (13:46 +0200)]
Merge pull request #61255 from Matan-B/wip-matanb-crimson-seastore-deafult-2

common/options/crimson.yaml.in: fallback to Bluestore by default

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
7 months agoMerge pull request #61251 from guits/ceph-volume-69432
Guillaume Abrioux [Wed, 8 Jan 2025 10:24:35 +0000 (11:24 +0100)]
Merge pull request #61251 from guits/ceph-volume-69432

ceph-volume: fix loop devices support

7 months agovstart.sh: add support for launching the ceph-exporter daemon 60623/head
Piyush Agarwal [Wed, 8 Jan 2025 08:57:49 +0000 (14:27 +0530)]
vstart.sh: add support for launching the ceph-exporter daemon

Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
7 months agoMerge pull request #61252 from guits/hints-create_id
Guillaume Abrioux [Wed, 8 Jan 2025 08:03:15 +0000 (09:03 +0100)]
Merge pull request #61252 from guits/hints-create_id

ceph-volume: add python hints to util.prepare.create_id()

7 months agoqa/workunits/nvmeof/basic_tests.sh: fix connect-all assert 61262/head
Vallari Agrawal [Tue, 7 Jan 2025 13:35:35 +0000 (19:05 +0530)]
qa/workunits/nvmeof/basic_tests.sh: fix connect-all assert

There seems to be change in 'nvme list' json output
which caused failures in asserts after 'nvme connect-all'
command.

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
7 months agorgw:attrs: dump marker and max_parts only if sent
Matt Benjamin [Fri, 18 Oct 2024 19:50:14 +0000 (15:50 -0400)]
rgw:attrs: dump marker and max_parts only if sent

Suggested by Casey.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
7 months agorgw:attrs cap max_parts at 1000
Matt Benjamin [Fri, 18 Oct 2024 19:31:32 +0000 (15:31 -0400)]
rgw:attrs cap max_parts at 1000

Suggested by Casey.  This is a relatively small value, but let's
be conservative.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
7 months agorgw: GetObjAttrs enforces MaxSize and returns correct IsTruncated
Casey Bodley [Fri, 18 Oct 2024 17:46:38 +0000 (13:46 -0400)]
rgw: GetObjAttrs enforces MaxSize and returns correct IsTruncated

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 months agorgw/rados: Object::list_parts() starts after marker
Casey Bodley [Fri, 18 Oct 2024 17:45:54 +0000 (13:45 -0400)]
rgw/rados: Object::list_parts() starts after marker

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 months agorgw/rados: get_part_obj_state() fixes accounted_size when uncompressed
Casey Bodley [Fri, 18 Oct 2024 17:27:51 +0000 (13:27 -0400)]
rgw/rados: get_part_obj_state() fixes accounted_size when uncompressed

the part head objects don't have a RGW_ATTR_MANIFEST attribute, so
get_obj_state_impl() isn't able to set the correct
RGWObjState::accounted_size unless RGW_ATTR_COMPRESSION provides one

get_part_obj_state() builds a fake manifest in memory to represent the
part and updates state.size accordingly, but it hadn't corrected the
value of state.accounted_size

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 months agorgw: GetObjAttrs calls rgw_s3_prepare_decrypt()
Casey Bodley [Thu, 17 Oct 2024 23:25:57 +0000 (19:25 -0400)]
rgw: GetObjAttrs calls rgw_s3_prepare_decrypt()

RGWGetObj::execute() relies on the virtual get_decrypt_filter() which is
overridden by RGWGetObj_ObjStore_S3

but when called from RGWGetObjAttrs_ObjStore_S3, there is no override.
add one that just calls rgw_s3_prepare_decrypt()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 months agorgw_cksum: return version_id in all cases
Matt Benjamin [Sat, 12 Oct 2024 22:20:31 +0000 (18:20 -0400)]
rgw_cksum: return version_id in all cases

The version_id member in RGWGetObjAttrs shadows the one in
RGWGetObj.

Just assign it before conditionally returning the version-id header
in RGWGetObjAttrs_ObjStore_S3::send_response().

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>