Commit Graph

142714 Commits

Author SHA1 Message Date
Samarah
ee50056b44 rgw/asio: Add asserts to ensure asio isn't running during run and
`stop` calls

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
2024-01-17 16:05:02 +00:00
Venky Shankar
b5d0337092 Merge PR #54041 into main
* refs/pull/54041/head:
	qa: fix error reporting string in assert_cluster_log

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-01-17 19:59:22 +05:30
Ronen Friedman
035b9e6d75
Merge pull request #55105 from ronen-fr/wip-rf-nonorecovery
osd/scrub: allow replicas to scrub even if their OSDs have ongoing backfills

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2024-01-17 14:02:26 +02:00
Matan Breizman
19e943627d qa/config/crimson_qa_overrides.yaml: Decrease lru_size for testing
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-17 11:51:50 +00:00
Matan Breizman
76b64e1db1 test/neorados/misc: Crimson - Skip NeoRadosMisc.WriteSame
See: https://tracker.ceph.com/issues/64040

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-17 11:05:46 +00:00
Matan Breizman
678e8eaf60 test/librados/aio_cxx: Crimson - Skip LibRadosAio.MultiReads
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-17 11:05:46 +00:00
Matan Breizman
73b5e8c15d test/neorados/list: Seperate NeoRadosECTest from NeoRadosTest
otherwise SKIP_IF_CRIMSON won't work in this case

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-17 11:05:46 +00:00
Matan Breizman
b99ffc4f3e test/neorados/aio_cxx: Seperate NeoRadosECTest from NeoRadosTest
SKIP_IF_CRIMSON won't work here since we try to create EC pools
prior to the test being run.
Skip if the entire test instead by seperating EC tests.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-17 11:05:46 +00:00
Matan Breizman
3a75a60aed test/neorados/io: Crimson - Skip NeoRadosIo.Limits
See: https://tracker.ceph.com/issues/64040

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-17 11:05:05 +00:00
Matan Breizman
c843ea6167 test/neorados/cls: Crimson - Skip NeoRadosCls.RemoteReads
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-17 10:57:05 +00:00
Zhang Song
3ae10a22ca crimson/osd: fix dangling reference bug
Cherry-picked from: 3fad54e154

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2024-01-17 10:51:42 +00:00
Pedro Gonzalez Gomez
c7bd032444
Merge pull request #54070 from rhcs-dashboard/add-multisite-sync-status-unit-tests
mgr/dashboard: add frontend unit tests for rgw multisite sync status card


Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2024-01-17 11:03:03 +01:00
Matan Breizman
73d7cb6efc
Merge pull request #54765 from Matan-B/wip-matanb-crimson-submit-error-cleanup
crimson/osd: submit_error_log cleanup

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2024-01-17 11:39:38 +02:00
Matan Breizman
9f2e38926e
Merge pull request #55171 from Matan-B/wip-matanb-crimson-return-no-supp
crimson/osd/osd_operations/client_request: return OpInfo errors

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2024-01-17 10:51:37 +02:00
Ronen Friedman
bba3be3b47
Merge pull request #55175 from ronen-fr/wip-rf-max-test-options
qa/suites/rados/thrash: modify selection of max-scrubs configuration values

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2024-01-17 10:48:33 +02:00
Yingxin
704a71e332
Merge pull request #55189 from zhscn/fix-clone-indiect-mapping
crimson/os/seastore: correct the parameter passed to LBAManager::clone_mapping

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-01-17 16:20:30 +08:00
Zhang Song
4eeffee677 crimson/osd: get SnapSetContext from head_obc
Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2024-01-17 11:40:30 +08:00
Xuehan Xu
06532d8545 crimson/osd/object_context: rename ObjectContext::list_hook to obc_accessing_hook
There's already a "list_hook" in the base class "intrusive_lru_base"

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-01-16 23:21:44 +00:00
Laura Flores
d38b2ba335
Merge pull request #55115 from ljflores/wip-tracker-63967
qa/tasks: fix syntax for deep-scrub command
2024-01-16 13:07:10 -06:00
Jane Zhu
e200499bb3 rgw/multisite: maintain endpoints connectable status and retry the requests to them when appropriate
Signed-off-by: Juan Zhu <jzhu4@dev-10-34-20-139.pw1.bcc.bloomberg.com>
2024-01-16 10:50:45 -05:00
Yuval Lifshitz
969662837c
Merge pull request #54966 from yuvalif/wip-yuval-63855
rgw/notifications: dont send notifications if op has failed

reviewed-by: cbodley
2024-01-16 16:12:31 +02:00
zdover23
eaf6e41294
Merge pull request #55169 from zdover23/wip-doc-2024-01-14-radosgw-admin-enable-disable-user-rate-limit
docs/radosgw: edit admin.rst "enable/disable user rate limit"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-01-16 23:51:29 +10:00
Casey Bodley
5f3ea96c23
Merge pull request #55148 from cbodley/wip-63994
rgw: fix use of creds in forward_iam_request()

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2024-01-16 13:22:30 +00:00
Pedro Gonzalez Gomez
efd8b460fe
Merge pull request #54803 from rhcs-dashboard/increase-plottable-graphs-dashboard
mgr/dashboard: increase the number of plottable graphs in charts


Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-01-16 14:15:48 +01:00
Leonid Usov
da362521bf common/admin_socket: improvements to the RaiseHook
When porting the original feature to older releases
an issue was spotted that resulted in an effectively
infinite loop inside the killer fork

The problem was that the timespan deduced by the `auto`
variable definition ended up to be unsigned (the default)
As a result, when the difference between now and ref
was negative, it began awaiting some insane 64bit-second period

This improvement both addresses some inefficiency with the
spin loop and avoids using the `auto` to explicitly request
the expected span types.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2024-01-16 14:49:21 +02:00
Matan Breizman
98f3c19104 crimson/osd/osd_operations/client_request: return OpInfo errors
See NeoRadosCls.DNE or LibRadosCls.DNE

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

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-16 12:46:28 +00:00
Matan Breizman
4997eadda7 crimson/osd/pg: move maybe_submit_error_log
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-16 12:42:58 +00:00
Matan Breizman
0f99cdc81e crimson/osd/pg: on_removal to assert empty log_entry map
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-16 12:42:58 +00:00
Matan Breizman
b44c41f08c crimson/osd/pg: submit_error_log cleanup
* error log completion logic is moved into maybe_submit_error_log
* renamed it and it2
* maybe_submit_error_log is moved outside of failure_func
* failure_func no longer gets rep_tid and record_error params
* log_entry_version is removed, submit_error_log returns the version instead

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-16 12:42:58 +00:00
Matan Breizman
841bc653ef crimson/osd/pg: do_osd_ops_execute drop error_func_ptr
std::move to the only user instead

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-01-16 12:42:58 +00:00
Dhairya Parmar
d8d18011a8 qa: typo fixes in ceph_test_case docstrings
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2024-01-16 18:09:54 +05:30
Rishabh Dave
9085e776af
Merge pull request #54484 from batrick/mds-const-mdreqref
mds: use const qualifier for MDRequestRef

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2024-01-16 17:48:21 +05:30
Rishabh Dave
2c5acead4f
Merge pull request #54390 from shminjs/feat-purgequeue-executed-ops
mds/purgequeue: add l_pq_executed_ops counter

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2024-01-16 17:47:21 +05:30
Rishabh Dave
e283219800
Merge pull request #53670 from mchangir/mds-enqueue-all-child-frags-for-scrub-for-a-given-fragset
mds/scrub: enqueue all child frags for a given fragset

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2024-01-16 17:46:08 +05:30
Rishabh Dave
158f916f25
Merge pull request #54208 from neesingh-rh/json_asok_fix
qa: fix rank_asok() to handle errors from asok commands

Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2024-01-16 17:45:09 +05:30
Rishabh Dave
38d614c85d
Merge pull request #54381 from lxbsz/wip-cleanup-auth
mds: misc fixes for MDSAuthCaps code

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2024-01-16 17:44:04 +05:30
Rishabh Dave
4b39dedc5d
Merge pull request #54406 from vshankar/wip-63482
qa: enable debug mds/client for fs/nfs suite

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2024-01-16 17:42:37 +05:30
Rishabh Dave
9f57d8d0c3
Merge pull request #54519 from lxbsz/wip-63552
mds: use explicitly sized types for network and disk encoding

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2024-01-16 17:40:59 +05:30
Rishabh Dave
bdd0c89185
Merge pull request #54590 from vshankar/wip-57087
qa: set mds config with `config set` for a particular test

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2024-01-16 17:39:21 +05:30
Nizamudeen A
35488a4485
Merge pull request #55185 from rhcs-dashboard/docs-build-fix
admin/doc-requirements: bump Sphinx to 5.0.2

Reviewed-by: Matan-B <NOT@FOUND>
2024-01-16 17:35:23 +05:30
Zac Dover
a1fca50dfd doc/radosgw: edit "Enable/Disable Bucket Rate Limit"
Edit "Enable/Disable Bucket Rate Limit" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-01-16 20:37:17 +10:00
Aashish Sharma
d169a206d1 mgr/dashboard: add frontend unit tests for rgw multisite sync status
card

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-01-16 15:57:36 +05:30
Nizamudeen A
a916feeee7 admin/doc-requirements: bump Sphinx to 5.0.2
```
Running Sphinx v4.5.0

Sphinx version error:
The sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version.
```

Signed-off-by: Nizamudeen A <nia@redhat.com>
2024-01-16 14:17:25 +05:30
Zhang Song
6bd05fcf62 crimson/os/seastore: correct the parameter passed to LBAManager::clone_mapping
Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2024-01-16 16:14:57 +08:00
Nizamudeen A
ceb5df6109
Merge pull request #55143 from afreen23/main
mgr/dashboard: Fixes multisite topology page breadcrumb

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-01-16 13:19:20 +05:30
Nizamudeen A
6e3d03eeda
Merge pull request #54645 from rhcs-dashboard/revert-tls-1.2-main
Revert "mgr/dashboard: allow tls 1.2 with a config option"

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2024-01-16 12:04:18 +05:30
Yingxin Cheng
dad7e5f67c common/options/crimson: increase crimson_osd_obc_lru_size to 512
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-01-16 14:32:29 +08:00
Pedro Gonzalez Gomez
9bb8ee4871
Merge pull request #55120 from rhcs-dashboard/snapshot-delete
mgr/dashboard: delete cephfs snapshot

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
2024-01-15 11:19:32 +01:00
Aashish Sharma
65ec74434d mgr/dashboard: increase the number of plottable graphs in charts
Fixes: https://tracker.ceph.com/issues/64024

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-01-15 14:19:38 +05:30
Ronen Friedman
f5e6b607b9 test/scrub: modify selection of max-scrubs configuration values
As the osd-max-scrubs default was increased from 1 to (currently) 3, the
original set of optional values under rados/thrash/3-scrub-overrides are
no longer useful.  This commits changes the set of optional values to
reflect the current default.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2024-01-14 20:53:38 +02:00