Commit Graph

106084 Commits

Author SHA1 Message Date
Patrick Donnelly
84a34e6dc8
Merge PR #31250 into master
* refs/pull/31250/head:
	mds: Reorganize class members in MDSTableServer header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-07 13:57:48 -08:00
Patrick Donnelly
c3f78c4785
Merge PR #31481 into master
* refs/pull/31481/head:
	mds: Reorganize struct members in Mutation header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-07 13:57:03 -08:00
Patrick Donnelly
a30eb9a4e1
Merge PR #32452 into master
* refs/pull/32452/head:
	cephfs-journal-tool: fix the usage
	cephfs-journal-tool: fix crash with empty argv

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-07 13:56:11 -08:00
Patrick Donnelly
8f8d03dd3c
Merge PR #32510 into master
* refs/pull/32510/head:
	mon: use non-obsolete mon scrub cmd

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 13:52:36 -08:00
David Zafman
3869ee3d7c
Merge pull request #32247 from dzafman/wip-43307
Remove use of rules batching for upmap balancer and default for upmap_max_deviation to 5

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-07 10:41:37 -08:00
Kefu Chai
dfd90da59c
Merge pull request #32412 from tchaikov/wip-spec-more-deps-for-el8
ceph.spec.in: re-enable "make check" deps for el8

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2020-01-07 22:53:14 +08:00
Jason Dillaman
3143608ba8
Merge pull request #32483 from trociny/wip-pool_replayer-print_status
rbd-mirror: fix "pool replayer status" for case when init failed 

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-01-07 08:27:26 -05:00
Jason Dillaman
5e84095b1c
Merge pull request #32463 from trociny/wip-unlink-peer
librbd: when unlinking peer from mirror snaps do it in all namespaces

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-01-07 08:27:07 -05:00
Jason Dillaman
55302f47bd
Merge pull request #32456 from trociny/wip-43428
rbd-mirror: make logrotate work

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-01-07 08:25:58 -05:00
Daniel Gryniewicz
2ee55c2cf7
Merge pull request #32404 from kalebskeithley/master
rgw: build radosgw daemon as a shared lib + small executable
2020-01-07 08:05:21 -05:00
Kefu Chai
d063674c80
Merge pull request #32494 from ronen-fr/clang_3
crimson: fix lambda captures of non-variables

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 20:45:40 +08:00
Kefu Chai
8988a07e2d
Merge pull request #32499 from sebastian-philipp/orchestrator-cli-mon-update-count-only
mgr/orchestrator_cli: _update_mons require host spec only

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 18:52:26 +08:00
Ronen Friedman
24694e2a06 crimson: fix lambda captures of non-variables
One cannot just capture a structured binding "non-variable".
(From the C++ standard, $8.4.5.2:
"If a lambda-expression [...] captures a structured binding (explicitly or implicitly),
the program is ill-formed.")

Co-authored-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2020-01-07 12:39:42 +02:00
Ilya Dryomov
39fdbe1b81
Merge pull request #32376 from idryomov/wip-krbd-fsx-object-map
qa/suites/krbd: fsx with object-map and fast-diff

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-01-07 11:32:26 +01:00
Kefu Chai
0150ac9daa
Merge pull request #32518 from tchaikov/wip-orchestrator-service-action-tests
qa/tasks/mgr/test_orchestrator_cli: fix service action tests

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-01-07 17:44:10 +08:00
Sebastian Wagner
a41b68ee0b mgr/rook: Add some more type annotations
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-01-07 09:44:29 +01:00
Sebastian Wagner
ce2010c4e3 mgr/orchestrator_cli: _update_mons require host spec only
* `mgr/cephadm` requres a host spec right now
* `mgr/rook` only supports `spec.count` right now

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-01-07 09:44:29 +01:00
Kefu Chai
e78b992a04
Merge pull request #32496 from majianpeng/osd-remove-unused-func2
osd/OSD: remove unused func enqueue_peering_evt_front

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 16:40:16 +08:00
Kefu Chai
4788de2370
Merge pull request #32484 from bzed/bluefs-use-uint64_t-for-len
os/bluestore/Blue(FS|Store): uint64_t alloc_size

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 16:38:04 +08:00
Kefu Chai
e18dcbb232
Merge pull request #32473 from sseshasa/fix-mon-autotune-update
mon/OSDMonitor: Don't update mon cache settings if rocksdb is not used

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-07 16:32:41 +08:00
Kefu Chai
726b0de68f
Merge pull request #28921 from rzarzynski/wip-msgr-drop-0c
msg/async: drop zero_copy_read() & co from ConnectedSocket.

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 16:31:49 +08:00
Kefu Chai
f4f1bb44d5
Merge pull request #32112 from hjwsm1989/wip-42706
test/librados: don't release handler if set_pg_num failed

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 16:30:37 +08:00
Kefu Chai
ccfaf40491
Merge pull request #32428 from tchaikov/wip-qa-mgr-mon-update
qa/tasks/mgr/test_orchestrator_cli: fix "mon update" test

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-01-07 16:29:34 +08:00
Kefu Chai
b59cc672a0
Merge pull request #31929 from majianpeng/msg-async-bugfix
msg/async: update refcount and perf counter properly

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 16:28:30 +08:00
Kefu Chai
4c98b3224e qa/tasks/mgr/test_orchestrator_cli: fix service action tests
in b77f0c74a5, "reload"
service[-instance] action was dropped. so replace "reload" with
"restart" in the related tests.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-07 16:00:04 +08:00
David Zafman
c65d5c8d14 test: Sort pool list because the order isn't guaranteed from "balancer pool ls"
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
b0a1b758d0 mgr: Change default upmap_max_deviation to 5
Fixes: https://tracker.ceph.com/issues/43312

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
621acf8ce7 osdmaptool: Add --upmap-active to simulate active upmap balancing
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
184e9d1ae3 doc: Add upmap options to osdmaptool man page and give example
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
e42a6ccb18 tools: osdmaptool document non-upmap options that were missing
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
8e46bbbf36 test: Fix test case for pool based balancing instead of rule batched
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
a92f48773e Revert "tools: osdmaptool sync with balancer module behavior"
This was the rules batching version of osdmaptool

This reverts commit f165d4ca39.

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
7a1d6872c7 Partially revert "mgr/balancer: balance pools with same crush_rule in batch"
This partially reverts commit 3a730d751d

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

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
Ilya Dryomov
53066d09ab
Merge pull request #32358 from idryomov/wip-krbd-py3-fixup
qa: krbd_exclusive_option.sh: fixup for json.tool ordering change

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-01-06 21:54:43 +01:00
Patrick Donnelly
47d8515975
Merge PR #32498 into master
* refs/pull/32498/head:
	doc: mounting CephFS subdirectory and Persistent Mounts cleanup

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-06 12:42:05 -08:00
Patrick Donnelly
e389d9016c
Merge PR #32480 into master
* refs/pull/32480/head:
	qa: use -D_GNU_SOURCE when compiling fsync-tester.c
	qa: add comment about fsync-tester distribution

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-06 12:34:37 -08:00
Patrick Donnelly
78bd2a83ed
Merge PR #29995 into master
* refs/pull/29995/head:
	mds: add config to require forward to auth MDS

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-06 12:31:57 -08:00
Patrick Donnelly
87755902ad
Merge PR #31494 into master
* refs/pull/31494/head:
	qa: force creation of fs with EC default data pool
	qa: add tests for adding EC data pools
	mon/MDSMonitor: warn when creating fs with default EC data pool

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-06 12:30:59 -08:00
Patrick Donnelly
7fde99ac06
Merge PR #32015 into master
* refs/pull/32015/head:
	doc/cephfs/standby: document mds_join_fs
	mgr/cephadm: map mds daemons to a particular fs
	mon/MDSMonitor: respect mfs fscid preference
	mon/MDSMonitor: assign standbys to their preferred fscid
	mds/FSMap: track preferred fscid for standby daemons
	mds: add mds_join_fs option; pass via MMDSBeacon

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-06 12:29:50 -08:00
Patrick Donnelly
a804561795
Merge PR #32268 into master
* refs/pull/32268/head:
	mds: only enable batch getattr/lookup for non-snap request.
	mds: pin dentry when attaching batch lookup to it

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-06 12:28:20 -08:00
Patrick Donnelly
a9a77bf1f9
Merge PR #32307 into master
* refs/pull/32307/head:
	mon: print FSMap if standbys exist

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-06 12:27:31 -08:00
Patrick Donnelly
f714c4bd3e
Merge PR #32308 into master
* refs/pull/32308/head:
	mon/MDSMonitor: cleanup check_subs

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-06 12:26:58 -08:00
Patrick Donnelly
c755740376
Merge PR #32467 into master
* refs/pull/32467/head:
	qa: fix various py3 cephfs qa bugs

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-06 12:25:34 -08:00
Patrick Donnelly
0997d24ddd
Merge PR #32164 into master
* refs/pull/32164/head:
	mount.ceph: give a hint message when no mds is up or cluster is laggy

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-01-06 12:19:01 -08:00
Patrick Donnelly
02b3883dd0
Merge PR #32363 into master
* refs/pull/32363/head:
	qa: add .qa link

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-06 12:18:12 -08:00
Patrick Donnelly
1710acdc6b
mon: use non-obsolete mon scrub cmd
Fixes: e9a5ce0897
Fixes: https://tracker.ceph.com/issues/43488
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-06 12:06:10 -08:00
Kefu Chai
13acfe0491
Merge pull request #32426 from tchaikov/wip-qa-test_envlibrados_for_rocksdb.sh
qa: enable CRB repo for RHEL8

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-07 01:46:14 +08:00
Kefu Chai
f05696ebeb qa: enable CRB repo for RHEL8
instead of enabling PowerTools repo, we need to enable CodeReady Builder
repo for RHEL8

also, since we are moving to RHEL8, there is no need to install cmake3
specifically for CentOS. CentOS 8 comes with cmake3.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-06 23:41:23 +08:00
Jan Fajerski
69df8573bf
Merge pull request #32242 from rishabh-d-dave/cv-methods-for-lvm-opt-S
ceph-volume: add methods to pass filters to pvs, vgs and lvs commands
2020-01-06 15:53:52 +01:00
Ilya Dryomov
b2b7610d1a qa: krbd_exclusive_option.sh: fixup for json.tool ordering change
In Python 3.5 json.tool was changed to produce unsorted output and
--sort-keys option was added to compensate.  This wasn't caught by
4fe245cc2f ("qa: update krbd tests for python3") because it raced
with 50933b863a ("qa: krbd_exclusive_option.sh: update for recent
kernel changes").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-01-06 15:12:25 +01:00