]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agodoc/start: format procedure in documenting-ceph 50764/head
Zac Dover [Thu, 30 Mar 2023 00:54:52 +0000 (10:54 +1000)]
doc/start: format procedure in documenting-ceph

Organize three steps in a procedure into one step with three sub-steps.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50744 from zdover23/wip-doc-2023-03-29-rados-ops-health-checks
Anthony D'Atri [Wed, 29 Mar 2023 21:53:29 +0000 (17:53 -0400)]
Merge pull request #50744 from zdover23/wip-doc-2023-03-29-rados-ops-health-checks

doc/rados: add link to ops/health-checks.rst

2 years agoMerge PR #49773 into main
Patrick Donnelly [Wed, 29 Mar 2023 20:15:47 +0000 (16:15 -0400)]
Merge PR #49773 into main

* refs/pull/49773/head:
mds: add config to decide whether to mark dentry bad
qa: add missing scan_links step for data scan recovery
qa/tasks/cephfs: test damage to dentry's first is caught
qa/tasks/cephfs: use rank_asok and allow specifying rank
qa/tasks: allow specifying timeout command prefix to ceph
mds: provide test configs for creating first corruption
mds: catch damage to dentry's first field
mds: add debugging for pre_cow_old_inode
mds: cleanup code

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2 years agoMerge pull request #50750 from Sainithin-bit/main
zdover23 [Wed, 29 Mar 2023 19:09:15 +0000 (05:09 +1000)]
Merge pull request #50750 from Sainithin-bit/main

 doc/rados/operations: Fix typo in erasure-code.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 years agodoc/rados/operations: Fix typo in erasure-code.rst 50750/head
SAINITHIN.ARTHAM [Wed, 29 Mar 2023 18:16:32 +0000 (23:46 +0530)]
doc/rados/operations: Fix typo in erasure-code.rst

Signed-off-by: Sainithin Artham <sai.artham.19cse@bmu.edu.in>
2 years agoMerge pull request #50633 from cbodley/wip-54102
Casey Bodley [Wed, 29 Mar 2023 18:16:15 +0000 (14:16 -0400)]
Merge pull request #50633 from cbodley/wip-54102

qa/rgw: unpin centos for verify suite

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agomds: add config to decide whether to mark dentry bad 49773/head
Patrick Donnelly [Wed, 29 Mar 2023 13:05:25 +0000 (09:05 -0400)]
mds: add config to decide whether to mark dentry bad

So admin can restore access to files if necessary.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoqa: add missing scan_links step for data scan recovery
Patrick Donnelly [Fri, 24 Mar 2023 21:54:35 +0000 (17:54 -0400)]
qa: add missing scan_links step for data scan recovery

Without, the first field remains corrupt (HEAD).

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoqa/tasks/cephfs: test damage to dentry's first is caught
Patrick Donnelly [Wed, 18 Jan 2023 02:22:10 +0000 (21:22 -0500)]
qa/tasks/cephfs: test damage to dentry's first is caught

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoqa/tasks/cephfs: use rank_asok and allow specifying rank
Patrick Donnelly [Fri, 20 Jan 2023 23:20:15 +0000 (18:20 -0500)]
qa/tasks/cephfs: use rank_asok and allow specifying rank

This will use the more efficient:

    ceph tell mds.<fsname>:<rank> ...

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoqa/tasks: allow specifying timeout command prefix to ceph
Patrick Donnelly [Wed, 18 Jan 2023 02:21:08 +0000 (21:21 -0500)]
qa/tasks: allow specifying timeout command prefix to ceph

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agomds: provide test configs for creating first corruption
Patrick Donnelly [Wed, 18 Jan 2023 02:30:04 +0000 (21:30 -0500)]
mds: provide test configs for creating first corruption

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agomds: catch damage to dentry's first field
Patrick Donnelly [Wed, 18 Jan 2023 02:29:39 +0000 (21:29 -0500)]
mds: catch damage to dentry's first field

When possible. Abort the MDS before it can be written to the
journal/directory.

This is part of a series to address corruption first observed in [1].
How the corruption is introduced is yet unknown.

[1] https://tracker.ceph.com/issues/38452#note-10

Fixes: http://tracker.ceph.com/issues/58482
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agomds: add debugging for pre_cow_old_inode
Patrick Donnelly [Wed, 15 Mar 2023 18:06:11 +0000 (14:06 -0400)]
mds: add debugging for pre_cow_old_inode

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agomds: cleanup code
Patrick Donnelly [Tue, 10 Jan 2023 20:35:04 +0000 (15:35 -0500)]
mds: cleanup code

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoMerge pull request #50553 from ljflores/wip-reef-crontab 50659/head
Laura Flores [Wed, 29 Mar 2023 16:59:21 +0000 (11:59 -0500)]
Merge pull request #50553 from ljflores/wip-reef-crontab

qa/crontab: add reef upgrade tests and teuthology/nop

2 years agoMerge pull request #50686 from rishabh-d-dave/fs-qa-client-upgrade
Rishabh Dave [Wed, 29 Mar 2023 16:49:35 +0000 (22:19 +0530)]
Merge pull request #50686 from rishabh-d-dave/fs-qa-client-upgrade

qa/suites/fs: check if cluster is healthy after upgrade

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50307 from dparmar18/fix_pendingreleasenotes
Rishabh Dave [Wed, 29 Mar 2023 16:12:14 +0000 (21:42 +0530)]
Merge pull request #50307 from dparmar18/fix_pendingreleasenotes

PendingReleaseNotes: remove duplicate note and unwanted tracker link

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50735 from yangdongsheng/rbd_quiesce
Ilya Dryomov [Wed, 29 Mar 2023 15:19:02 +0000 (17:19 +0200)]
Merge pull request #50735 from yangdongsheng/rbd_quiesce

librbd: fix wrong attribute for rbd_quiesce_complete api

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoqa/suites/fs: check if cluster is healthy after upgrade 50686/head
Rishabh Dave [Mon, 27 Mar 2023 12:36:28 +0000 (18:06 +0530)]
qa/suites/fs: check if cluster is healthy after upgrade

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agodoc/rados: add link to ops/health-checks.rst 50744/head
Zac Dover [Wed, 29 Mar 2023 14:25:23 +0000 (00:25 +1000)]
doc/rados: add link to ops/health-checks.rst

Add an internal navigation link to
doc/rados/operations/health-checks.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit f2f968f65bd1f1a6975fd340c66703cea335dcf6)

2 years agoMerge pull request #50723 from zdover23/wip-doc-2023-03-28-documenting-ceph-squashing
zdover23 [Wed, 29 Mar 2023 12:54:58 +0000 (22:54 +1000)]
Merge pull request #50723 from zdover23/wip-doc-2023-03-28-documenting-ceph-squashing

doc/start: documenting-ceph - add squash procedure

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agolibrbd: fix wrong attribute for rbd_quiesce_complete api 50735/head
Dongsheng Yang [Wed, 15 Mar 2023 06:54:39 +0000 (06:54 +0000)]
librbd: fix wrong attribute for rbd_quiesce_complete api

When we use rbd_quiesce_complete api, we got an error:
/usr/bin/ld: undefined reference to `rbd_quiesce_complete'

Then we found the problem is the symbol of rbd_quiesce_complete
in librbd.so is LOCAL. After some investigation, we found
the attribute of rbd_quiesce_complete api is CEPH_RADOS_API
rather than expected CEPH_RBD_API.

Fixes: https://tracker.ceph.com/issues/59208
Signed-off-by: Dongsheng Yang <dongsheng.yang.linux@gmail.com>
2 years agoMerge pull request #50718 from rhcs-dashboard/use-only-counter-dump-schema
Avan [Wed, 29 Mar 2023 08:52:51 +0000 (14:22 +0530)]
Merge pull request #50718 from rhcs-dashboard/use-only-counter-dump-schema

exporter: user only counter dump/schema commands for extacting counters

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #48183 from lxbsz/wip-57591
Xiubo Li [Wed, 29 Mar 2023 04:44:07 +0000 (12:44 +0800)]
Merge pull request #48183 from lxbsz/wip-57591

qa: enable kclient test for newop test

2 years agoqa: enable kclient test for newop test 48183/head
Xiubo Li [Tue, 21 Mar 2023 01:51:49 +0000 (09:51 +0800)]
qa: enable kclient test for newop test

The kclient have already fix this. This will only enable the upstream
kclient with the testing branch, the downstream ones may not include
the fixing yet, so skip them for now.

The nautilus will only support the syntax v1. And for kclient there
is not need to do the upgrade.

Fixes: https://tracker.ceph.com/issues/57591
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoqa: add one func to distiguish the mount syntax version
Xiubo Li [Tue, 21 Mar 2023 08:26:45 +0000 (16:26 +0800)]
qa: add one func to distiguish the mount syntax version

Fixes: https://tracker.ceph.com/issues/57591
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoqa: remove the FuseMount/KernelMount check in test_newops.py
Xiubo Li [Tue, 21 Mar 2023 01:47:42 +0000 (09:47 +0800)]
qa: remove the FuseMount/KernelMount check in test_newops.py

Will use the postmerge fragment to check this.

Fixes: https://tracker.ceph.com/issues/57591
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoqa: introduce postmerge for fuse/kclient mounts
Xiubo Li [Tue, 21 Mar 2023 01:37:58 +0000 (09:37 +0800)]
qa: introduce postmerge for fuse/kclient mounts

Suggested by Patrick and this will check mounter's type.

Fixes: https://tracker.ceph.com/issues/57591
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoqa: remove the '0-' prefix
Xiubo Li [Wed, 22 Mar 2023 00:56:46 +0000 (08:56 +0800)]
qa: remove the '0-' prefix

Both the nautilus and pacific will be run in parallel.

Fixes: https://tracker.ceph.com/issues/57591
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agodoc/start: documenting-ceph - add squash procedure 50723/head
Zac Dover [Tue, 28 Mar 2023 09:29:40 +0000 (19:29 +1000)]
doc/start: documenting-ceph - add squash procedure

Add a procedure to doc/start/documenting-ceph.rst that explains how to
perform an interactive rebase to squash commits.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoexporter: user only counter dump/schema commands for extacting counters 50718/head
Avan Thakkar [Tue, 28 Mar 2023 13:32:47 +0000 (19:02 +0530)]
exporter: user only counter dump/schema commands for extacting counters

Fixes: https://tracker.ceph.com/issues/59191
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Ceph exporter no more required the output of perf dump/schema, as the ``counter dump`` command
returns both labeled and unlabeled perf counters which exporter can fetch and export.
Removed the ``exporter_get_labeled_counters`` confiug option as exporter will now export
all the counters, labeled or unlabeled.
Also the fix includes the support for renaming the metrics name of rgw multi-site and
adding labels to it, similar to what is there in prometheus module.

2 years agoMerge pull request #50713 from zdover23/wip-doc-2023-03-28-glossary-cephx
Anthony D'Atri [Tue, 28 Mar 2023 12:28:49 +0000 (08:28 -0400)]
Merge pull request #50713 from zdover23/wip-doc-2023-03-28-glossary-cephx

doc/glossary: improve "CephX" entry

2 years agoMerge pull request #50529 from rhcs-dashboard/dashboard-edit-rgw-multisite
Aashish Sharma [Tue, 28 Mar 2023 11:38:17 +0000 (17:08 +0530)]
Merge pull request #50529 from rhcs-dashboard/dashboard-edit-rgw-multisite

mgr/dashboard: edit realm in rgw-multisite

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agodoc/glossary: improve "CephX" entry 50713/head
Zac Dover [Tue, 28 Mar 2023 08:42:11 +0000 (18:42 +1000)]
doc/glossary: improve "CephX" entry

Improve the glossary entry for "CephX".

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agomgr/dashboard: Add unit test for realm 50529/head
Aashish Sharma [Mon, 27 Mar 2023 13:36:21 +0000 (19:06 +0530)]
mgr/dashboard: Add unit test for realm

Fixes: https://tracker.ceph.com/issues/59171
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2 years agoMerge pull request #50653 from xxhdx1985126/wip-exist-clean 49732/head
Yingxin [Tue, 28 Mar 2023 06:07:43 +0000 (14:07 +0800)]
Merge pull request #50653 from xxhdx1985126/wip-exist-clean

crimson/os/seastore/cache: consider EXIST_CLEAN extents as pending ones

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/os/seastore/cache: use CachedExtent::is_mutable() where appropriate 50653/head
Yingxin Cheng [Mon, 27 Mar 2023 09:38:17 +0000 (17:38 +0800)]
crimson/os/seastore/cache: use CachedExtent::is_mutable() where appropriate

CachedExtent::is_mutable() should only be used to check whether need to
call duplicate_for_write(extent).

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agoMerge pull request #50697 from zdover23/wip-doc-2023-03-28-glossary-scrubbing
zdover23 [Tue, 28 Mar 2023 00:39:16 +0000 (10:39 +1000)]
Merge pull request #50697 from zdover23/wip-doc-2023-03-28-glossary-scrubbing

doc/glossary: add "Scrubbing"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/glossary: add "Scrubbing" 50697/head
Zac Dover [Mon, 27 Mar 2023 20:48:32 +0000 (06:48 +1000)]
doc/glossary: add "Scrubbing"

Add "Scrubbing" to the glossary.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #48937 from adk3798/device-ls-size
Adam King [Mon, 27 Mar 2023 17:55:31 +0000 (13:55 -0400)]
Merge pull request #48937 from adk3798/device-ls-size

mgr/orchestrator: fix device size in `orch device ls` output

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50681 from lxbsz/qa-fscrypt-020
Xiubo Li [Mon, 27 Mar 2023 13:31:06 +0000 (21:31 +0800)]
Merge pull request #50681 from lxbsz/qa-fscrypt-020

qa: fscrypt enable xfstests-dev generic/020 test case

2 years agodisable default check if already set to true for selected realm
avanthakkar [Tue, 21 Mar 2023 13:00:13 +0000 (18:30 +0530)]
disable default check if already set to true for selected realm

Fixes: https://tracker.ceph.com/issues/59171
Signed-off-by: avanthakkar <avanjohn@gmail.com>
2 years agodisable create zonegroup if no master zone exist for existing master zonegroup
avanthakkar [Sun, 19 Mar 2023 14:25:15 +0000 (19:55 +0530)]
disable create zonegroup if no master zone exist for existing master zonegroup

Fixes: https://tracker.ceph.com/issues/59171
Signed-off-by: avanthakkar <avanjohn@gmail.com>
2 years agomgr/dashboard: edit rgw-multisite
avanthakkar [Mon, 6 Mar 2023 10:15:45 +0000 (15:45 +0530)]
mgr/dashboard: edit rgw-multisite

Fixes: https://tracker.ceph.com/issues/59171
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2 years agocrimson/os/seastore/cache: consider EXIST_CLEAN extents as pending ones
Xuehan Xu [Fri, 24 Mar 2023 10:43:57 +0000 (18:43 +0800)]
crimson/os/seastore/cache: consider EXIST_CLEAN extents as pending ones

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2 years agoqa: fscrypt enable xfstests-dev generic/020 test case 50681/head
Xiubo Li [Mon, 27 Mar 2023 06:22:33 +0000 (14:22 +0800)]
qa: fscrypt enable xfstests-dev generic/020 test case

Since the https://git.ceph.com/xfstests-dev.git has pulled the
corresponding fix about the long attribute for generic/020 test case,
we can enable it now.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge pull request #50675 from zdover23/wip-doc-2023-03-27-rados-operations-bluestore...
zdover23 [Sun, 26 Mar 2023 19:06:45 +0000 (05:06 +1000)]
Merge pull request #50675 from zdover23/wip-doc-2023-03-27-rados-operations-bluestore-migration-cleanup

doc/rados: clean up ops/bluestore-migration.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: clean up ops/bluestore-migration.rst 50675/head
Zac Dover [Sun, 26 Mar 2023 15:03:58 +0000 (01:03 +1000)]
doc/rados: clean up ops/bluestore-migration.rst

Clean up internal links, fix the numbering of a procedure, and implement
Anthony D'Atri's suggestions in
https://github.com/ceph/ceph/pull/50487 and
https://github.com/ceph/ceph/pull/50488.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50654 from zdover23/wip-doc-2023-03-24-glossary-user
zdover23 [Sat, 25 Mar 2023 19:43:00 +0000 (05:43 +1000)]
Merge pull request #50654 from zdover23/wip-doc-2023-03-24-glossary-user

doc/glossary: add "User"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/glossary: add "User" 50654/head
Zac Dover [Fri, 24 Mar 2023 10:56:51 +0000 (20:56 +1000)]
doc/glossary: add "User"

Add "User" to glossary.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50660 from zdover23/wip-doc-2023-03-25-rados-operations-bluestore...
Anthony D'Atri [Fri, 24 Mar 2023 17:54:06 +0000 (13:54 -0400)]
Merge pull request #50660 from zdover23/wip-doc-2023-03-25-rados-operations-bluestore-migration-prompt-fix

doc/operations: fix prompt in bluestore-migration

2 years agodoc/operations: fix prompt in bluestore-migration 50660/head
Zac Dover [Fri, 24 Mar 2023 17:47:10 +0000 (03:47 +1000)]
doc/operations: fix prompt in bluestore-migration

Fix a single prompt in bluestore-migration.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoqa/crontab: add reef upgrade tests and teuthology/nop 50553/head
Laura Flores [Wed, 15 Mar 2023 22:29:56 +0000 (17:29 -0500)]
qa/crontab: add reef upgrade tests and teuthology/nop

Signed-off-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50302 from weirdwiz/rbd-perf-counters
Ilya Dryomov [Fri, 24 Mar 2023 12:00:10 +0000 (13:00 +0100)]
Merge pull request #50302 from weirdwiz/rbd-perf-counters

rbd-mirror: switch to labeled perf counters

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #50497 from rishabh-d-dave/fs-qa-caps-helper
Rishabh Dave [Fri, 24 Mar 2023 10:58:38 +0000 (16:28 +0530)]
Merge pull request #50497 from rishabh-d-dave/fs-qa-caps-helper

qa/cephfs: add more helper methods to caps_helper.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #49302 from petrutlucian94/adapter_resets
Ilya Dryomov [Fri, 24 Mar 2023 10:41:04 +0000 (11:41 +0100)]
Merge pull request #49302 from petrutlucian94/adapter_resets

rbd-wnbd: optionally handle wnbd adapter restart events

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #50369 from rhcs-dashboard/exporter-labeled-counters
Avan [Fri, 24 Mar 2023 09:26:28 +0000 (14:56 +0530)]
Merge pull request #50369 from rhcs-dashboard/exporter-labeled-counters

exporter: add support for exposing labeled perf counters

2 years agorbd-wnbd: consistently use negative error codes in rbd-wnbd 49302/head
Lucian Petrut [Thu, 23 Mar 2023 08:24:01 +0000 (08:24 +0000)]
rbd-wnbd: consistently use negative error codes in rbd-wnbd

The rbd-wnbd iterators return positive errors, which is why
in certain cases we may end up with both positive and negative
error codes.

This change ensures that we'll consistently use negative
error codes.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agocommon, rbd-wnbd: bump Windows log level
Lucian Petrut [Wed, 7 Dec 2022 13:18:48 +0000 (15:18 +0200)]
common, rbd-wnbd: bump Windows log level

We're increasing the log level for certain Windows operational log
messages.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agorbd-wnbd: optionally handle wnbd adapter restart events
Lucian Petrut [Wed, 16 Nov 2022 11:24:34 +0000 (13:24 +0200)]
rbd-wnbd: optionally handle wnbd adapter restart events

The WNBD adapter may be reset in certain situations (e.g. driver
upgrade, MS WHQL tests, etc).

We're going to monitor the WNBD adapter using WMI[1] events, restarting
the rbd-wnbd disk mappings whenever necessary. Adapter monitoring can be
enabled by passing the --adapter-monitoring-enabled flag to the service.

This feature is optional for the following reasons:

* it's mainly used during development / driver certification
* we had to use a relatively small polling interval, which might imply
  additional resource usage. WMI quotas also have to be considered.

While at it, we're updating two lambdas that are submitted to thread pools,
avoiding default reference capturing and explicitly specifying the variables
that get copied.

[1] https://learn.microsoft.com/en-us/windows/win32/wmisdk/wmi-start-page

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoqa/cephfs: add more helper methods to caps_helper.py 50497/head
Rishabh Dave [Mon, 13 Mar 2023 10:46:13 +0000 (16:16 +0530)]
qa/cephfs: add more helper methods to caps_helper.py

Add methods that will accept read/write permissions, CephFS names and
CephFS mount point and in return will generate string form of MON, OSD
and MDS caps exactly as it is reported in Ceph keyrings.

Replace similar code in test_multifs_auth.py with calls to these helper
methods.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50649 from Thingee/foundation-mem-update-20230323
Anthony D'Atri [Fri, 24 Mar 2023 00:11:04 +0000 (20:11 -0400)]
Merge pull request #50649 from Thingee/foundation-mem-update-20230323

doc/foundation: Update Foundation members

2 years agodoc/foundation: Update Foundation members 50649/head
Mike Perez [Thu, 23 Mar 2023 22:51:17 +0000 (15:51 -0700)]
doc/foundation: Update Foundation members

Removing EasyStack, Vexxhost and adding 42on

Signed-off-by: Mike Perez <thingee@gmail.com>
2 years agoMerge pull request #50545 from ivancich/wip-fix-bi-restore-script-installation
J. Eric Ivancich [Thu, 23 Mar 2023 19:29:19 +0000 (15:29 -0400)]
Merge pull request #50545 from ivancich/wip-fix-bi-restore-script-installation

rgw: install rgw scripts with common files rather than radosgw files

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50617 from ivancich/wip-add-unordered-list-restore-index
J. Eric Ivancich [Thu, 23 Mar 2023 19:17:34 +0000 (15:17 -0400)]
Merge pull request #50617 from ivancich/wip-add-unordered-list-restore-index

rgw: add unordered listing to reindex to force stats update

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoexporter: export labeled perf-counters as prometheus metrics 50369/head
avanthakkar [Fri, 3 Mar 2023 13:20:00 +0000 (18:50 +0530)]
exporter: export labeled perf-counters as prometheus metrics

Fixes: https://tracker.ceph.com/issues/59063
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2 years agoMerge pull request #50634 from zdover23/wip-doc-2023-03-23-rados-operations-user...
zdover23 [Thu, 23 Mar 2023 13:05:28 +0000 (23:05 +1000)]
Merge pull request #50634 from zdover23/wip-doc-2023-03-23-rados-operations-user-management-1-of-x

doc/rados: edit user-management.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit user-management.rst (1 of x) 50634/head
Zac Dover [Thu, 23 Mar 2023 02:21:06 +0000 (12:21 +1000)]
doc/rados: edit user-management.rst (1 of x)

Edit doc/rados/operations/user-management.rst. (1 of x)

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50555 from myoungwon/wip-rbm-get-stat
Yingxin [Thu, 23 Mar 2023 09:23:01 +0000 (17:23 +0800)]
Merge pull request #50555 from myoungwon/wip-rbm-get-stat

crimson/os/seastore: implement get_stat() for RBM

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/os/seastore/rbm: implement get_stat() 50555/head
myoungwon oh [Thu, 16 Mar 2023 06:35:59 +0000 (15:35 +0900)]
crimson/os/seastore/rbm: implement get_stat()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agoMerge pull request #50334 from kamoltat/wip-ksirivad-fix-autoscale-warn
Yuri Weinstein [Wed, 22 Mar 2023 23:24:51 +0000 (16:24 -0700)]
Merge pull request #50334 from kamoltat/wip-ksirivad-fix-autoscale-warn

pybind/mgr/pg_autoscaler: Reorderd if statement for the func: _maybe_adjust

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #49748 from ifed01/wip-ifed-bound-rm-range-keys
Yuri Weinstein [Wed, 22 Mar 2023 23:23:56 +0000 (16:23 -0700)]
Merge pull request #49748 from ifed01/wip-ifed-bound-rm-range-keys

kv/RocksDBStore: use bounded iterators in rm_range_keys

Reviewed-by: Cory Snyder <csnyder@iland.com>
2 years agoMerge pull request #49380 from Matan-B/wip-matanb-lrod-logs
Yuri Weinstein [Wed, 22 Mar 2023 23:23:10 +0000 (16:23 -0700)]
Merge pull request #49380 from Matan-B/wip-matanb-lrod-logs

osd/PeeringState: Add logs around can_serve_replica_read() / last_complete_ondisk()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoqa/rgw: unpin centos for verify suite 50633/head
Casey Bodley [Wed, 22 Mar 2023 17:57:57 +0000 (13:57 -0400)]
qa/rgw: unpin centos for verify suite

use a random supported distro instead of centos

Fixes: https://tracker.ceph.com/issues/54102
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50510 from cbodley/wip-rgw-server-name
Casey Bodley [Wed, 22 Mar 2023 17:24:44 +0000 (13:24 -0400)]
Merge pull request #50510 from cbodley/wip-rgw-server-name

rgw: add default Server response header

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2 years agoMerge pull request #50504 from cbodley/wip-59048
Casey Bodley [Wed, 22 Mar 2023 17:22:33 +0000 (13:22 -0400)]
Merge pull request #50504 from cbodley/wip-59048

rgw/s3: DeleteObjects response uses correct delete_marker flag

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2 years agocommon: add win32/wstring.h
Lucian Petrut [Wed, 16 Nov 2022 08:50:14 +0000 (10:50 +0200)]
common: add win32/wstring.h

Windows APIs heavily use wchar. ceph-dokan and rbd-wnbd
have some duplicated helpers that convert wstrings to/from
utf8 strings.

To avoid duplication and allow reusing those helpers, we're moving
them to common/win32/wstring.h.

We're using the "win32" subfolder because it's unlikely that this
will ever be used on other platforms.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #50492 from Matan-B/wip-matanb-c-logging-levels
Matan [Wed, 22 Mar 2023 14:26:53 +0000 (16:26 +0200)]
Merge pull request #50492 from Matan-B/wip-matanb-c-logging-levels

crimson/common/log: Fix debug logging macros

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agoMerge pull request #50491 from Matan-B/wip-matanb-c-snaps-tests
Matan [Wed, 22 Mar 2023 14:25:18 +0000 (16:25 +0200)]
Merge pull request #50491 from Matan-B/wip-matanb-c-snaps-tests

test/librados/snapshots*: Enable Crimson supported tests

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #50546 from Matan-B/wip-matanb-crimson-only-order-snap
Matan [Wed, 22 Mar 2023 14:24:02 +0000 (16:24 +0200)]
Merge pull request #50546 from Matan-B/wip-matanb-crimson-only-order-snap

crimson/osd: Support librados::OPERATION_ORDERSNAP

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #49328 from BryceCao/wip-fix-python-script-using-s3cmd-with-error...
Casey Bodley [Wed, 22 Mar 2023 12:59:19 +0000 (08:59 -0400)]
Merge pull request #49328 from BryceCao/wip-fix-python-script-using-s3cmd-with-error-code-403

rgw : fix python script using s3cmd with error code 403

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50606 from zdover23/wip-doc-2023-03-21-rados-operations-erasure...
zdover23 [Tue, 21 Mar 2023 22:09:20 +0000 (08:09 +1000)]
Merge pull request #50606 from zdover23/wip-doc-2023-03-21-rados-operations-erasure-code

doc/rados: line-edit erasure-code.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agorgw: add unordered listing to reindex to force stats update 50617/head
J. Eric Ivancich [Sat, 18 Mar 2023 18:35:39 +0000 (14:35 -0400)]
rgw: add unordered listing to reindex to force stats update

By including an unordered listing in the script, we will complete
placing objects in the bucket index and allow stats to be updated
rather than waiting for this to happen organically at a user's
request. Unordered is preferred as it can run more efficiently.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agoMerge pull request #50486 from linuxbox2/wip-dedup-opsqs
Casey Bodley [Tue, 21 Mar 2023 21:52:28 +0000 (17:52 -0400)]
Merge pull request #50486 from linuxbox2/wip-dedup-opsqs

Do not duplicate query-string in ops-log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50468 from aclamk/wip-aclamk-harmonize-bluefs-log
Laura Flores [Tue, 21 Mar 2023 20:42:52 +0000 (15:42 -0500)]
Merge pull request #50468 from aclamk/wip-aclamk-harmonize-bluefs-log

os/bluestore: BlueFS: harmonize log read and writes modes

2 years agorgw : fix python script using s3cmd with error code 403 w/https 49328/head
Mark Kogan [Tue, 21 Mar 2023 16:30:12 +0000 (18:30 +0200)]
rgw : fix python script using s3cmd with error code 403 w/https

Fixes: https://tracker.ceph.com/issues/54104
Signed-off-by: Mark Kogan <mkogan@redhat.com>
2 years agodoc/rados: line-edit erasure-code.rst 50606/head
Zac Dover [Tue, 21 Mar 2023 12:27:15 +0000 (22:27 +1000)]
doc/rados: line-edit erasure-code.rst

Line-edit doc/rados/operations/erasure-code.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agorbd-mirror: add and rename perf counters for journal and snapshot mirroring 50302/head
Divyansh Kamboj [Fri, 17 Mar 2023 09:19:14 +0000 (14:49 +0530)]
rbd-mirror: add and rename perf counters for journal and snapshot mirroring

This commit renames the existing snapshot and journal based performance
counters in the rbd-mirror daemon to better reflect their purpose.
Additionally, new perf counters have been added to provide more detailed
information about the synchronization of snapshots between the source
and destination clusters.

This commit also switches to use labels instead of having the image spec
in the name of the counter.

Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
2 years agoMerge pull request #50602 from xxhdx1985126/wip-invalid-clean-pending-extents
Yingxin [Tue, 21 Mar 2023 07:55:27 +0000 (15:55 +0800)]
Merge pull request #50602 from xxhdx1985126/wip-invalid-clean-pending-extents

crimson/os/seastore: don't set INVALID extents to CLEAN when reading extents

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/os/seastore: don't set INVALID extents to CLEAN when reading 50602/head
Xuehan Xu [Tue, 21 Mar 2023 05:52:43 +0000 (05:52 +0000)]
crimson/os/seastore: don't set INVALID extents to CLEAN when reading
extents

CLEAN_PENDING extents may be invalidated before read completes:

1. transaction A retired an laddr, which lead to a RetirePlaceHolder in
   Cache
2. transaction B try to read that extent, and replace A's
   RetirePlaceHolder with it;
3. transaction A commits and invalidate that extent;
4. transaction B complete reading that extent;

In this case, we shouldn't set the extent's state to CLEAN

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2 years agoMerge pull request #50488 from zdover23/wip-doc-2023-03-13-rados-bluestore-migration...
zdover23 [Mon, 20 Mar 2023 00:59:21 +0000 (10:59 +1000)]
Merge pull request #50488 from zdover23/wip-doc-2023-03-13-rados-bluestore-migration-2-of-x

doc/rados: edit operations/bs-migration (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50487 from zdover23/wip-doc-2023-03-12-rados-bluestore-migration
zdover23 [Mon, 20 Mar 2023 00:58:55 +0000 (10:58 +1000)]
Merge pull request #50487 from zdover23/wip-doc-2023-03-12-rados-bluestore-migration

doc/rados: edit operations/bs-migration (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50579 from zdover23/wip-doc-2023-03-18-rados-configuration-mon...
zdover23 [Sun, 19 Mar 2023 07:56:22 +0000 (17:56 +1000)]
Merge pull request #50579 from zdover23/wip-doc-2023-03-18-rados-configuration-mon-lookup-dns

doc/rados: line edit mon-lookup-dns top matter

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: line edit mon-lookup-dns top matter 50579/head
Zac Dover [Sat, 18 Mar 2023 05:27:54 +0000 (15:27 +1000)]
doc/rados: line edit mon-lookup-dns top matter

Improve the syntax of the top matter of
doc/rados/operations/mon-lookup-dns.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #49443 from cbodley/wip-qa-supported-distros
Casey Bodley [Fri, 17 Mar 2023 19:36:41 +0000 (15:36 -0400)]
Merge pull request #49443 from cbodley/wip-qa-supported-distros

qa/distros: add ubuntu 22 as supported distro

Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50498 from rishabh-d-dave/fs-qa-caps-helper-minor
Rishabh Dave [Fri, 17 Mar 2023 18:23:27 +0000 (23:53 +0530)]
Merge pull request #50498 from rishabh-d-dave/fs-qa-caps-helper-minor

qa/cephfs: minor corrections in caps_helper.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge pull request #50556 from aravind-wdc/fix-header
Yingxin [Fri, 17 Mar 2023 14:07:40 +0000 (22:07 +0800)]
Merge pull request #50556 from aravind-wdc/fix-header

crimson: fix build error

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #50559 from petrutlucian94/improve_win32_clock_check
Ilya Dryomov [Fri, 17 Mar 2023 12:30:12 +0000 (13:30 +0100)]
Merge pull request #50559 from petrutlucian94/improve_win32_clock_check

common: avoid redefining clock type on Windows

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge PR #50544 into main
Venky Shankar [Fri, 17 Mar 2023 08:55:42 +0000 (14:25 +0530)]
Merge PR #50544 into main

* refs/pull/50544/head:
test/libcephfs: skip flaky timestamp assertion on Windows

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>