Commit Graph

89546 Commits

Author SHA1 Message Date
libingyang
ddf43f1d7a doc: Fix Spelling Error of Rados Deployment/Operations
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
2018-08-27 13:59:43 +08:00
Kefu Chai
d16e584688
Merge pull request #23688 from tchaikov/wip-monclient-sub
mon/MonClient: extract MonSub out

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-27 10:19:49 +08:00
Mykola Golub
2e66c9287a
Merge pull request #23736 from dillaman/wip-librbd-gmock
test/librbd: fix gmock warning in snapshot rollback test

Reviewed-by: songweibin <song.weibin@zte.com.cn>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-08-26 10:13:29 +03:00
Patrick Donnelly
204771b2ac
Merge PR #23088 into master
* refs/pull/23088/head:
	mds: adjust export size after renaming directory into freezing subtree
	mds: clear scatterlock's flushed when removing dirty
	mds: export subtree part by part
	mds: change default mds_max_export_size to 20M
	mds: limit total size of exporting subtrees
	mds: optimize the way how max export size is enforced
	mds: make CInode::get_dirfrags container agnostic
	mds: cleanup MutationImpl::More initialization

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-25 13:14:09 -07:00
Patrick Donnelly
b53cc45b7f
Merge PR #23548 into master
* refs/pull/23548/head:
	mds: migrate strays part by part when shutdown mds

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-25 13:14:04 -07:00
Patrick Donnelly
3aa392ca73
Merge PR #23439 into master
* refs/pull/23439/head:
	qa: whitelist cap revoke warning
	doc: document cap revoke non-responders client eviction
	test: validate client eviction for cap revoke non-responders
	mds: add counter for tracking cap non-responding clients
	mds: evict clients that do not respond to cap revoke by MDS
	mds: pass timeout argument for fetching late clients

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-25 13:04:58 -07:00
Patrick Donnelly
a5228b5111
Merge PR #23413 into master
* refs/pull/23413/head:
	mds: fix premature stop of MDBalancer::try_rebalance()
	mds: don't queue straydir for split

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-25 12:57:03 -07:00
Patrick Donnelly
5228eb52dd
Merge PR #23469 into master
* refs/pull/23469/head:
	mds: access last std::vector element with `back()`
	mds: disallow certain file operations to "." and ".." dirents

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-25 12:55:31 -07:00
Patrick Donnelly
4699cec388
Merge PR #23656 into master
* refs/pull/23656/head:
	build/ops: rpm: package cephfs-shell for SUSE as well as Fedora

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-25 12:52:09 -07:00
Patrick Donnelly
bc05936309
Merge PR #23640 into master
* refs/pull/23640/head:
	mds: use monotonic waits in Beacon

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-08-25 12:50:43 -07:00
Patrick Donnelly
34ae8c0327
githubmap: update contributors
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-25 12:50:42 -07:00
Patrick Donnelly
4367de377e
qa: whitelist cap revoke warning
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-25 12:42:26 -07:00
Jason Dillaman
c1117e1cfc
Merge pull request #23605 from zy751713126/add_rbd_read2_pybind
pybind/rbd: add allow_shrink=True as a parameter to def resize

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-25 08:33:01 -04:00
Jason Dillaman
36e460fef4
Merge pull request #23707 from trociny/wip-get_modify_timestamp-mock-warns
test/librbd: fix gmock warnings for get_modify_timestamp call

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-25 08:32:31 -04:00
Jos Collin
22586c6f15
Merge pull request #23730 from tspmelo/wip-table-fieldset
mgr/dashboard: Remove fieldsets when using CdTable

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-08-25 11:42:56 +05:30
Kefu Chai
4eb23af17c
Merge pull request #23709 from tchaikov/wip-monmap-const
mon/MonMap: add more const'ness to its methods

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-08-25 11:40:42 +08:00
Kefu Chai
8a244ac10a
Merge pull request #23683 from thinkercui/bugfix-load-gen
tools/rados: fix the unit of target-throughput

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-25 11:39:18 +08:00
Kefu Chai
dab460e742
Merge pull request #23682 from profihost/master
mgr/balancer: deepcopy best plan - otherwise we get latest

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-25 11:38:25 +08:00
Xie Xingguo
2dc05eb3d8
Merge pull request #23705 from chenzhua/master
doc: fix typo and format issues in quick start documentation

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-25 11:19:29 +08:00
Jesse Williamson
7e1b05c5a6
Merge pull request #23732 from tchaikov/wip-cmake-libradosstriper
cmake: add option WITH_LIBRADOSSTRIPER
2018-08-24 15:07:30 -07:00
Andrew Schoen
e54921eb4e
Merge pull request #23731 from ceph/wip-rm24553
ceph-volume  expand auto engine for multiple devices on filestore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 15:50:32 -04:00
Andrew Schoen
cd63fb0df1 ceph-volume: reset sys_info.devices in the device_info fixture
In certain environments it was noticed that when running the full test
suite sys_info.devices would get populated correctly from previous
tests. This caused the tests to fail because they did not have the
expected mock data.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 15:38:14 -04:00
Kefu Chai
9497775cb4 tools/rados: include acconfig.h for picking up WITH_LIBRADOSSTRIPER
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-25 00:44:07 +08:00
Jason Dillaman
b186ba7061 test/librbd: fix gmock warning in snapshot rollback test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-08-24 12:33:47 -04:00
Kefu Chai
6ef3ac9c27
Merge pull request #23727 from libingyang-zte/master
doc: Spelling fixes in Network config reference

Reviewed-by: Luo Kexue <luo.kexue@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-25 00:09:34 +08:00
Alfredo Deza
494ece3099 ceph-volume tests check uuid_name when creating an lv
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 11:18:03 -04:00
Alfredo Deza
997d922bbd ceph-volume tests add verifications for create_vg helper
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 11:18:03 -04:00
Alfredo Deza
fb1e1c61bd ceph-volume tests add verifications for extend_vg helper
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 11:18:03 -04:00
Alfredo Deza
ebbb571d2f ceph-volume lvm.batch update module to use Device object on strategy detection
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 11:18:03 -04:00
Kefu Chai
e17900d552 cmake: add option WITH_LIBRADOSSTRIPER
otherwise this cmake variable is never defined, hence all tests
requiring libstriper are broken.

this is a regresssion introduced by 5513a90c62 .

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-24 22:33:08 +08:00
Alfredo Deza
369bb740a0 ceph-volume lvm.batch.filestore use new Device objects
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:05 -04:00
Alfredo Deza
c6f4e107a1 ceph-volume lvm.batch.bluestore use new Device objects
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:05 -04:00
Alfredo Deza
649903bdab ceph-volume tests.util verify ValidDevice validator
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:05 -04:00
Alfredo Deza
57f76e36ab ceph-volume util.templates allow more space for long paths
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:05 -04:00
Alfredo Deza
e4902ced1b ceph-volume lvm.strategies create mixed type filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:05 -04:00
Alfredo Deza
f67732cd9f ceph-volume lvm.batch add new strategy validators for LVM devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:04 -04:00
Alfredo Deza
5be2794b7f ceph-volume util add a new Device class validator for args
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:04 -04:00
Alfredo Deza
d74ce8e54d ceph-volume lvm.batch use new Device class and validator
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:04 -04:00
Alfredo Deza
21df602949 ceph-volume api.lvm new utility to extend a volume group for one or more devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:04 -04:00
Alfredo Deza
0283164142 ceph-volume api.lvm allow uuid suffixes in vg/lv creation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:04 -04:00
Andrew Schoen
d1b929395b ceph-volume: allow lvm zap to zap many devices at once
Supports passing many devices, partitions or lvs to
ceph-volume lvm zap.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 10:18:04 -04:00
Alfredo Deza
447be1c9cc ceph-volume devices.lvm zap should skip when lv_uuid doesn't exist
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:04 -04:00
Andrew Schoen
9b4f9471ed ceph-volume: device.Device should ignore pvs with no vg_name
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 10:18:04 -04:00
Andrew Schoen
947266e16a ceph-volume: tests for util.device.Device
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 10:18:04 -04:00
Andrew Schoen
035f1a4092 ceph-volume: adds sys_info constant to hold system information
This is only currently used to hold information about devices
from /sys/block in the util.Device class in the sys_api property.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 10:18:04 -04:00
Alfredo Deza
4f955a7e86 ceph-volume util create a device module for identifying devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:18:03 -04:00
Alfredo Deza
2f3a0b376f
Merge pull request #23697 from ceph/ceph-volume-testing
ceph-volume: run tests without waiting on ceph repos

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-08-24 10:16:57 -04:00
Andrew Schoen
2c88e70877 ceph-volume: retry when 'vagrant up' fails
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 09:27:05 -04:00
Andrew Schoen
6d712ef959 ceph-volume: run tests without waiting on ceph repos
This provides a new playbook that installs ceph on all nodes and
generates the ceph config. Then it will rsync ceph-volume from the
control node, or jenkins slave, to all testing vms before completing
the deployment. This means we can run tests on PRs without waiting
for repos to be built for the branch in the PR.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-08-24 09:20:57 -04:00
Tiago Melo
a33949b1d0 mgr/dashboard: Remove fieldsets when using CdTable
Fixes: https://tracker.ceph.com/issues/26999

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-24 12:05:44 +01:00