Commit Graph

142442 Commits

Author SHA1 Message Date
Redouane Kachach
4603c5b349
Merge pull request #55181 from rkachach/fix_issue_64027
mgr/rook: always recreate kvm default network + fix groups refresh
2024-01-18 06:55:38 +01:00
Venky Shankar
2f867c0697 Merge PR #53080 into main
* refs/pull/53080/head:
	mds/journal: make used_preallocated_ino crash more graceful

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-01-18 10:32:24 +05:30
Venky Shankar
2c5167261c Merge PR #53238 into main
* refs/pull/53238/head:
	mds: just wait the client flushes the snap and dirty buffer

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-01-18 10:30:00 +05:30
Venky Shankar
aeb75b5e4a Merge PR #54511 into main
* refs/pull/54511/head:
	test/libcephfs: move the snapdiff to a dedicated binary

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-01-18 10:29:04 +05:30
Venky Shankar
9acc0cab3c Merge PR #54958 into main
* refs/pull/54958/head:
	mds: func name fixup, plus, and additional log message

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2024-01-18 10:27:38 +05:30
Venky Shankar
433fe34047 Merge PR #54682 into main
* refs/pull/54682/head:
	qa: drop mon_host check from test_cephfs_mirror_peer_bootstrap
	pybind/mgr/mirroring: drop mon_host from peer_list

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-01-18 10:25:47 +05:30
Redouane Kachach
11a9fe8947
mgr/rook: always recreate kvm default network + fix groups refresh
Fixes: https://tracker.ceph.com/issues/64027

This change also includes:
- adding ~/.local/bin to path so behave binary can be found
- adding requirements.txt file for testing dependencies
- increasing timeout used to wait for tools deployment to 90s
- increasing timeout used to wait for kvm network to 20s

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2024-01-17 22:55:23 +01:00
Anthony D'Atri
ed2cf56d85
Merge pull request #55168 from anthonyeleven/ec-table
doc/rados/operations: add EC overhead table to erasure-code.rst
2024-01-17 15:04:43 -05:00
Anthony D'Atri
9e1999c13d doc/rados/operations: add EC overhead table to erasure-code.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2024-01-17 11:55:39 -05: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
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
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
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
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
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
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
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
Ilya Dryomov
d5457a2330
Merge pull request #54974 from fweimer-rh/c99
GCC 14 compatibility fixes

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2024-01-14 18:54:12 +01:00
Matan Breizman
8be184a654
Merge pull request #55039 from cyx1231st/wip-crimson-alienstore-submit-concurrently
crimson/os/alienstore: submit from the alien world concurrently

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2024-01-14 10:37:08 +02:00
Zac Dover
1cd996b6fe docs/radosgw: edit admin.rst "enable/disable user rate limit"
Edit "Enable/Disable User Rate Limit" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-01-14 04:06:12 +10:00
Casey Bodley
26b361d1ed rgw/common: rgw_bl_str(bl) avoids bl.c_str()
where bl contains multiple buffer segments, c_str() has to
rellocate and copy those segments into a single buffer. use c_str()
instead, which just copies each segment into the resulting string

this allows the function to take the bufferlist argument by const ref

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2024-01-12 11:26:22 -05:00
Casey Bodley
9a93e9375f rgw: forward_iam_request_to_master() trims trailing null from response
fix a regression from commit d3ad0efaee
which changed how we parse the response bufferlist:

-  std::string r = response.c_str();
+  std::string r = response.to_str();

when the response contains a trailing null character, this now ends up in
`r` and breaks json parsing in `parser.parse(r.c_str(), r.length(), 1)`

replace `response.to_str()` with `rgw_bl_str(response)` which trims
trailing nulls

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2024-01-12 11:08:42 -05:00
Casey Bodley
d5a08ba987 test/rgw: metadata sync checkpoint waits on global 'sync' status
in testing, i was seeing meta sync checkpoints finish even though sync
hadn't started yet:
```
rgw_multi.tests: DEBUG: current meta sync status={
    "sync_status": {
        "info": {
            "status": "building-full-sync-maps",
```

wait for the global status to reach "sync" before starting to compare
period epochs or sync markers

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2024-01-12 11:05:52 -05:00
Nizamudeen A
c3d7f70b7a mgr/dashboard: delete cephfs snapshot
Fixes: https://tracker.ceph.com/issues/63990
Signed-off-by: Nizamudeen A <nia@redhat.com>
2024-01-12 14:30:27 +05:30