]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agodoc: fix spelling errors of cephfs 23745/head
Chen Zhenghua [Mon, 27 Aug 2018 02:56:24 +0000 (10:56 +0800)]
doc: fix spelling errors of cephfs

Signed-off-by: Chen Zhenghua <chen.zhenghua@zte.com.cn>
6 years agoMerge pull request #23736 from dillaman/wip-librbd-gmock
Mykola Golub [Sun, 26 Aug 2018 07:13:29 +0000 (10:13 +0300)]
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>
6 years agoMerge PR #23088 into master
Patrick Donnelly [Sat, 25 Aug 2018 20:14:09 +0000 (13:14 -0700)]
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>
6 years agoMerge PR #23548 into master
Patrick Donnelly [Sat, 25 Aug 2018 20:14:04 +0000 (13:14 -0700)]
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>
6 years agoMerge PR #23439 into master
Patrick Donnelly [Sat, 25 Aug 2018 20:04:43 +0000 (13:04 -0700)]
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>
6 years agoMerge PR #23413 into master
Patrick Donnelly [Sat, 25 Aug 2018 19:57:03 +0000 (12:57 -0700)]
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>
6 years agoMerge PR #23469 into master
Patrick Donnelly [Sat, 25 Aug 2018 19:55:19 +0000 (12:55 -0700)]
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>
6 years agoMerge PR #23656 into master
Patrick Donnelly [Sat, 25 Aug 2018 19:52:09 +0000 (12:52 -0700)]
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>
6 years agoMerge PR #23640 into master
Patrick Donnelly [Sat, 25 Aug 2018 19:50:43 +0000 (12:50 -0700)]
Merge PR #23640 into master

* refs/pull/23640/head:
mds: use monotonic waits in Beacon

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
6 years agogithubmap: update contributors
Patrick Donnelly [Sat, 25 Aug 2018 19:50:42 +0000 (12:50 -0700)]
githubmap: update contributors

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa: whitelist cap revoke warning 23439/head
Patrick Donnelly [Sat, 25 Aug 2018 19:42:26 +0000 (12:42 -0700)]
qa: whitelist cap revoke warning

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23605 from zy751713126/add_rbd_read2_pybind
Jason Dillaman [Sat, 25 Aug 2018 12:33:01 +0000 (08:33 -0400)]
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>
6 years agoMerge pull request #23707 from trociny/wip-get_modify_timestamp-mock-warns
Jason Dillaman [Sat, 25 Aug 2018 12:32:31 +0000 (08:32 -0400)]
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>
6 years agoMerge pull request #23730 from tspmelo/wip-table-fieldset
Jos Collin [Sat, 25 Aug 2018 06:12:56 +0000 (11:42 +0530)]
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>
6 years agoMerge pull request #23709 from tchaikov/wip-monmap-const
Kefu Chai [Sat, 25 Aug 2018 03:40:42 +0000 (11:40 +0800)]
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>
6 years agoMerge pull request #23683 from thinkercui/bugfix-load-gen
Kefu Chai [Sat, 25 Aug 2018 03:39:18 +0000 (11:39 +0800)]
Merge pull request #23683 from thinkercui/bugfix-load-gen

tools/rados: fix the unit of target-throughput

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23682 from profihost/master
Kefu Chai [Sat, 25 Aug 2018 03:38:25 +0000 (11:38 +0800)]
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>
6 years agoMerge pull request #23705 from chenzhua/master
Xie Xingguo [Sat, 25 Aug 2018 03:19:29 +0000 (11:19 +0800)]
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>
6 years agoMerge pull request #23732 from tchaikov/wip-cmake-libradosstriper
Jesse Williamson [Fri, 24 Aug 2018 22:07:30 +0000 (15:07 -0700)]
Merge pull request #23732 from tchaikov/wip-cmake-libradosstriper

cmake: add option WITH_LIBRADOSSTRIPER

6 years agoMerge pull request #23731 from ceph/wip-rm24553
Andrew Schoen [Fri, 24 Aug 2018 19:50:32 +0000 (15:50 -0400)]
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>
6 years agoceph-volume: reset sys_info.devices in the device_info fixture 23731/head
Andrew Schoen [Fri, 24 Aug 2018 19:38:14 +0000 (15:38 -0400)]
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>
6 years agotools/rados: include acconfig.h for picking up WITH_LIBRADOSSTRIPER 23732/head
Kefu Chai [Fri, 24 Aug 2018 16:43:29 +0000 (00:43 +0800)]
tools/rados: include acconfig.h for picking up WITH_LIBRADOSSTRIPER

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agotest/librbd: fix gmock warning in snapshot rollback test 23736/head
Jason Dillaman [Fri, 24 Aug 2018 16:33:47 +0000 (12:33 -0400)]
test/librbd: fix gmock warning in snapshot rollback test

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23727 from libingyang-zte/master
Kefu Chai [Fri, 24 Aug 2018 16:09:34 +0000 (00:09 +0800)]
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>
6 years agoceph-volume tests check uuid_name when creating an lv
Alfredo Deza [Thu, 23 Aug 2018 19:46:43 +0000 (15:46 -0400)]
ceph-volume tests check uuid_name when creating an lv

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests add verifications for create_vg helper
Alfredo Deza [Thu, 23 Aug 2018 19:40:34 +0000 (15:40 -0400)]
ceph-volume tests add verifications for create_vg helper

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests add verifications for extend_vg helper
Alfredo Deza [Thu, 23 Aug 2018 19:27:42 +0000 (15:27 -0400)]
ceph-volume tests add verifications for extend_vg helper

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch update module to use Device object on strategy detection
Alfredo Deza [Thu, 23 Aug 2018 16:55:30 +0000 (12:55 -0400)]
ceph-volume lvm.batch update module to use Device object on strategy detection

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agocmake: add option WITH_LIBRADOSSTRIPER
Kefu Chai [Fri, 24 Aug 2018 14:33:01 +0000 (22:33 +0800)]
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>
6 years agoceph-volume lvm.batch.filestore use new Device objects
Alfredo Deza [Thu, 23 Aug 2018 14:56:09 +0000 (10:56 -0400)]
ceph-volume lvm.batch.filestore use new Device objects

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.bluestore use new Device objects
Alfredo Deza [Thu, 23 Aug 2018 14:55:56 +0000 (10:55 -0400)]
ceph-volume lvm.batch.bluestore use new Device objects

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.util verify ValidDevice validator
Alfredo Deza [Thu, 23 Aug 2018 14:31:16 +0000 (10:31 -0400)]
ceph-volume tests.util verify ValidDevice validator

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util.templates allow more space for long paths
Alfredo Deza [Thu, 23 Aug 2018 13:54:09 +0000 (09:54 -0400)]
ceph-volume util.templates allow more space for long paths

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.strategies create mixed type filestore
Alfredo Deza [Thu, 23 Aug 2018 13:53:37 +0000 (09:53 -0400)]
ceph-volume lvm.strategies create mixed type filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch add new strategy validators for LVM devices
Alfredo Deza [Thu, 23 Aug 2018 13:14:08 +0000 (09:14 -0400)]
ceph-volume lvm.batch add new strategy validators for LVM devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util add a new Device class validator for args
Alfredo Deza [Thu, 23 Aug 2018 13:13:28 +0000 (09:13 -0400)]
ceph-volume util add a new Device class validator for args

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch use new Device class and validator
Alfredo Deza [Thu, 23 Aug 2018 13:12:41 +0000 (09:12 -0400)]
ceph-volume lvm.batch use new Device class and validator

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume api.lvm new utility to extend a volume group for one or more devices
Alfredo Deza [Thu, 23 Aug 2018 12:35:02 +0000 (08:35 -0400)]
ceph-volume api.lvm new utility to extend a volume group for one or more devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume api.lvm allow uuid suffixes in vg/lv creation
Alfredo Deza [Thu, 23 Aug 2018 12:34:28 +0000 (08:34 -0400)]
ceph-volume api.lvm allow uuid suffixes in vg/lv creation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume: allow `lvm zap` to zap many devices at once
Andrew Schoen [Tue, 21 Aug 2018 18:07:55 +0000 (14:07 -0400)]
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>
6 years agoceph-volume devices.lvm zap should skip when lv_uuid doesn't exist
Alfredo Deza [Tue, 21 Aug 2018 14:58:44 +0000 (10:58 -0400)]
ceph-volume devices.lvm zap should skip when lv_uuid doesn't exist

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume: device.Device should ignore pvs with no vg_name
Andrew Schoen [Tue, 21 Aug 2018 17:13:08 +0000 (13:13 -0400)]
ceph-volume: device.Device should ignore pvs with no vg_name

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: tests for util.device.Device
Andrew Schoen [Tue, 21 Aug 2018 15:15:33 +0000 (11:15 -0400)]
ceph-volume: tests for util.device.Device

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: adds sys_info constant to hold system information
Andrew Schoen [Thu, 16 Aug 2018 20:10:30 +0000 (15:10 -0500)]
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>
6 years agoceph-volume util create a device module for identifying devices
Alfredo Deza [Wed, 15 Aug 2018 19:49:29 +0000 (15:49 -0400)]
ceph-volume util create a device module for identifying devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23697 from ceph/ceph-volume-testing
Alfredo Deza [Fri, 24 Aug 2018 14:16:57 +0000 (10:16 -0400)]
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>
6 years agoceph-volume: retry when 'vagrant up' fails 23697/head
Andrew Schoen [Wed, 22 Aug 2018 20:37:46 +0000 (16:37 -0400)]
ceph-volume: retry when 'vagrant up' fails

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: run tests without waiting on ceph repos
Andrew Schoen [Wed, 22 Aug 2018 18:40:41 +0000 (14:40 -0400)]
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>
6 years agomgr/dashboard: Remove fieldsets when using CdTable 23730/head
Tiago Melo [Fri, 24 Aug 2018 11:04:00 +0000 (12:04 +0100)]
mgr/dashboard: Remove fieldsets when using CdTable

Fixes: https://tracker.ceph.com/issues/26999
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agodoc: Spelling fixes in Network config reference 23727/head
libingyang [Fri, 24 Aug 2018 07:38:22 +0000 (15:38 +0800)]
doc: Spelling fixes in Network config reference

Signed-off-by: libingyang <li.bingyang1@zte.com.cn>
6 years agoMerge pull request #23719 from bstillwell/config-doc-fixes
Kefu Chai [Fri, 24 Aug 2018 06:15:58 +0000 (14:15 +0800)]
Merge pull request #23719 from bstillwell/config-doc-fixes

doc: Fixed spelling errors in configuration section

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23724 from cyx1231st/test-config
Kefu Chai [Fri, 24 Aug 2018 04:44:09 +0000 (12:44 +0800)]
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>
6 years agotest: fix compile error in test/crimson/test_config.cc 23724/head
Yingxin [Fri, 24 Aug 2018 09:23:56 +0000 (17:23 +0800)]
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>
6 years agoMerge pull request #23690 from dongbula/add-comment-in-reg-next-scrub
Xie Xingguo [Fri, 24 Aug 2018 03:28:02 +0000 (11:28 +0800)]
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>
6 years agoMerge pull request #23692 from tchaikov/wip-silence-gcc-warnings
Kefu Chai [Fri, 24 Aug 2018 02:30:40 +0000 (10:30 +0800)]
Merge pull request #23692 from tchaikov/wip-silence-gcc-warnings

test,common: silence GCC warnings

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoosd: add comment when pg reg next scrub 23690/head
lvshuhua [Wed, 22 Aug 2018 12:12:05 +0000 (20:12 +0800)]
osd: add comment when pg reg next scrub

Signed-off-by: lvshuhua <lvshuhua@cmss.chinamobile.com>
6 years agoMerge pull request #23715 from bstillwell/bluestore-doc-fixes
Xie Xingguo [Fri, 24 Aug 2018 00:35:23 +0000 (08:35 +0800)]
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>
6 years agoMerge pull request #23711 from tspmelo/wip-26999
Jos Collin [Thu, 23 Aug 2018 23:55:15 +0000 (05:25 +0530)]
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>
6 years agoMerge pull request #23698 from badone/wip-mark-jewel-EOL
Brad Hubbard [Thu, 23 Aug 2018 23:15:47 +0000 (09:15 +1000)]
Merge pull request #23698 from badone/wip-mark-jewel-EOL

doc/releases: Mark Jewel EOL

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agodoc: Fixed spelling errors in configuration section 23719/head
Bryan Stillwell [Thu, 23 Aug 2018 22:17:08 +0000 (16:17 -0600)]
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>
6 years agodoc: Spelling fixes in BlueStore config reference 23715/head
Bryan Stillwell [Thu, 23 Aug 2018 21:05:05 +0000 (15:05 -0600)]
doc: Spelling fixes in BlueStore config reference

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
6 years agoMerge pull request #23376 from dzafman/wip-25108
David Zafman [Thu, 23 Aug 2018 20:23:55 +0000 (13:23 -0700)]
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>
6 years agoMerge pull request #23518 from dzafman/wip-25084
Josh Durgin [Thu, 23 Aug 2018 18:39:05 +0000 (11:39 -0700)]
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>
6 years agotest: Update tests for error message changes 23376/head
David Zafman [Thu, 16 Aug 2018 22:31:53 +0000 (15:31 -0700)]
test: Update tests for error message changes

Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoosd: Use colon to separate error message from other info
David Zafman [Thu, 16 Aug 2018 22:24:11 +0000 (15:24 -0700)]
osd: Use colon to separate error message from other info

Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoqa: Add new message to whitelist for scrub/repair tests
David Zafman [Mon, 6 Aug 2018 17:37:04 +0000 (10:37 -0700)]
qa: Add new message to whitelist for scrub/repair tests

Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agotest: Verify cluster logging of scrub error messages
David Zafman [Fri, 3 Aug 2018 20:47:30 +0000 (13:47 -0700)]
test: Verify cluster logging of scrub error messages

Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoosd: Log shard errors in be_select_auth_object() as other errors
David Zafman [Wed, 1 Aug 2018 22:13:40 +0000 (15:13 -0700)]
osd: Log shard errors in be_select_auth_object() as other errors

Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoosd: Move object error check out of be_select_auth_object()
David Zafman [Wed, 1 Aug 2018 00:53:17 +0000 (17:53 -0700)]
osd: Move object error check out of be_select_auth_object()

Fixes: http://tracker.ceph.com/issues/25108
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoMerge pull request #23708 from tchaikov/wip-sudo-sysctl
Dan Mick [Thu, 23 Aug 2018 17:59:10 +0000 (10:59 -0700)]
Merge pull request #23708 from tchaikov/wip-sudo-sysctl

run-make-check: should use sudo for running sysctl

6 years agoMerge pull request #23695 from dzafman/wip-27056
David Zafman [Thu, 23 Aug 2018 17:45:03 +0000 (10:45 -0700)]
Merge pull request #23695 from dzafman/wip-27056

test: Use pids instead of jobspecs which were wrong

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agotest: silence -Wsign-compare warnings 23692/head
Kefu Chai [Mon, 20 Aug 2018 17:27:30 +0000 (01:27 +0800)]
test: silence -Wsign-compare warnings

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agotest,common: silence -Wunused-variable warnings
Kefu Chai [Wed, 22 Aug 2018 13:45:41 +0000 (21:45 +0800)]
test,common: silence -Wunused-variable warnings

if compiled with -NDEBUG, assert() is optimised out.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Fix growing table in firefox 23711/head
Tiago Melo [Thu, 23 Aug 2018 13:34:25 +0000 (14:34 +0100)]
mgr/dashboard: Fix growing table in firefox

It seems Firefox 52 has some kind of problem when
rendering our table inside a fieldset.

Since we don't really require the fieldset in the monitor page,
I have removed it to "fix" this problem.

Fixes: http://tracker.ceph.com/issues/26999
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomon/MonMap: add more const'ness to its methods 23709/head
Kefu Chai [Thu, 23 Aug 2018 11:59:55 +0000 (19:59 +0800)]
mon/MonMap: add more const'ness to its methods

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agorun-make-check: should use sudo for running sysctl 23708/head
Kefu Chai [Thu, 23 Aug 2018 11:45:46 +0000 (19:45 +0800)]
run-make-check: should use sudo for running sysctl

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agotest/librbd: fix gmock warnings for get_modify_timestamp call 23707/head
Mykola Golub [Thu, 23 Aug 2018 11:37:04 +0000 (14:37 +0300)]
test/librbd: fix gmock warnings for get_modify_timestamp call

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #23667 from thinkercui/bugfix
Kefu Chai [Thu, 23 Aug 2018 11:29:40 +0000 (19:29 +0800)]
Merge pull request #23667 from thinkercui/bugfix

tools/rados: correct the read offset of bench

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23664 from zy751713126/delete_redundant_code
Kefu Chai [Thu, 23 Aug 2018 11:29:14 +0000 (19:29 +0800)]
Merge pull request #23664 from zy751713126/delete_redundant_code

pybind/rbd: make the code more concise

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23648 from sakhinov/sakhinov-fix-bcrypt
Kefu Chai [Thu, 23 Aug 2018 11:25:32 +0000 (19:25 +0800)]
Merge pull request #23648 from sakhinov/sakhinov-fix-bcrypt

change ceph-mgr package depency from py-bcrypt to python2-bcrypt

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23647 from wjwithagen/wjw-fix-pidfile-err
Kefu Chai [Thu, 23 Aug 2018 11:24:49 +0000 (19:24 +0800)]
Merge pull request #23647 from wjwithagen/wjw-fix-pidfile-err

common: be more informative if set PID-file fails

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23643 from tchaikov/wip-cmake-dmclock
Kefu Chai [Thu, 23 Aug 2018 11:23:41 +0000 (19:23 +0800)]
Merge pull request #23643 from tchaikov/wip-cmake-dmclock

dmclock, cmake: sync up with ceph/dmclock, dmclock related cleanups

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoMerge pull request #23624 from david-z/wip-fix-mgr-fs-status
Kefu Chai [Thu, 23 Aug 2018 11:22:50 +0000 (19:22 +0800)]
Merge pull request #23624 from david-z/wip-fix-mgr-fs-status

mgr/status: Add standby-replay MDS ceph version

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #23576 from ifed01/wip-ifed-fix-perf-counters
Kefu Chai [Thu, 23 Aug 2018 11:22:12 +0000 (19:22 +0800)]
Merge pull request #23576 from ifed01/wip-ifed-fix-perf-counters

os/bluestore: bluestore_buffer_hit_bytes perf counter doesn't reset

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #21983 from chardan/jfw-wip-libradosstriper_ultimate-final-battle
Kefu Chai [Thu, 23 Aug 2018 11:20:16 +0000 (19:20 +0800)]
Merge pull request #21983 from chardan/jfw-wip-libradosstriper_ultimate-final-battle

libradosstriper: conditional compile

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: fix typo and format issues in quick start documentation 23705/head
Chen Zhenghua [Thu, 23 Aug 2018 09:24:07 +0000 (17:24 +0800)]
doc: fix typo and format issues in quick start documentation

Signed-off-by: Chen Zhenghua <chen.zhenghua@zte.com.cn>
6 years agopybind/rbd: add allow_shrink=True as a parameter to def resize(self, size) method 23605/head
zhengyin [Thu, 16 Aug 2018 11:31:43 +0000 (19:31 +0800)]
pybind/rbd: add allow_shrink=True as a parameter to def resize(self, size) method

resize(size, allow_shrink) has allow_shrink param, if allow_shrink=false
and old_size > new size, it will raise error.

Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
6 years agoMerge pull request #23689 from tchaikov/wip-run-make-check-more-aio
Kefu Chai [Thu, 23 Aug 2018 02:10:29 +0000 (10:10 +0800)]
Merge pull request #23689 from tchaikov/wip-run-make-check-more-aio

run-make-check: increase fs.aio-max-nr to 1048576

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
6 years agodoc/releases: Mark Jewel EOL 23698/head
Brad Hubbard [Wed, 22 Aug 2018 22:45:22 +0000 (08:45 +1000)]
doc/releases: Mark Jewel EOL

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agotest: Use pids instead of jobspecs which were wrong 23695/head
David Zafman [Thu, 16 Aug 2018 21:30:09 +0000 (14:30 -0700)]
test: Use pids instead of jobspecs which were wrong

Fixes: http://tracker.ceph.com/issues/27056
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoMerge pull request #23675 from tserlin/tserlin-require-fuse
Kefu Chai [Wed, 22 Aug 2018 13:18:21 +0000 (21:18 +0800)]
Merge pull request #23675 from tserlin/tserlin-require-fuse

debian/control: require fuse for ceph-fuse

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23655 from tchaikov/wip-silence-Wsign-compare-warnings
Kefu Chai [Wed, 22 Aug 2018 13:17:19 +0000 (21:17 +0800)]
Merge pull request #23655 from tchaikov/wip-silence-Wsign-compare-warnings

test: silence -Wsign-compare warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agorun-make-check: increase fs.aio-max-nr to 1048576 23689/head
Kefu Chai [Wed, 22 Aug 2018 11:49:57 +0000 (19:49 +0800)]
run-make-check: increase fs.aio-max-nr to 1048576

the solution was suggested by Yingxin Cheng. otherwise we could have
EAGAIN returned by io_setup(2).

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23630 from wjwithagen/wjw-fix-rbd-ggate-kldload
Mykola Golub [Wed, 22 Aug 2018 11:45:07 +0000 (14:45 +0300)]
Merge pull request #23630 from wjwithagen/wjw-fix-rbd-ggate-kldload

test/rbd: rbd_ggate test improvements

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #23684 from tchaikov/wip-doc-balancer
Kefu Chai [Wed, 22 Aug 2018 10:50:54 +0000 (18:50 +0800)]
Merge pull request #23684 from tchaikov/wip-doc-balancer

doc/rados/operations: add balancer.rst to TOC

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agodoc/rados/operations: add balancer.rst to TOC 23684/head
Kefu Chai [Wed, 22 Aug 2018 08:06:18 +0000 (16:06 +0800)]
doc/rados/operations: add balancer.rst to TOC

this helps user to find the balancer feature, and
also addresses the FTBFS of doc like

Warning, treated as error:
/home/jenkins-build/build/workspace/ceph-pr-docs/doc/rados/operations/balancer.rst:document
isn't included in any toctree

this doc was moved from doc/mgr/balancer.rst to
doc/rados/operations/balancer.rst in
a78d600e6b368255096d6f0bbee8e53553307118

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23642 from tchaikov/wip-crimson-msgr
Kefu Chai [Wed, 22 Aug 2018 08:00:14 +0000 (16:00 +0800)]
Merge pull request #23642 from tchaikov/wip-crimson-msgr

cmake,crimson/net: add keepalive support, and enable unittest_seastar_messenger in "make check"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agomgr: balancer: deepcopy best plan - otherwise we get latest 23682/head
Stefan Priebe [Wed, 22 Aug 2018 06:33:04 +0000 (08:33 +0200)]
mgr: balancer: deepcopy best plan - otherwise we get latest

Fixes: http://tracker.ceph.com/issues/27000
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
6 years agotools/rados: fix the unit of target-throughput 23683/head
cuixf [Wed, 22 Aug 2018 06:30:53 +0000 (14:30 +0800)]
tools/rados: fix the unit of target-throughput

Make the unit of target-throughtput in bytes as the usage of rados load-gen said.

Signed-off-by: Xiaofei Cui <cuixiaofei@sangfor.com.cn>
6 years agotest/mon: no need to include OSD.h 23643/head
Kefu Chai [Mon, 20 Aug 2018 17:00:58 +0000 (01:00 +0800)]
test/mon: no need to include OSD.h

what it needs is the definition of `struct statfs`.

Signed-off-by: Kefu Chai <kchai@redhat.com>