Commit Graph

129985 Commits

Author SHA1 Message Date
Josh Durgin
3c928d9ec3
Merge pull request #45380 from ceph/wip-yuri-master-crontab
qa/tests: added client upgrade suites to the crontab

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2022-03-15 14:22:54 -07:00
Liu-Chunmei
3d8aa0ae0f
Merge pull request #45348 from liu-chunmei/seastore-op-version
crimson: add CEPH_OSD_OP_ASSERT_VER

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-03-15 12:48:55 -07:00
Samuel Just
95e7ce9305
Merge pull request #44912 from xxhdx1985126/wip-fixed-kv-btree
crimson/os/seastore: extract fixed kv btree implementation out of lba manager

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-03-15 12:45:07 -07:00
Adam King
7a90a85500
Merge pull request #45362 from josephsawaya/doc-dev
doc: Add note to osds_per_device description about dual-actuator devices

Reviewed-by: Adam King <adking@redhat.com>
2022-03-15 14:43:16 -04:00
Yuri Weinstein
f8da7427bc
Merge pull request #45337 from amathuria/amathuri-add-scrub-duration
osd/scrub: add scrub duration to pg stats

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-03-15 10:35:42 -07:00
Yuri Weinstein
7bd2450f11
Merge pull request #45078 from kamoltat/wip-ksirivad-fix-target-size-ratio-bound
mon/MonCommands.h: fix target_size_ratio range

Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-03-15 09:22:58 -07:00
Samuel Just
9daaf6887d
Merge pull request #45317 from Matan-B/wip-matanb-c-vstart-as
vstart.sh: disable pg-autoscaling for crimson-osd

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2022-03-14 20:20:05 -07:00
chunmei-liu
f4e228a023 crimson: add CEPH_OSD_OP_ASSERT_VER
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-03-14 19:42:42 -07:00
Kefu Chai
035b55b634
Merge pull request #45378 from tchaikov/wip-docs
doc/dev: s/tchaikov/ceph/

Reviewed-by:Anthony D'Atri <anthony.datri@gmail.com>
2022-03-15 09:37:47 +08:00
Daniel Gryniewicz
3168d1b537
Merge pull request #45343 from dang/wip-dang-bucket-quota
RGW - Get quota on OPs with a bucket

Reviewed-by Casey Bodley <cbodley@redhat.com>
2022-03-14 13:36:02 -04:00
Yuri Weinstein
1572be9b8f qa/tests: added client upgrade suites to the crontab
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2022-03-14 08:28:37 -07:00
Kefu Chai
f63fa1b1e4 doc/dev: s/tchaikov/ceph/
use the repo under ceph orgnization for the sake of better
consistency

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-03-14 23:05:54 +08:00
Ilya Dryomov
0b44878cb2
Merge pull request #45235 from tchaikov/rbd-std-variant
librbd: s/boost::variant/std::variant/

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-03-14 11:36:39 +01:00
Yuri Weinstein
ad7a527c34
Merge pull request #44827 from ceph/wip-yuriw-crontab-master2
qa/tests: added quincy and removed master runs

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Adam King adking@redhat.com
2022-03-13 09:10:27 -07:00
Kefu Chai
974811e819
Merge pull request #45276 from tchaikov/wip-rapidjson
submodule: bump up RapidJSON

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-03-13 20:38:35 +08:00
Xuehan Xu
8480382f09 crimson/os/seastore/btree: move 'with_btree*' from lba manager to fixed kv btree
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-03-13 17:16:53 +08:00
Xuehan Xu
917f45ab89 crimson/os/seastore: extract lba nodes out of lba manager
Change lba nodes to general fixed-size-kv btree nodes

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-03-13 17:16:53 +08:00
Xuehan Xu
bd307d2c6d crimson/os/seastore: extract fixed kv btree implementation out of lba manager
Basically, this pr moves the current LBABtree and lba_range_pin out of lba manager,
and rename LBABtree to FixedKVBtree. This is the preparation for implementing backrefs

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-03-13 17:16:53 +08:00
Matan Breizman
ec7cec6a14 vstart.sh: disable autoscaling for crimson-osd
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2022-03-12 18:08:17 +00:00
Joseph Sawaya
882fc27718 doc: Add note to osds_per_device description about dual-actuator devices
This commit adds information about using dual-actuator devices with the
osds_per_device drive group option, letting users know they can create
an OSD for each actuator by setting this value to 2 in the drive group
they're using to apply OSDs to the device.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
2022-03-11 15:45:16 -05:00
Kefu Chai
3a93b40721 librbd: s/boost::variant/std::variant/
boost::variant explicitly prevent it from being compared other types
by marking the return type of, for instance operator==(const T&) as
"void", if T is not identical to the variant type. so address this,
let's use std::variant<> instead.

more standard compliant and simpler this way.

because of https://cplusplus.github.io/LWG/issue3052, libstdc++
only specializes for std::variant<> for std::visit(), while libc++
allows the derived types of std::variant<> to be "visited", hence
we add an adaptor for SnapshotNamespace.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-03-11 20:46:39 +08:00
Aishwarya Mathuria
be9f8a15cd osd/scrub: add scrub duration to pg stats
Addition of a SCRUB_DURATION field that shows how long the scrub/deep-scrub of a pg took.
This field will be displayed in the output of the "ceph pg dump --format=json" and "ceph pg ls-by-pool --format=json" commands.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
2022-03-11 12:25:27 +05:30
Zack Cerza
e39304dcd6
Merge pull request #45034 from ceph/cephadm-conditional-hostname
qa/tasks/cephadm: Make hostname change idempotent
2022-03-10 19:07:17 -07:00
Yuri Weinstein
21928dd489
Merge pull request #44925 from JoshSalomon/balancer-perf
balancer: Improve performance in rare cases

Reviewed-by: Laura Flores <lflores@redhat.com>
2022-03-10 15:24:47 -08:00
Daniel Gryniewicz
8966edd2fb RGW - Get quota on OPs with a bucket
Bucket head OPs should have quota in the output.  However, we were only
fetching quota on OPs that also had an object.  The object itself is not
necessary for quota (although a bucket is).  Change it so that we get
quota on bucket OPs as well.

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

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2022-03-10 15:01:38 -05:00
Kamoltat Sirivadhna
5bfc71e85d
Merge pull request #45200 from kamoltat/wip-ksirivad-pg-num-max-reorder
osd/osd_types: pg_num_max reordering
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2022-03-10 12:01:27 -05:00
Anthony D'Atri
49c4be1174
Merge pull request #45330 from wxypro/fix-typos
doc/cephfs: fix typos
2022-03-10 00:55:19 -08:00
wangxinyu
b132d6d69b doc/cephfs: fix typos
fix typos

Signed-off-by: wangxinyu <wangxinyu@inspur.com>
2022-03-10 15:44:18 +08:00
Samuel Just
40610e8fb7
Merge pull request #43474 from xxhdx1985126/wip-epm-strategy
crimson/os/seastore: implement Sprite LFS' gc and extent placement strategy to lower gc cost

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-03-09 18:34:00 -08:00
Neha Ojha
f436973332
Merge pull request #45244 from Matan-B/wip-matanb-revert-keyring
Revert "doc/dev: Running workunits locally"

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-03-09 15:54:21 -08:00
Neha Ojha
1187405ead
Merge pull request #45305 from Thingee/update-foundation-mem-202203
docs: Updating Foundation member list for 202203

Reviewed-by: Dan van der Ster <daniel.vanderster@cern.ch>
Reviewed-by:Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-03-09 15:19:35 -08:00
Yuri Weinstein
c6da0c55a2
Merge pull request #44913 from benhanokh/safe_shutdown_v2
OSD::Modify OSD Fast-Shutdown to work safely i.e. quiesce all activit…

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2022-03-09 13:53:43 -08:00
Kamoltat Sirivadhna
36b0dc0954
Merge pull request #45318 from kamoltat/wip-fix-autoscale-doc
doc/rados/operations/placement-groups:  ...fix typo...
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by:  Neha Ojha <nojha@redhat.com>
2022-03-09 12:41:01 -05:00
David Galloway
6917edc743
Merge pull request #45272 from petrutlucian94/build_fix
Fix Windows build
2022-03-09 10:42:36 -05:00
Kamoltat
7f1c7637e2 doc/rados/operations/placement-groups: typo two 'the'
typo, should not have two 'the' next to each
other.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2022-03-09 15:36:20 +00:00
Kamoltat Sirivadhna
791ea7e7e8
Merge pull request #45279 from kamoltat/wip-ksirivad-fix-bulk-doc
doc/rados/operations/placement-groups: fix --bulk commands
Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-03-09 10:13:21 -05:00
Kefu Chai
b04655645b cls/rbd: define SnapshotNamespace's ctor using its parent
simpler this way. also this prevent the compiler from trying to
convert a random value into SnapshotNamespace just because it
has a templated constructor when it tries to lookup a candidate
of operator<<(ostream&, Random value).

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-03-09 21:53:17 +08:00
Kefu Chai
4382062ba3
Merge pull request #45302 from rzarzynski/wip-crimson-fix-noenoent-no-remove
crimson/osd: fix no ENOENT when removing already removed object

Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2022-03-09 21:34:47 +08:00
Kefu Chai
9dfaa10791
Merge pull request #45310 from inspur-wyq/wip-doc-cephadm
doc/cephadm/adoption.rst: fix typos

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-03-09 21:23:06 +08:00
Kefu Chai
4bc772aed3
Merge pull request #45266 from tchaikov/wip-sphinx
admin/doc-requirements: bump sphinx to 4.4.0

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2022-03-09 21:20:24 +08:00
Ilya Dryomov
249e5e352c
Merge pull request #45297 from idryomov/wip-test-notify-rebuild-object-map
test/librbd/test_notify.py: effect post object map rebuild assert

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
2022-03-09 10:15:56 +01:00
wangyunqing
e4db28f6b2 doc/cephadm/adoption.rst: fix typos
Signed-off-by: wangyunqing <wangyunqing@inspur.com>
2022-03-09 16:57:20 +08:00
Samuel Just
1af515da6d
Merge pull request #45278 from rzarzynski/wip-crimson-fix-logs-in-cls
crimson, cls: fix the inability to print logs from plugins.

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2022-03-08 23:07:42 -08:00
Kamoltat
4a01fc7798 doc/rados/operations/placement-groups: fix --bulk commands
Some parts of the documents regarding
the bulk flag  have typos.

Command for creating a pool

was: `ceph osd create test_pool --bulk`

should be: `ceph osd pool create test_pool --bulk`

Command for setting bulk value in a pool

was: `ceph osd pool set test_pool bulk=<true/false/1/0>`

should be: `ceph osd pool set test_pool bulk <true/false/1/0>`

Also removed a bit of trailing white spaces.

Changed `complements` to `complement`.

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

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2022-03-09 04:27:33 +00:00
Mike Perez
5e105778a7 docs: Update Foundation member list for March #45305
Signed-off-by: Mike Perez <thingee@gmail.com>
2022-03-08 14:06:04 -08:00
Adam King
e338e1f7d2
Merge pull request #45211 from phlogistonjohn/jjm-nfs-cleanups3
mgr/nfs: Additional fixes for NFS export management without orchestration

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2022-03-08 13:42:07 -05:00
Adam King
43cc29466a
Merge pull request #45281 from rkachach/fix_issue_54487
mgr/cephadm: fixing MDSSpec ctr

Reviewed-by: Adam King <adking@redhat.com>
2022-03-08 13:33:54 -05:00
Adam King
03a0c3b384
Merge pull request #45039 from Matan-B/wip-matanb-nfs-timeout
qa/tasks/cephfs: increase timeout in test_nfs.py

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-03-08 13:31:40 -05:00
Radoslaw Zarzynski
66fa95f318 crimson/osd: fix no ENOENT when removing already removed object
This patch deals with the following problem:

```
[rzarzynski@o06 build]$ RBD_FEATURES="21" ./bin/ceph_test_cls_rbd --gtest_filter=TestClsRbd.create
Running main() from gmock_main.cc
Note: Google Test filter = TestClsRbd.create
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from TestClsRbd
[ RUN      ] TestClsRbd.create
../src/test/cls_rbd/test_cls_rbd.cc:467: Failure
Expected equality of these values:
  -2
  ioctx.remove(oid)
    Which is: 0
[  FAILED  ] TestClsRbd.create (10 ms)
[----------] 1 test from TestClsRbd (10 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (2805 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] TestClsRbd.create

 1 FAILED TEST
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-03-08 18:27:27 +00:00
Casey Bodley
dad598dc3e
Merge pull request #45214 from cbodley/wip-rgw-ancient-curl-workaround
cmake/rgw: remove workaround for ancient libcurl

Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
2022-03-08 10:32:39 -05:00