Commit Graph

136614 Commits

Author SHA1 Message Date
Radoslaw Zarzynski
6f7ed37496 common, osd: switch SnapMapper::_lookup_purged_snap to use OSDriver
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
609dca58dc crimson/osd: fix debug in Orderer::clear_and_cancel()
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
3d48489f4b osd: don't build unnecessary parts of SnapMapper for crimson
This commits skips building two call-sites of `omap_get_iterator()`
of `ObjectStore` which are bypassing the `OSDriver` abstraction
layer.

1. `SnapMapper::convert_legacy()` likely never be needed by
crimson and we can leave it unchanged.

2. `SnapMapper::Subber` isn't needed right now but will be
needed in the future.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radosław Zarzyński
972af821bb crimson/osd: bring SnapTrimObjSubEvent
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radosław Zarzyński
116c04595b crimson/osd: wire SnapTrimEvent with SnapMapper up
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
83043ca789 crimson/osd: bring SubOpBlocker to SnapTrimEvent
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
b224749643 crimson/osd: implement the basics of SnapTrimEvent
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
1650b392cf crimson/osd/osd_operations: flatten indentation of InternalClientRequest
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
d3043ed76c crimson/osd: drop the residue of CompoundPeeringRequest
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
f3cfe84c17 crimson/osd: simplify ShardServices::snap_request_reservation()
`on_preempt` is not used by snap trimming; we can left its default.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
806aa25960 crimson/osd: bring the skeleton of SnapTrimEvent
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
ba60d84e7b crimson/osd: settle snap_reserver within ShardServices
This bit will be used by the upcoming `SnapTrimRequest`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:22:04 +00:00
Radoslaw Zarzynski
c9bdfdc1a4 crimson/osd: move the SnapTrimmer-related handlers of PeeringState from .h to .cc
This commit is solely about code shuffling.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-02-28 16:21:56 +00:00
Adam King
33284b3be8
Merge pull request #49836 from rkachach/fix_issue_58548
cephadm: using ip instead of short hostname for prometheus urls

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2023-02-28 09:31:21 -05:00
Adam King
ba1277c371
Merge pull request #50083 from adk3798/pids-limit
cephadm: set pids-limit unlimited for all ceph daemons

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
2023-02-28 09:28:34 -05:00
Venky Shankar
222c3e0269 Merge PR #50268 into main
* refs/pull/50268/head:
	mds: memset the head by default to fix the readable.sh test failure

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-02-28 19:15:32 +05:30
Adam King
4040af32b7
Merge pull request #46601 from rkachach/fix_issue_55814
mgr/cephadm: adding support for a secure ceph monitoring stack

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com> 
Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-02-28 08:41:50 -05:00
Ilya Dryomov
188d7e7ab9
Merge pull request #50006 from idryomov/wip-58647
mon/MgrMap: dump last_failure_osd_epoch and active_clients at top level

Reviewed-by: Ramana Raja <rraja@redhat.com>
2023-02-28 13:31:02 +01:00
Ernesto Puerta
1223e590e0
Merge pull request #50285 from ceph/epuertat-patch-1
.github: update add-to-project action

Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-02-28 12:41:56 +01:00
Nizamudeen A
ed0e876373
Merge pull request #50299 from rhcs-dashboard/fix-broken-styles-crud
mgr/dashboard: minor fixes to crud form UI

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2023-02-28 16:27:32 +05:30
Yingxin
a36ad053ca
Merge pull request #50085 from myoungwon/wip-fix-initialization-vstart-rbm
crimson/os/seastore: RBM fixes during vstart startup time 

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-02-28 16:33:32 +08:00
Venky Shankar
dec35de185 Merge PR #50197 into main
* refs/pull/50197/head:
	cephfs-top: navigate to home screen while selecting sort field, if no filesystems.
	cephfs-top: display_menu() isn't triggered when all fs' are removed

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-02-28 12:31:59 +05:30
Nizamudeen A
930abb78f2 mgr/dashboard: minor fixes to crud form UI
Fixes: https://tracker.ceph.com/issues/58864
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-02-28 11:48:16 +05:30
Anthony D'Atri
6e1117b2b7
Merge pull request #50295 from zdover23/wip-doc-2023-02-28-radosgw-multisite-zonegroup-correction-and-formatting
doc/radosgw: s/zone group/zonegroup/g et alia
2023-02-28 01:02:03 -05:00
Yingxin
8df7ad7234
Merge pull request #50273 from cyx1231st/wip-seastore-fix-submitter-roll-segment
crimson/os/seastore/journal: allow pending i/o in a full record_submitter when rolling the segment 2

Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-02-28 13:29:36 +08:00
Zac Dover
d1f2e9f3a6 doc/radosgw: s/zone group/zonegroup/g et alia
s/zone group/zonegroup/ where simple greps failed to find instances of
"zone group" that were spread across two lines; break a paragraph into
two paragraphs so that each paragraph has a thematic idea of its own.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-02-28 12:55:08 +10:00
zdover23
facacdff0f
Merge pull request #50276 from zdover23/wip-doc-2023-02-27-radosgw-multisite-caption-zone-data-replication
doc/rgw: caption a diagram

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-02-28 12:10:02 +10:00
Laura Flores
fdc1a21c7c
Merge pull request #48010 from ljflores/wip-lflores-primary-balancer
osd, tools, test/osd: implement read balancer
2023-02-27 17:55:52 -06:00
Laura Flores
fac345d9fe
Merge pull request #49482 from amathuria/wip-amathuria-mclock-high-prio-queue
mClock: Add ability to handle high priority operations
2023-02-27 17:55:43 -06:00
Ilya Dryomov
7b5e16130a mon/MgrMap: dump last_failure_osd_epoch and active_clients at top level
Currently last_failure_osd_epoch and active_clients are dumped in the
always_on_modules dictionary in "ceph mgr dump" output.  This goes back
to when these fields were added in commits f2986a4400 ("mon/MgrMonitor:
blacklist previous instance") and df507cde8d ("mgr: forward RADOS
client instances for potential blacklist") but is wrong as these fields
have nothing to do with always-on modules.

Fixes: https://tracker.ceph.com/issues/58647
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-02-27 21:17:04 +01:00
Yuri Weinstein
d56c21fe4a
Merge pull request #48706 from Matan-B/wip-matanb-max-oldest-map
OSD: Fix check_past_interval_bounds()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-02-27 12:12:59 -08:00
Laura Flores
45aeba5773
Merge pull request #49990 from rzarzynski/wip-osd-mon-public_bind_in_bindv
mon, osd: rework the public_bind_addr support. Bring it to OSD
2023-02-27 14:10:49 -06:00
Yuri Weinstein
d11d8c27a6
Merge pull request #50047 from rhcs-dashboard/post-css-error-teuth
mgr/dashboard: fix conflicting peer dependency: postcss@8.4.21 

Reviewed-by: Laura Flores <lflores@redhat.com>
2023-02-27 11:56:27 -08:00
Yuri Weinstein
6c9011017b
Merge pull request #49507 from Matan-B/wip-matanb-check_pg_num-edit
mon/OSDMontior: Simplify check_pg_num()

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
2023-02-27 11:56:00 -08:00
Yuri Weinstein
9f40fccd78
Merge pull request #48192 from amathuria/amathuria-edit-pg-deletion-cost
osd: Change default value of osd_pg_delete_cost

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
2023-02-27 11:54:33 -08:00
Ilya Dryomov
b487144ae5
Merge pull request #48657 from alimaredia/wip-rgw-labeled-perf-counters-cache
Labeled Perf Counters

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-02-27 20:05:54 +01:00
Zac Dover
ce2bd7cb26 doc/rgw: caption a diagram
Add an explanation of a diagram that shows how object data is replicated
between zones within a zonegroup.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-02-28 04:36:08 +10:00
Ernesto Puerta
c9a7e7158e
.github: update add-to-project action
Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2023-02-27 16:01:33 +01:00
Anthony D'Atri
7a29b2dd74
Merge pull request #50274 from zdover23/wip-doc-2023-02-27-radosgw-multisite-remove-tertiary
doc/rgw: remove "tertiary", link to procedure
2023-02-27 08:43:58 -05:00
Ilya Dryomov
8d57d55738
Merge pull request #50230 from idryomov/wip-58833
librbd: call apply_changes() after setting librados_thread_count

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2023-02-27 14:15:31 +01:00
Ilya Dryomov
e037aac2bc
Merge pull request #50232 from idryomov/wip-qa-workunits-windows-ownership
CODEOWNERS: assign qa/workunits/windows to RBD

Reviewed-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2023-02-27 11:24:40 +01:00
Xiubo Li
9d1137657a mds: memset the head by default to fix the readable.sh test failure
Introduced-by: cbd7e304020(ceph_fs.h: add 32 bits extended num_retry and num_fwd support)
Fixes: https://tracker.ceph.com/issues/58853
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2023-02-27 17:37:34 +08:00
zdover23
823aed4d55
Merge pull request #50264 from zdover23/wip-doc-2023-02-27-radosgw-multisite-infernalis-changes
doc/radosgw: multisite - edit "functional changes"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-02-27 19:01:36 +10:00
Yingxin Cheng
7380fcbad3 crimson/os/seastore/journal: move segment rolling asserts to ceph_asserts
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-02-27 16:57:10 +08:00
Yingxin Cheng
96ba8abd48 crimson/os/seastore/journal: allow pending i/o in a full record_submitter when rolling the segment
Fixes: https://tracker.ceph.com/issues/58824
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-02-27 16:57:03 +08:00
Zac Dover
8e273199d0 doc/rgw: remove "tertiary", link to procedure
Remove the term "tertiary zone" and replace it with "second secondary
zone" (because there is no such thing as a tertiary zone). Link to the
procedure for creating a secondary zone in a place where such a link is
helpful to the reader.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-02-27 18:40:14 +10:00
Zac Dover
35edcc17c9 doc/radosgw: multisite - edit "functional changes"
Improve the wording of the section "Functional Changes from Infernalis"
in doc/radosgw/multisite.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-02-27 18:30:54 +10:00
Venky Shankar
5b830aed2a Merge PR #50178 into main
* refs/pull/50178/head:
	client: add comment about how quota affect space usage report

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2023-02-27 11:22:42 +05:30
Venky Shankar
fb0c668e3b Merge PR #44240 into main
* refs/pull/44240/head:
	qa/cephfs: upgrade xfstests_dev.py for FUSE mounts

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2023-02-27 11:06:01 +05:30
Nizamudeen A
a7fb5f294f
Merge pull request #50238 from rhcs-dashboard/fix-fix-58827_2-main
mgr/dashboard: fix constraints.txt again

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2023-02-27 10:13:45 +05:30