]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
16 months agorgw/notification: add rgw notification specific debug log subsystem. 56008/head
kchheda3 [Wed, 6 Mar 2024 23:13:57 +0000 (18:13 -0500)]
rgw/notification: add rgw notification specific debug log subsystem.

decorate the events with event details while logging.

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
16 months agoMerge pull request #55401 from kamoltat/wip-ksirivad-osdmap-encode-bug
Radoslaw Zarzynski [Wed, 21 Feb 2024 15:24:01 +0000 (16:24 +0100)]
Merge pull request #55401 from kamoltat/wip-ksirivad-osdmap-encode-bug

src/osd/OSDMap.cc: Fix encoder to produce same bytestream

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
16 months agoMerge pull request #55686 from rkachach/fix_issue_64516
Redouane Kachach [Wed, 21 Feb 2024 13:31:26 +0000 (14:31 +0100)]
Merge pull request #55686 from rkachach/fix_issue_64516

mgr/rook: adding empty calls to upgrade_ls and upgrade_status

16 months agoMerge pull request #55350 from rkachach/fix_issue_64211
Redouane Kachach [Wed, 21 Feb 2024 12:29:14 +0000 (13:29 +0100)]
Merge pull request #55350 from rkachach/fix_issue_64211

mgr/rook: removing all the code related to OSDs creation/removal

16 months agoMerge pull request #55642 from ivoalmeida/subvolume-group-edit-fix
Ivo Almeida [Wed, 21 Feb 2024 09:26:15 +0000 (06:26 -0300)]
Merge pull request #55642 from ivoalmeida/subvolume-group-edit-fix

mgr/dashboard: fix subvolume group edit

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agomgr/rook: adding empty calls to upgrade_ls and upgrade_status 55686/head
Redouane Kachach [Wed, 21 Feb 2024 07:27:53 +0000 (08:27 +0100)]
mgr/rook: adding empty calls to upgrade_ls and upgrade_status

added empty calls to upgrade_ls and upgrade_status to avoid
dashboard errors when entering the view Cluster > Upgrade. Empty
calls are used because we don't support the upgrade functionality
in rook as we do for normal Ceph deployments. In case of rook user
has to follow a different process to upgrade Ceph.

Fixes: https://tracker.ceph.com/issues/64516
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
16 months agoMerge pull request #55535 from rhcs-dashboard/nvmeof-api-1.0.0
Nizamudeen A [Wed, 21 Feb 2024 06:27:48 +0000 (11:57 +0530)]
Merge pull request #55535 from rhcs-dashboard/nvmeof-api-1.0.0

mgr/dashboard: update nvmeof protoc to 1.0.0

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: baum <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
16 months agoMerge pull request #55608 from athanatos/wip-debug-64457
Samuel Just [Wed, 21 Feb 2024 05:58:37 +0000 (21:58 -0800)]
Merge pull request #55608 from athanatos/wip-debug-64457

unittest-seastar-socket: tolerate connection_reset in test_unexpected_down

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
16 months agoMerge PR #55660 into main
Venky Shankar [Wed, 21 Feb 2024 04:20:02 +0000 (09:50 +0530)]
Merge PR #55660 into main

* refs/pull/55660/head:
qa: disable snapshot_clone_no_wait for some tests

Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
16 months agoMerge pull request #55677 from stackhpc/typo-osd-config-ref
Anthony D'Atri [Tue, 20 Feb 2024 22:58:25 +0000 (17:58 -0500)]
Merge pull request #55677 from stackhpc/typo-osd-config-ref

doc/rados/configuration/osd-config-ref: fix typo

16 months agodoc/rados/configuration/osd-config-ref: fix typo 55677/head
Pierre Riteau [Tue, 20 Feb 2024 21:54:01 +0000 (22:54 +0100)]
doc/rados/configuration/osd-config-ref: fix typo

Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
16 months agoMerge pull request #55670 from zdover23/wip-doc-2024-02-21-rados-ops-add-or-rm-mons
Anthony D'Atri [Tue, 20 Feb 2024 19:03:06 +0000 (14:03 -0500)]
Merge pull request #55670 from zdover23/wip-doc-2024-02-21-rados-ops-add-or-rm-mons

doc/rados: fix broken links

16 months agodoc/rados: fix broken links 55670/head
Zac Dover [Tue, 20 Feb 2024 18:07:07 +0000 (04:07 +1000)]
doc/rados: fix broken links

Fix broken links in doc/rados/operations/add-or-rm-mons.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
16 months agoqa: disable snapshot_clone_no_wait for some tests 55660/head
Venky Shankar [Mon, 19 Feb 2024 06:36:32 +0000 (01:36 -0500)]
qa: disable snapshot_clone_no_wait for some tests

Signed-off-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge PR #55087 into main
Venky Shankar [Tue, 20 Feb 2024 16:47:41 +0000 (22:17 +0530)]
Merge PR #55087 into main

* refs/pull/55087/head:
client: Add exception to POSIX ACL xattrs in removexattr
client: Fix parsing of xattr namespace in removexattr

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
16 months agoMerge pull request #55239 from jianwei1216/fix_pg_created_lost_main3
Yuri Weinstein [Tue, 20 Feb 2024 16:10:50 +0000 (08:10 -0800)]
Merge pull request #55239 from jianwei1216/fix_pg_created_lost_main3

Solution 1: osd/OSD: reply pg_created when pg is peered

Reviewed-by: Samuel Just <sjust@redhat.com>
16 months agoMerge pull request #55218 from tchaikov/debian/postinst
Yuri Weinstein [Tue, 20 Feb 2024 16:10:07 +0000 (08:10 -0800)]
Merge pull request #55218 from tchaikov/debian/postinst

debian/*.postinst: add adduser as a dependency and specify --home when adduser

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Adam King adking@redhat.com
16 months agoMerge pull request #52114 from yuvalif/wip-end2end-tracing
Radoslaw Zarzynski [Tue, 20 Feb 2024 15:57:39 +0000 (16:57 +0100)]
Merge pull request #52114 from yuvalif/wip-end2end-tracing

tracer/osd/librados/build/rgw: rgw and osd end2end tracing using opentelemetry

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
16 months agomgr/rook: raise an exception when user calls OSD related methods 55350/head
Redouane Kachach [Tue, 20 Feb 2024 13:37:17 +0000 (14:37 +0100)]
mgr/rook: raise an exception when user calls OSD related methods

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
16 months agoMerge pull request #55667 from zdover23/wip-doc-2024-02-20-radosgw/multisite
Anthony D'Atri [Tue, 20 Feb 2024 15:14:23 +0000 (10:14 -0500)]
Merge pull request #55667 from zdover23/wip-doc-2024-02-20-radosgw/multisite

doc/radosgw: edit multisite.rst

16 months agoMerge PR #55601 into main
Patrick Donnelly [Tue, 20 Feb 2024 14:35:27 +0000 (09:35 -0500)]
Merge PR #55601 into main

* refs/pull/55601/head:
qa: test fuse/kclient for mds upgrade seq
qa: ignore OSD_DOWN during cephadm upgrades
qa: ignore warning "Replacing daemon"
qa: ignore MDS_INSUFFICIENT_STANDBY
qa: remove ignorelist error parenthesis
mds: update comment on kclient decoding of MDSMap
qa: do upgrades from quincy and older reef minor releases
mds: reverse MDSMap encoding of max_xattr_size/bal_rank_mask

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agodoc/radosgw: edit multisite.rst 55667/head
Zac Dover [Tue, 20 Feb 2024 12:06:11 +0000 (22:06 +1000)]
doc/radosgw: edit multisite.rst

Edit "Varieties of Multi-Site Configuration" in
doc/radosgw/multisite.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
16 months agoMerge pull request #55632 from rosinL/wip-64420
Rixin Luo [Tue, 20 Feb 2024 10:29:37 +0000 (18:29 +0800)]
Merge pull request #55632 from rosinL/wip-64420

debian/control: add new dependencies protobuf for crismon

16 months agoMerge PR #52670 into main
Venky Shankar [Tue, 20 Feb 2024 04:58:48 +0000 (10:28 +0530)]
Merge PR #52670 into main

* refs/pull/52670/head:
doc: add the reject the clone when threads are not available feature in the document
qa: add test cases for the support to reject clones feature
mgr/volumes: support to reject CephFS clones if cloner threads are not available

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoqa: test fuse/kclient for mds upgrade seq 55601/head
Patrick Donnelly [Fri, 16 Feb 2024 18:25:52 +0000 (13:25 -0500)]
qa: test fuse/kclient for mds upgrade seq

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoqa: ignore OSD_DOWN during cephadm upgrades
Patrick Donnelly [Fri, 16 Feb 2024 15:09:53 +0000 (10:09 -0500)]
qa: ignore OSD_DOWN during cephadm upgrades

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoqa: ignore warning "Replacing daemon"
Patrick Donnelly [Fri, 16 Feb 2024 14:46:18 +0000 (09:46 -0500)]
qa: ignore warning "Replacing daemon"

This is expected for cephadm deployments where join_fs is configured, causing
affinity replacements.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoqa: ignore MDS_INSUFFICIENT_STANDBY
Patrick Donnelly [Fri, 16 Feb 2024 01:23:32 +0000 (20:23 -0500)]
qa: ignore MDS_INSUFFICIENT_STANDBY

This is expected when bringing a volume and its mds up initially.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoqa: remove ignorelist error parenthesis
Patrick Donnelly [Fri, 16 Feb 2024 01:16:20 +0000 (20:16 -0500)]
qa: remove ignorelist error parenthesis

Some messages are duplicated to the cluster log lookign like:

    2024-02-15T22:54:31.244 INFO:teuthology.orchestra.run.smithi033.stdout:2024-02-15T22:50:00.000263+0000 mon.smithi033 (mon.0) 558 : cluster 4 [ERR] MDS_ALL_DOWN: 1 filesystem is offline

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agomds: update comment on kclient decoding of MDSMap
Patrick Donnelly [Thu, 15 Feb 2024 19:31:47 +0000 (14:31 -0500)]
mds: update comment on kclient decoding of MDSMap

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoqa: do upgrades from quincy and older reef minor releases
Patrick Donnelly [Thu, 15 Feb 2024 02:49:17 +0000 (21:49 -0500)]
qa: do upgrades from quincy and older reef minor releases

Fixes: https://tracker.ceph.com/issues/64441
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agomds: reverse MDSMap encoding of max_xattr_size/bal_rank_mask
Patrick Donnelly [Thu, 15 Feb 2024 15:28:32 +0000 (10:28 -0500)]
mds: reverse MDSMap encoding of max_xattr_size/bal_rank_mask

Commit e134c890 adds the bal_rank_mask with encoded (ev) version 17.  This was
merged into main Oct 2022 and made it into the reef release normally.

Commit 7b8def5c adds the max_xattr_size also with encoded (ev) version 17 but
places it before bal_rank_mask. This is problematic as there were no plans to
backport e134c890 to quincy or pacific so piggybacking on the ev 17 bump would
not work and otherwise would require the backports to be done as a set to
ensure consistency (including with the kernel client).

However, the real issue is that 7b8def5c was not merged until after reef was
already cut. This required 7b8def5c to be backported separately in [1] which
was not merged until after v18.2.1 (current reef HEAD as of this commit).
Ultimately, this means that there are reef versions (v18.2.[01]) in the wild
which expect bal_rank_mask to be encoded at ev17 and not (max_xattr_size,
bal_rank_mask). Adding to the complications, the kernel client has already
merged code [2] expecting max_xattr_size for ev17.

It was decided in a github discussion [3] to move bal_rank_mask to ev18 to
avoid updating the kernel client which was done in the main branch via 36ee8e7e
and update the reef max_xattr_size backport with the same change (d8cebd67).

Unfortunately, this breaks upgrades v18.2.[01] to newer reef versions or to
main.  The reason is that monitors will encode v17 with bal_rank_mask
(max_xattr_size is not merged yet) and send that to upgraded mgrs (which are
upgraded first). The mgr will attempt to decode bal_rank_mask as a uint64_t
(max_xattr_size) but fail because an empty (by default) bal_rank_mask is simply
encoded as a signed 32-bit integer. Consequently, the mgr will fail decoding
with:

    failed to decode message of type 45 v1: End of buffer [buffer:2]

Of course the problem does not stop there, even if the mgr were able to handle
this, the monitors/mds/clients would fail in similar fashion.

So the only choice left is to fix max_xattr_size to be encoded at ev18.
Fortunately, v18.2.2 has not been released nor has any max_xattr_size backport
to quincy/pacific been merged. The main downside will be that kernels will
wrongly decode ev17 (which is already true for ceph clusters running
v18.2.[01]). A follow-up kernel fix will be required.

[1] https://tracker.ceph.com/issues/59405
[2] linux.git d93231a6bc8a452323d5fef16cca7107ce483a27
[3] https://github.com/ceph/ceph/pull/53340#discussion_r1399255031

Fixes: https://tracker.ceph.com/issues/64440
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoMerge pull request #55522 from cbodley/wip-63373
Casey Bodley [Mon, 19 Feb 2024 17:58:31 +0000 (17:58 +0000)]
Merge pull request #55522 from cbodley/wip-63373

rgw/datalog: RGWDataChangesLog::add_entry() uses null_yield

Reviewed-by: Adam Emerson <aemerson@redhat.com>
16 months agoMerge pull request #54554 from clwluvw/s3select-usage
Casey Bodley [Mon, 19 Feb 2024 17:56:40 +0000 (17:56 +0000)]
Merge pull request #54554 from clwluvw/s3select-usage

rgw: add s3select usage to log usage

Reviewed-by: Gal Salomon <gsalomon@redhat.com>
16 months agoMerge pull request #55236 from tobias-urdin/keystone-invalidate-admin-token
Casey Bodley [Mon, 19 Feb 2024 17:54:42 +0000 (17:54 +0000)]
Merge pull request #55236 from tobias-urdin/keystone-invalidate-admin-token

rgw: invalidate and retry keystone admin token

Reviewed-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
16 months agoMerge pull request #55286 from BBoozmen/oozmen_decorate_lc_events
Casey Bodley [Mon, 19 Feb 2024 17:53:28 +0000 (17:53 +0000)]
Merge pull request #55286 from BBoozmen/oozmen_decorate_lc_events

rgw/lc: decorating log events with more details

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
16 months agoMerge pull request #55451 from pritha-srivastava/wip-rgw-admin-ops-user-info
Casey Bodley [Mon, 19 Feb 2024 17:52:02 +0000 (17:52 +0000)]
Merge pull request #55451 from pritha-srivastava/wip-rgw-admin-ops-user-info

rgw: code to display the complete user id that includes tenant, names…

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
16 months agoMerge pull request #55508 from cbodley/wip-59186
Casey Bodley [Mon, 19 Feb 2024 17:50:59 +0000 (17:50 +0000)]
Merge pull request #55508 from cbodley/wip-59186

rgw/user: add 'active' flag to RGWAccessKey

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
16 months agoMerge pull request #55509 from ivancich/wip-display-manifest
Casey Bodley [Mon, 19 Feb 2024 17:49:13 +0000 (17:49 +0000)]
Merge pull request #55509 from ivancich/wip-display-manifest

rgw: add new `object manifest` sub-command

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
16 months agoMerge pull request #55637 from zdover23/wip-doc-2024-02-19-cephfs-add-remove-mds...
zdover23 [Mon, 19 Feb 2024 16:22:17 +0000 (02:22 +1000)]
Merge pull request #55637 from zdover23/wip-doc-2024-02-19-cephfs-add-remove-mds-warning-notes

doc/cephfs: edit add-remove-mds

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
16 months agodoc/cephfs: edit add-remove-mds 55637/head
Zac Dover [Mon, 19 Feb 2024 08:41:45 +0000 (18:41 +1000)]
doc/cephfs: edit add-remove-mds

Disambiguate a note in doc/cephfs/add-remove-mds.rst to help readers
distinguish between cases in which they might want to use an automated
tool such as cephadm to deploy MDSes and cases in which they might want
to manually deploy MDSes.

See: https://github.com/ceph/ceph/pull/45639

Tracker: https://tracker.ceph.com/issues/54551

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
16 months agomgr/dashboard: fix subvolume group edit 55642/head
Ivo Almeida [Mon, 19 Feb 2024 12:42:34 +0000 (12:42 +0000)]
mgr/dashboard: fix subvolume group edit

Fixes: https://tracker.ceph.com/issues/64487
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
16 months agodebian/control: add new dependencies protobuf for crismon 55632/head
luo rixin [Mon, 19 Feb 2024 08:52:07 +0000 (16:52 +0800)]
debian/control: add new dependencies protobuf for crismon

As PR https://github.com/ceph/ceph/pull/55444 update seastar version,
the new seastar imports new dependencies protobuf.

Fixes: https://tracker.ceph.com/issues/64420
Signed-off-by: luo rixin <luorixin@huawei.com>
16 months agoMerge PR #55471 into main
Venky Shankar [Mon, 19 Feb 2024 08:47:48 +0000 (14:17 +0530)]
Merge PR #55471 into main

* refs/pull/55471/head:
qa: verify labelled replication perf metrics
qa: test per-client labelled perf counters
mds: export per-client metrics as labelled perf counters
cephfs_mirror: add labeled replication performance metrics
cephfs-mirror: typo ending bracket

Reviewed-by: Robin H. Johnson <robbat2@orbis-terrarum.net>
16 months agoMerge pull request #55633 from zdover23/wip-doc-2024-02-18-man-ceph-objectstore-tool
zdover23 [Mon, 19 Feb 2024 08:00:06 +0000 (18:00 +1000)]
Merge pull request #55633 from zdover23/wip-doc-2024-02-18-man-ceph-objectstore-tool

doc/man: edit "manipulating the omap key"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agodoc/man: edit "manipulating the omap key" 55633/head
Zac Dover [Sun, 18 Feb 2024 06:01:46 +0000 (16:01 +1000)]
doc/man: edit "manipulating the omap key"

Edit the section "Manipulating the Object Map Key" in
doc/man/8/ceph-objectstore-tool.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #54586 from xxhdx1985126/wip-pglog-concatenate
Kefu Chai [Sun, 18 Feb 2024 02:31:55 +0000 (10:31 +0800)]
Merge pull request #54586 from xxhdx1985126/wip-pglog-concatenate

tools/ceph_objectstore_tool: add op "expand-log"

Reviewed-by: Samuel Just <sjust@redhat.com>
17 months agoMerge pull request #55626 from zdover23/wip-doc-2024-02-17-rados-operations-placement...
zdover23 [Sun, 18 Feb 2024 02:28:08 +0000 (12:28 +1000)]
Merge pull request #55626 from zdover23/wip-doc-2024-02-17-rados-operations-placement-groups-basic-definition

doc/rados: add PG definition

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agodoc/rados: add PG definition 55626/head
Zac Dover [Sat, 17 Feb 2024 05:28:24 +0000 (15:28 +1000)]
doc/rados: add PG definition

Add a definition of Placement Groups to
doc/rados/operations/placement-groups.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agocommon/tracer: fix decoding when jaeger tracing is disabled 52114/head
Lucian Petrut [Wed, 12 Apr 2023 09:39:52 +0000 (09:39 +0000)]
common/tracer: fix decoding when jaeger tracing is disabled

We aren't currently using jaeger tracing on Windows. The issue is
that Windows hosts (or any other host that doesn't use jaeger)
are experiencing message decoding failures after a recent change [1].

This change updates the tracer encoding so that messages from
non-jaeger hosts may be decoded by services that use jaeger.

[1] https://github.com/ceph/ceph/pull/47457

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
This commit rebrings 3701ffa6733b001d4278a0b68395c5efe2382f25 which
got reverted due to an implicit dependency with other revert. Please
see https://github.com/ceph/ceph/pull/52114#issuecomment-1950288188.

Conflicts:
src/common/tracer.h
  formatting conflict with 7179ac0037320480f089e1a9e291cdc37282d250

17 months agoMerge pull request #54963 from DimStar77/cmake328 v19.3.0
Kefu Chai [Sat, 17 Feb 2024 15:18:23 +0000 (23:18 +0800)]
Merge pull request #54963 from DimStar77/cmake328

cmake: Ensure git exists before executing it

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
17 months agoqa: verify labelled replication perf metrics 55471/head
Venky Shankar [Wed, 14 Feb 2024 18:18:23 +0000 (13:18 -0500)]
qa: verify labelled replication perf metrics

Signed-off-by: Venky Shankar <vshankar@redhat.com>
17 months agoqa: test per-client labelled perf counters
Venky Shankar [Tue, 13 Feb 2024 16:13:28 +0000 (11:13 -0500)]
qa: test per-client labelled perf counters

Signed-off-by: Venky Shankar <vshankar@redhat.com>
17 months agomds: export per-client metrics as labelled perf counters
Venky Shankar [Mon, 12 Feb 2024 07:21:08 +0000 (02:21 -0500)]
mds: export per-client metrics as labelled perf counters

Signed-off-by: Venky Shankar <vshankar@redhat.com>
17 months agocephfs_mirror: add labeled replication performance metrics
Venky Shankar [Wed, 14 Feb 2024 12:28:58 +0000 (07:28 -0500)]
cephfs_mirror: add labeled replication performance metrics

Fixes: http://tracker.ceph.com/issues/63945
Signed-off-by: Jos Collin <jcollin@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
17 months agocephfs-mirror: typo ending bracket
Venky Shankar [Wed, 14 Feb 2024 12:27:39 +0000 (07:27 -0500)]
cephfs-mirror: typo ending bracket

Signed-off-by: Venky Shankar <vshankar@redhat.com>
17 months agounittest-seastar-socket: tolerate connection_reset in test_unexpected_down 55608/head
Samuel Just [Fri, 16 Feb 2024 21:40:17 +0000 (21:40 +0000)]
unittest-seastar-socket: tolerate connection_reset in test_unexpected_down

Fixes: https://tracker.ceph.com/issues/64457
Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agoMerge pull request #55605 from ronen-fr/wip-rf-warns0224
Ronen Friedman [Fri, 16 Feb 2024 18:57:45 +0000 (20:57 +0200)]
Merge pull request #55605 from ronen-fr/wip-rf-warns0224

osd: clean compiler warnings

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
17 months agoMerge pull request #54922 from pponnuvel/disable_network_stats
Radoslaw Zarzynski [Fri, 16 Feb 2024 16:54:02 +0000 (17:54 +0100)]
Merge pull request #54922 from pponnuvel/disable_network_stats

mon, mgr: do not output network ping stats

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
17 months agoMerge pull request #53565 from pereman2/shared-blob-to-blob
Adam Kupczyk [Fri, 16 Feb 2024 16:26:54 +0000 (17:26 +0100)]
Merge pull request #53565 from pereman2/shared-blob-to-blob

os/bluestore: optional SharedBlob on Blob structure

17 months agoMerge pull request #55570 from rzarzynski/wip-bug-64192
Laura Flores [Fri, 16 Feb 2024 16:23:21 +0000 (10:23 -0600)]
Merge pull request #55570 from rzarzynski/wip-bug-64192

osd: always send returnvec-on-errors for client's retry

17 months agoMerge pull request #55602 from ceph/wip-yuriw-add-squid-main
Yuri Weinstein [Fri, 16 Feb 2024 15:11:52 +0000 (07:11 -0800)]
Merge pull request #55602 from ceph/wip-yuriw-add-squid-main

qa/tests: added squid option

Reviewed-by: Laura Flores <lflores@redhat.com>
17 months agoMerge pull request #55582 from cbodley/wip-63642
Casey Bodley [Fri, 16 Feb 2024 14:59:31 +0000 (14:59 +0000)]
Merge pull request #55582 from cbodley/wip-63642

rgw/putobj: RadosWriter uses part head object for multipart parts

Reviewed-by: Mark Kogan <mkogan@ibm.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
17 months agoMerge pull request #55453 from ronen-fr/wip-rf-0741-logs
Ronen Friedman [Fri, 16 Feb 2024 14:24:13 +0000 (16:24 +0200)]
Merge pull request #55453 from ronen-fr/wip-rf-0741-logs

osd/scrub: improve scheduling decision logs

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
17 months agoMerge pull request #54856 from linuxbox2/wip-accept-new-awssigv4
Casey Bodley [Fri, 16 Feb 2024 13:52:34 +0000 (13:52 +0000)]
Merge pull request #54856 from linuxbox2/wip-accept-new-awssigv4

rgw: cumulatively fix 6 AWS SigV4 request failure cases

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agomon, mgr: do not output network ping stats 54922/head
Ponnuvel Palaniyappan [Thu, 15 Sep 2022 14:55:06 +0000 (15:55 +0100)]
mon, mgr: do not output network ping stats

When doing PG dump using 'ceph pg dump --format json-pretty'
the output is extremely big that the command hangs and also
the ceph-mgr hangs and eventuall fails over.

The exact size depends on the number of OSDs in the cluster
and the number of peers for each OSD.

In tests, it's been identified that the network ping times
is the largest component in terms of size which is removed
from the output now so as to limit the overall size.

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

Signed-off-by: Ponnuvel Palaniyappan <pponnuvel@gmail.com>
17 months agoMerge pull request #55579 from idryomov/wip-64423
Ilya Dryomov [Fri, 16 Feb 2024 09:24:02 +0000 (10:24 +0100)]
Merge pull request #55579 from idryomov/wip-64423

librbd: fix split() for SparseExtent and SparseBufferlistExtent

Reviewed-by: Mykola Golub <mgolub@suse.com>
17 months agoMerge pull request #55530 from trociny/wip-64376
Ilya Dryomov [Fri, 16 Feb 2024 09:22:50 +0000 (10:22 +0100)]
Merge pull request #55530 from trociny/wip-64376

tools/rbd: make 'children' command support --image-id

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
17 months agotest/osd: fix test_scrub_sched following scrubber changes 55453/head
Ronen Friedman [Mon, 12 Feb 2024 14:50:22 +0000 (08:50 -0600)]
test/osd: fix test_scrub_sched following scrubber changes

Replacing PgScrubber::determine_scrub_time() with a local copy,
as a stop-gap measure to keep the test running.
The scrub scheduling refactoring will remove the need for
this function, and the test will be updated accordingly.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoosd/scrub: log parameter entering scrub_requested()
Ronen Friedman [Mon, 5 Feb 2024 12:02:14 +0000 (06:02 -0600)]
osd/scrub: log parameter entering scrub_requested()

... and a minor formatting fix in the same function.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoMerge pull request #53289 from rzarzynski/wip-mon-set-allow-crimson
Yuri Weinstein [Fri, 16 Feb 2024 00:24:53 +0000 (16:24 -0800)]
Merge pull request #53289 from rzarzynski/wip-mon-set-allow-crimson

mon/OSDMonitor: fix the hint for set-allow-crimson

Reviewed-by: Samuel Just <sjust@redhat.com>
17 months agoMerge pull request #55404 from JoshSalomon/fix-warn
Laura Flores [Fri, 16 Feb 2024 00:20:05 +0000 (18:20 -0600)]
Merge pull request #55404 from JoshSalomon/fix-warn

osd: Fix compilation warnings for PR https://github.com/ceph/ceph/pull/55198

17 months agounittest-seastar-socket: debug to error on unexpected return from dispatch_rw_bounded
Samuel Just [Fri, 16 Feb 2024 00:04:05 +0000 (00:04 +0000)]
unittest-seastar-socket: debug to error on unexpected return from dispatch_rw_bounded

Related: https://tracker.ceph.com/issues/64457
Signed-off-by: Samuel Just <sjust@redhat.com>
17 months agoMerge pull request #54930 from rzarzynski/wip-osd-ec-rework
Laura Flores [Thu, 15 Feb 2024 19:41:31 +0000 (13:41 -0600)]
Merge pull request #54930 from rzarzynski/wip-osd-ec-rework

osd: rework EC for the sake of integration with crimson

17 months agoosd: avoid copying chunks in a loop 55605/head
Ronen Friedman [Thu, 15 Feb 2024 18:17:57 +0000 (12:17 -0600)]
osd: avoid copying chunks in a loop

to clear a static analyzer warning

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoosd: clean compiler warnings
Ronen Friedman [Thu, 15 Feb 2024 18:11:22 +0000 (12:11 -0600)]
osd: clean compiler warnings

... for unused variables, for code that has no effect, and
for trying to std::move out of a const lvalue.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoqa/tests: added squid option 55602/head
Yuri Weinstein [Thu, 15 Feb 2024 17:14:12 +0000 (09:14 -0800)]
qa/tests: added squid option

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
17 months agoMerge pull request #55566 from zdover23/wip-doc-2024-02-14-cephadm-services-nfs
Adam King [Thu, 15 Feb 2024 14:42:50 +0000 (09:42 -0500)]
Merge pull request #55566 from zdover23/wip-doc-2024-02-14-cephadm-services-nfs

doc/cephadm: correct nfs config pool name

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
17 months agoMerge pull request #55539 from zdover23/wip-doc-2024-02-12-glossary-osd-terms
zdover23 [Thu, 15 Feb 2024 14:24:49 +0000 (00:24 +1000)]
Merge pull request #55539 from zdover23/wip-doc-2024-02-12-glossary-osd-terms

doc/glossary: improve OSD definitions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agoMerge pull request #55537 from guits/node-proxy-handle-fetch-oob-error
Guillaume Abrioux [Thu, 15 Feb 2024 08:04:20 +0000 (09:04 +0100)]
Merge pull request #55537 from guits/node-proxy-handle-fetch-oob-error

node-proxy: improve http error handling in fetch_oob_details

17 months agoMerge pull request #55297 from VallariAg/fix-gtest-xml-path
Vallari Agrawal [Thu, 15 Feb 2024 04:29:29 +0000 (09:59 +0530)]
Merge pull request #55297 from VallariAg/fix-gtest-xml-path

qa/workunits/rados/test.sh: fix GTEST_OUTPUT path

17 months agodoc/glossary: improve OSD definitions 55539/head
Zac Dover [Mon, 12 Feb 2024 13:08:27 +0000 (23:08 +1000)]
doc/glossary: improve OSD definitions

Remove expletive construction from three OSD-id-related terms.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #55585 from zdover23/wip-doc-2024-02-15-rados-operations-placement...
Anthony D'Atri [Wed, 14 Feb 2024 20:28:27 +0000 (15:28 -0500)]
Merge pull request #55585 from zdover23/wip-doc-2024-02-15-rados-operations-placement-groups-sage-blog-post

doc/rados: add link to pg blog post

17 months agoMerge pull request #55584 from batrick/backport-create-squid
Ilya Dryomov [Wed, 14 Feb 2024 18:40:54 +0000 (19:40 +0100)]
Merge pull request #55584 from batrick/backport-create-squid

script: add squid release to backport-create-issue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
17 months agoqa: move cert import into rgw task 54856/head
Ali Maredia [Mon, 12 Feb 2024 23:25:17 +0000 (18:25 -0500)]
qa: move cert import into rgw task

Signed-off-by: Ali Maredia <amaredia@redhat.com>
17 months agoqa: enable test_awssdkv4_sig workunit to run in teuthology
Ali Maredia [Mon, 5 Feb 2024 16:52:38 +0000 (11:52 -0500)]
qa: enable test_awssdkv4_sig workunit to run in teuthology

Signed-off-by: Ali Maredia <amaredia@redhat.com>
17 months agorgw_sigv4: catch exceptions on client builder
Matt Benjamin [Thu, 8 Feb 2024 19:17:39 +0000 (14:17 -0500)]
rgw_sigv4: catch exceptions on client builder

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
17 months agoMerge pull request #55533 from ronen-fr/wip-rf-sdocs-1
Ronen Friedman [Wed, 14 Feb 2024 16:31:28 +0000 (18:31 +0200)]
Merge pull request #55533 from ronen-fr/wip-rf-sdocs-1

doc/osd: documentation changes related to scrub

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
17 months agoscript: add squid to backports 55584/head
Patrick Donnelly [Wed, 14 Feb 2024 15:37:24 +0000 (10:37 -0500)]
script: add squid to backports

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
17 months agodoc/rados: add link to pg blog post 55585/head
Zac Dover [Wed, 14 Feb 2024 15:32:40 +0000 (01:32 +1000)]
doc/rados: add link to pg blog post

Add a link in the "Placement Groups" section that links to Sage Weil's
April 5, 2019 blog post "New in Nautilus: PG merging and autotuning".

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agorgw/putobj: RadosWriter uses part head object for multipart parts 55582/head
Casey Bodley [Wed, 14 Feb 2024 14:43:14 +0000 (09:43 -0500)]
rgw/putobj: RadosWriter uses part head object for multipart parts

the cleanup logic in the RadosWrite destructor was using the wrong
`head_obj` to avoid races between cleanup and part re-uploads. it
pointed at the final location of the multipart upload, rather than the
head object of the current part

Fixes: https://tracker.ceph.com/issues/63642
Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55551 from ivoalmeida/cephfs-mount-details
Ivo Almeida [Wed, 14 Feb 2024 13:48:16 +0000 (10:48 -0300)]
Merge pull request #55551 from ivoalmeida/cephfs-mount-details

mgr/dashboard: added cephfs mount details

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
17 months agolibrbd: refactor merge() for SparseBufferlistExtent 55579/head
Ilya Dryomov [Mon, 12 Feb 2024 12:07:22 +0000 (13:07 +0100)]
librbd: refactor merge() for SparseBufferlistExtent

- pass left.length + right.length instead of bl.length()
  for consistency and to avoid circumventing the assert in
  SparseBufferlistExtent constructor
- claim_append() takes an lvalue reference, no need to move
- follow the pattern used in split()

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
17 months agolibrbd: fix split() for SparseExtent and SparseBufferlistExtent
Ilya Dryomov [Mon, 12 Feb 2024 10:00:45 +0000 (11:00 +0100)]
librbd: fix split() for SparseExtent and SparseBufferlistExtent

SparseExtents and SparseBufferlist are typedefs for interval_map.  In
both cases, split() handler is broken: for the former the extent isn't
actually split and for the latter incorrect bufferlist is attached to
the split extent.

Fortunately, both SnapshotDelta as produced by ObjectListSnapsRequest
and SparseBufferlist used in a couple of places seem to be collections
where only disjoint intervals are inserted and splitting doesn't occur
(at least in the common case).  But still, this is a landmine waiting
for someone to step on it.

Fixes: https://tracker.ceph.com/issues/64423
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
17 months agoMerge pull request #55577 from cityofships/typo
Anthony D'Atri [Wed, 14 Feb 2024 13:02:11 +0000 (08:02 -0500)]
Merge pull request #55577 from cityofships/typo

doc/start: fix wording & syntax

17 months agodoc/osd: fix 'scrub a PG' commands in the documentation 55533/head
Ronen Friedman [Sun, 11 Feb 2024 17:53:44 +0000 (19:53 +0200)]
doc/osd: fix 'scrub a PG' commands in the documentation

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agodoc/start: fix wording & syntax 55577/head
Piotr Parczewski [Wed, 14 Feb 2024 10:15:09 +0000 (11:15 +0100)]
doc/start: fix wording & syntax

Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
17 months agomgr/dashboard: added cephfs mount details 55551/head
Ivo Almeida [Mon, 12 Feb 2024 10:08:09 +0000 (10:08 +0000)]
mgr/dashboard: added cephfs mount details

Fixes: https://tracker.ceph.com/issues/64405
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
17 months agomgr/cephadm: add fullreport in ceph orch CLI (node-proxy) 55537/head
Guillaume Abrioux [Wed, 14 Feb 2024 09:02:50 +0000 (09:02 +0000)]
mgr/cephadm: add fullreport in ceph orch CLI (node-proxy)

This adds the `fullreport` category to the `ceph orch hardware status` CLI.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agomgr/cephadm: conditionally deploy node-proxy
Guillaume Abrioux [Mon, 12 Feb 2024 16:20:42 +0000 (16:20 +0000)]
mgr/cephadm: conditionally deploy node-proxy

Only attempt to deploy the node-proxy agent when oob details
are provided for a given host.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>