Commit Graph

89746 Commits

Author SHA1 Message Date
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
huangjun
da45e4e352 osd/OSDMap: don't mapping all pgs each time in calc_pg_upmaps
We have a cluster pool with 32768 pgs and 400 osds, it costs 600 seconds when doing upmap
with '--upmap-max 32768 --upmap-deviation 0.01', which is pretty slow.
After adding some debug code, the time mostly spent on pg_to_up_acting_osds, the average
time for one pg_to_up_acting_osds is about 12us, so the whole pool's pg will cost 500ms each
time, we finally have 1429 pgs need to do upmap, so it cost about 600 seconds.
Withi this patch, it only spend 5 seconds to get job done.

Signed-off-by: huangjun <huangjun@xsky.com>
2018-08-25 09:53:21 +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
libingyang
217c78d002 doc: Spelling fixes in Network config reference
Signed-off-by: libingyang <li.bingyang1@zte.com.cn>
2018-08-24 15:49:51 +08:00
Kefu Chai
9bef451aa7
Merge pull request #23719 from bstillwell/config-doc-fixes
doc: Fixed spelling errors in configuration section

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-24 14:15:58 +08:00
Kefu Chai
3c4d903409
Merge pull request #23724 from cyx1231st/test-config
test: fix compile error in test/crimson/test_config.cc

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-24 12:44:09 +08:00
Yingxin
72c5df8cc6 test: fix compile error in test/crimson/test_config.cc
Change to use ceph::md_config_obs_impl.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-08-24 17:40:31 +08:00
Xie Xingguo
454088cccf
Merge pull request #23690 from dongbula/add-comment-in-reg-next-scrub
osd: add log when pg reg next scrub

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-24 11:28:02 +08:00
Kefu Chai
3fbfd2e62b
Merge pull request #23692 from tchaikov/wip-silence-gcc-warnings
test,common: silence GCC warnings

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2018-08-24 10:30:40 +08:00
lvshuhua
7888143093 osd: add comment when pg reg next scrub
Signed-off-by: lvshuhua <lvshuhua@cmss.chinamobile.com>
2018-08-24 08:59:29 +08:00
Xie Xingguo
13b9758044
Merge pull request #23715 from bstillwell/bluestore-doc-fixes
doc: Spelling fixes in BlueStore config reference

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-24 08:35:23 +08:00
Jos Collin
e2b739adac
Merge pull request #23711 from tspmelo/wip-26999
mgr/dashboard: Fix growing table in firefox

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-08-24 05:28:50 +05:30
Brad Hubbard
0758fb474b
Merge pull request #23698 from badone/wip-mark-jewel-EOL
doc/releases: Mark Jewel EOL

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-08-24 09:15:47 +10:00
Bryan Stillwell
2e98517d36 doc: Fixed spelling errors in configuration section
Correct a number of spelling mistakes and word omissions in the cluster
configuration section of the docs.

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
2018-08-23 16:17:08 -06:00
Bryan Stillwell
41ae1d2ecd doc: Spelling fixes in BlueStore config reference
Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
2018-08-23 15:05:05 -06:00
David Zafman
b0d2c64d6b
Merge pull request #23376 from dzafman/wip-25108
object errors found in be_select_auth_object() aren't logged the same

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-23 13:23:55 -07:00
Josh Durgin
cc41b51c6a
Merge pull request #23518 from dzafman/wip-25084
osd: When possible check CRC in build_push_op() so repair can eventually stop

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-08-23 11:39:05 -07:00