]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agoqa/workunit/fs: print commands for making debugging easier 50687/head
Rishabh Dave [Mon, 27 Mar 2023 12:41:51 +0000 (18:11 +0530)]
qa/workunit/fs: print commands for making debugging easier

Print the commands and their arguments as they are being executed for
kernel_untar_tar.sh so that it's easier to debug when a teuthology
failure occurs due to it.

Signed-off-by: Rishabh Dave <ridave@redhat.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 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 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 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>
2 years agoMerge pull request #50106 from rhcs-dashboard/new-landing-page-and-toggle-button
Nizamudeen A [Fri, 17 Mar 2023 08:31:29 +0000 (14:01 +0530)]
Merge pull request #50106 from rhcs-dashboard/new-landing-page-and-toggle-button

mgr/dashboard: add button toggle to switch between landing pages

2 years agocommon: avoid redefining clock type on Windows 50559/head
Lucian Petrut [Thu, 16 Mar 2023 14:25:50 +0000 (14:25 +0000)]
common: avoid redefining clock type on Windows

mingw >= 8.0.1 defines CLOCK_REALTIME_COARSE, so we'll avoid
overriding it if already set.

Clock precision [1]:

mingw < 8.0.1:
  * CLOCK_REALTIME: ~10-55ms (GetSystemTimeAsFileTime)
mingw >= 8.0.1:
  * CLOCK_REALTIME: <1us (GetSystemTimePreciseAsFileTime)
  * CLOCK_REALTIME_COARSE: ~10-55ms (GetSystemTimeAsFileTime)

* CLOCK_MONOTONIC: <1us if TSC is usable, ~10-55ms otherwise
                   (QueryPerformanceCounter)

[1] https://github.com/mirror/mingw-w64/commit/dcd990ed423381cf35702df9495d44f1979ebe50

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #50563 from zdover23/wip-doc-2023-03-17-rados-operations-upmap
zdover23 [Fri, 17 Mar 2023 05:54:32 +0000 (15:54 +1000)]
Merge pull request #50563 from zdover23/wip-doc-2023-03-17-rados-operations-upmap

doc/rados: line-edit upmap.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: line-edit upmap.rst 50563/head
Zac Dover [Thu, 16 Mar 2023 17:41:08 +0000 (03:41 +1000)]
doc/rados: line-edit upmap.rst

Edit all of doc/rados/upmap.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50564 from Thingee/update-foundation-202303
Anthony D'Atri [Thu, 16 Mar 2023 22:32:42 +0000 (18:32 -0400)]
Merge pull request #50564 from Thingee/update-foundation-202303

docs: Update Foundation members for March 2023

2 years agodocs: Update Foundation members for March 2023 50564/head
Mike Perez [Thu, 16 Mar 2023 22:23:55 +0000 (15:23 -0700)]
docs: Update Foundation members for March 2023

Signed-off-by: Mike Perez <thingee@gmail.com>
2 years agocrimson: fix build error 50556/head
Aravind Ramesh [Thu, 16 Mar 2023 07:02:39 +0000 (12:32 +0530)]
crimson: fix build error

With -DWITH_SEASTAR=ON, build is failing.

src/crimson/osd/osd_operations/snaptrim_event.cc:174:29: error: ‘sleep’ is not a member of ‘seastar’

Signed-off-by: Aravind Ramesh <Aravind.Ramesh@wdc.com>
2 years agotest/libcephfs: skip flaky timestamp assertion on Windows 50544/head
Lucian Petrut [Wed, 15 Mar 2023 09:04:40 +0000 (09:04 +0000)]
test/libcephfs: skip flaky timestamp assertion on Windows

There's a new libcephfs test that creates a snapshot and
compares ctime/mtime. The issue is that one of the assertion
fails on Windows, potentially due to reduced timestamp
precision.

For now, we'll skip those assertions on Windows.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agomgr/dashboard: add button toggle to switch between new and old landing page 50106/head
Pedro Gonzalez Gomez [Tue, 14 Feb 2023 10:21:57 +0000 (11:21 +0100)]
mgr/dashboard: add button toggle to switch between new and old landing page

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 years agoMerge pull request #50534 from neha-ojha/wip-release-cl
Neha Ojha [Wed, 15 Mar 2023 19:50:42 +0000 (12:50 -0700)]
Merge pull request #50534 from neha-ojha/wip-release-cl

doc/dev/release-checklists.rst: add after dev freeze section

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agotest/librados/snapshots_cxx: Enable OrderSnap for Crimson 50546/head
Matan Breizman [Wed, 15 Mar 2023 16:04:42 +0000 (16:04 +0000)]
test/librados/snapshots_cxx: Enable OrderSnap for Crimson

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agocrimson/osd/osd_operations/client_request: Support librados::OPERATION_ORDERSNAP
Matan Breizman [Wed, 15 Mar 2023 15:52:16 +0000 (15:52 +0000)]
crimson/osd/osd_operations/client_request: Support librados::OPERATION_ORDERSNAP

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agocrimson/osd/client_request: Move writer SnapContext initialization
Matan Breizman [Wed, 15 Mar 2023 15:45:27 +0000 (15:45 +0000)]
crimson/osd/client_request: Move writer SnapContext initialization

Move the initialization from PG::do_osd_ops() to ClientRequest::do_process()
in order to allow for ORDERSNAP error checking before do_osd_ops. (See next commit)

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agoqa/workunits/rbd: use bionic version of qemu-iotests for jammy 49443/head
Ilya Dryomov [Wed, 15 Mar 2023 16:12:36 +0000 (17:12 +0100)]
qa/workunits/rbd: use bionic version of qemu-iotests for jammy

Same as in commit 2de2146c300c ("qa/workunits/rbd: use bionic version
of qemu-iotests for focal").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agorgw: install rgw scripts with common files rather than radosgw files 50545/head
J. Eric Ivancich [Wed, 15 Mar 2023 13:26:07 +0000 (09:26 -0400)]
rgw: install rgw scripts with common files rather than radosgw files

Update ceph.spec.in and debian install files so
rgw-restore-bucket-index, rgw-orphan-list, rgw-gap-list,
rgw-gap-list-comparator are installed with common files.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agoMerge pull request #50214 from rhcs-dashboard/landing-page-prom-error-fix
Nizamudeen A [Wed, 15 Mar 2023 06:41:48 +0000 (12:11 +0530)]
Merge pull request #50214 from rhcs-dashboard/landing-page-prom-error-fix

mgr/dashboard: fix prometheus api issues on landing page v3

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agoMerge pull request #47974 from zhscn/wip-evict
Yingxin [Wed, 15 Mar 2023 03:02:43 +0000 (11:02 +0800)]
Merge pull request #47974 from zhscn/wip-evict

crimson/os/seastore: evict cold data to slower devices

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agotest/crimson/seasatore: add evction test 47974/head
Zhang Song [Fri, 17 Feb 2023 06:25:20 +0000 (14:25 +0800)]
test/crimson/seasatore: add evction test

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seastore/EPM: cleanup alloc_new_extent
Zhang Song [Fri, 17 Feb 2023 06:23:36 +0000 (14:23 +0800)]
crimson/os/seastore/EPM: cleanup alloc_new_extent

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seasotre/segment_manager_group: ensure the types of devices are same
Zhang Song [Wed, 1 Mar 2023 10:19:54 +0000 (18:19 +0800)]
crimson/os/seasotre/segment_manager_group: ensure the types of devices are same

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seastore: add EPHEMERAL_COLD device type
Zhang Song [Tue, 14 Feb 2023 09:47:35 +0000 (17:47 +0800)]
crimson/os/seastore: add EPHEMERAL_COLD device type

rename SEGMENTED_EPHEMERAL to EPHEMERAL_MAIN

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seastore/EPM/BackgroundProcess: introduce more eviction policy
Zhang Song [Wed, 11 Jan 2023 10:17:41 +0000 (18:17 +0800)]
crimson/os/seastore/EPM/BackgroundProcess: introduce more eviction policy

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seastore/EPM/BackgroundProcess: reserve space on cold cleaner
Zhang Song [Tue, 10 Jan 2023 10:52:04 +0000 (18:52 +0800)]
crimson/os/seastore/EPM/BackgroundProcess: reserve space on cold cleaner

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seastore: get segment info from cold segment provider
Zhang Song [Tue, 10 Jan 2023 10:02:50 +0000 (18:02 +0800)]
crimson/os/seastore: get segment info from cold segment provider

Signed-off-by: Zhang Song <zhangsong325@gmail.com>
2 years agocrimson/os/seastore: support mark_space_{free, used} on cold_cleaner
Zhang Song [Tue, 10 Jan 2023 10:01:25 +0000 (18:01 +0800)]
crimson/os/seastore: support mark_space_{free, used} on cold_cleaner

Signed-off-by: Zhang Song <zhangsong325@gmail.com>