]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agorbd: 'trash list --long' will return a failure on non-cloned images 19540/head
Jason Dillaman [Fri, 15 Dec 2017 00:04:33 +0000 (19:04 -0500)]
rbd: 'trash list --long' will return a failure on non-cloned images

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19477 from wido/mgr-int-json
Alfredo Deza [Thu, 14 Dec 2017 23:01:46 +0000 (18:01 -0500)]
Merge pull request #19477 from wido/mgr-int-json

ceph-volume: Try to cast OSD metadata to int while scanning directory

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19516 from tchaikov/wip-install-deps
Kefu Chai [Thu, 14 Dec 2017 16:02:39 +0000 (00:02 +0800)]
Merge pull request #19516 from tchaikov/wip-install-deps

install-deps.sh: use tee for writing a file

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoMerge pull request #19517 from qrGitHub/wip-rgw-typo-signle
Jos Collin [Thu, 14 Dec 2017 12:08:26 +0000 (12:08 +0000)]
Merge pull request #19517 from qrGitHub/wip-rgw-typo-signle

rgw: fix typo signle to single

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #18716 from shinobu-x/sk-mgr_daemonserver
John Spray [Thu, 14 Dec 2017 11:38:00 +0000 (11:38 +0000)]
Merge pull request #18716 from shinobu-x/sk-mgr_daemonserver

mgr/DaemonServer: [Cleanup] Remove redundant code

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agorgw: fix typo signle to single 19517/head
Bingyin Zhang [Thu, 14 Dec 2017 11:21:38 +0000 (19:21 +0800)]
rgw: fix typo signle to single

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agoinstall-deps.sh: use tee for writing a file 19516/head
Kefu Chai [Thu, 14 Dec 2017 11:06:51 +0000 (19:06 +0800)]
install-deps.sh: use tee for writing a file

because the stdout redirect is performed by current shell not `$SUDO
cat`, so $SUDO does not help here. use `$SUDO tee` instead, which is
able to read the stdin and write to the given file just as expected.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19492 from dillaman/wip-rbd-mirror-dashboard
Mykola Golub [Thu, 14 Dec 2017 11:05:59 +0000 (13:05 +0200)]
Merge pull request #19492 from dillaman/wip-rbd-mirror-dashboard

rbd-mirror: ensure unique service daemon name is utilized

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19470 from tchaikov/wip-async-dpdk
Kefu Chai [Thu, 14 Dec 2017 02:44:58 +0000 (10:44 +0800)]
Merge pull request #19470 from tchaikov/wip-async-dpdk

msg/async: update to work with dpdk shipped with spdk v17.10

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #19466 from shinobu-x/super_redundant_public_label
Sage Weil [Thu, 14 Dec 2017 02:36:37 +0000 (20:36 -0600)]
Merge pull request #19466 from shinobu-x/super_redundant_public_label

osdc: Remove a bit too redundant public label...

7 years agoMerge pull request #19494 from smithfarm/wip-22362
Sage Weil [Thu, 14 Dec 2017 02:33:15 +0000 (20:33 -0600)]
Merge pull request #19494 from smithfarm/wip-22362

build/ops: rpm: set permissions 0755 on rbd resource agent

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19495 from ZVampirEM77/wip-em-pg-cleanup2
Sage Weil [Thu, 14 Dec 2017 02:32:40 +0000 (20:32 -0600)]
Merge pull request #19495 from ZVampirEM77/wip-em-pg-cleanup2

osd/PrimaryLogPG: cleanup do_sub_op && do_sub_op_reply and define soid in prepare_transaction more appropriate

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19425 from kungf/calc_replicated_acting
Yuri Weinstein [Wed, 13 Dec 2017 23:39:56 +0000 (15:39 -0800)]
Merge pull request #19425 from kungf/calc_replicated_acting

osd: reduce all_info map find to get primary

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
7 years agoMerge pull request #17691 from amitkumar50/cov-osd-3
Yuri Weinstein [Wed, 13 Dec 2017 23:37:20 +0000 (15:37 -0800)]
Merge pull request #17691 from amitkumar50/cov-osd-3

osd: Initialization of data members

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #19033 from david-z/wip-fix-fusestore-df
Yuri Weinstein [Wed, 13 Dec 2017 23:36:28 +0000 (15:36 -0800)]
Merge pull request #19033 from david-z/wip-fix-fusestore-df

os/FuseStore: fix incorrect used space statistics for fuse's statfs interface

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agobuild/ops: rpm: set permissions 0755 on rbd resource agent 19494/head
Nathan Cutler [Wed, 13 Dec 2017 17:15:27 +0000 (18:15 +0100)]
build/ops: rpm: set permissions 0755 on rbd resource agent

Fixes: http://tracker.ceph.com/issues/22362
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #19468 from tchaikov/wip-install-deps.sh
Kefu Chai [Wed, 13 Dec 2017 16:33:59 +0000 (00:33 +0800)]
Merge pull request #19468 from tchaikov/wip-install-deps.sh

install-deps.sh: avoid re-installing g++-7

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agomgr/dashboard: use unique instance id as daemon identifier 19492/head
Jason Dillaman [Thu, 30 Nov 2017 19:06:32 +0000 (14:06 -0500)]
mgr/dashboard: use unique instance id as daemon identifier

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agomgr/dashboard: utilize application metadata to detect RBD pools
Jason Dillaman [Thu, 30 Nov 2017 19:03:56 +0000 (14:03 -0500)]
mgr/dashboard: utilize application metadata to detect RBD pools

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: ensure each daemon instance uses a unique service name
Jason Dillaman [Thu, 30 Nov 2017 01:05:06 +0000 (20:05 -0500)]
rbd-mirror: ensure each daemon instance uses a unique service name

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoPrimaryLogPG: cleanup do_sub_op and do_sub_op_reply 19495/head
Enming Zhang [Wed, 13 Dec 2017 15:05:44 +0000 (23:05 +0800)]
PrimaryLogPG: cleanup do_sub_op and do_sub_op_reply

The related code has been cleaned in https://github.com/ceph/ceph/pull/17247,
but it seems something was missed.

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
7 years agoPrimaryLogPG: define soid just before using it
Enming Zhang [Wed, 13 Dec 2017 14:32:32 +0000 (22:32 +0800)]
PrimaryLogPG: define soid just before using it

Define the soid just before using it to avoid a redundant
definition if an error happens and function prepare_transaction
returns directly.

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
7 years agoMerge pull request #19453 from liewegas/wip-pg-primary
Sage Weil [Wed, 13 Dec 2017 14:22:30 +0000 (08:22 -0600)]
Merge pull request #19453 from liewegas/wip-pg-primary

osd/PG: include primary in PG operator<< for ec pools

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19478 from tchaikov/wip-silence-warnings
Kefu Chai [Wed, 13 Dec 2017 14:08:50 +0000 (22:08 +0800)]
Merge pull request #19478 from tchaikov/wip-silence-warnings

qa/standalone/ceph-helpers.sh: silence ceph-disk DEPRECATION_WARNING

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19404 from jan--f/mon-fix-digest-timer-inactive-paxos
Kefu Chai [Wed, 13 Dec 2017 12:34:29 +0000 (20:34 +0800)]
Merge pull request #19404 from jan--f/mon-fix-digest-timer-inactive-paxos

mon: reenable timer to send digest when paxos is temporarily inactive

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19366 from liewegas/wip-21557
Kefu Chai [Wed, 13 Dec 2017 12:02:10 +0000 (20:02 +0800)]
Merge pull request #19366 from liewegas/wip-21557

osd: more debugging for snapmapper bug

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19367 from wjwithagen/wip-wjw-clang-xlist-string
Kefu Chai [Wed, 13 Dec 2017 12:01:25 +0000 (20:01 +0800)]
Merge pull request #19367 from wjwithagen/wip-wjw-clang-xlist-string

include: xlist: Fix Clang error for missing string

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19365 from liewegas/wip-tell
Kefu Chai [Wed, 13 Dec 2017 11:58:41 +0000 (19:58 +0800)]
Merge pull request #19365 from liewegas/wip-tell

qa/tasks/ceph_manager: tolerate tell osd.* error

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19353 from shinobu-x/common_clock
Kefu Chai [Wed, 13 Dec 2017 11:57:56 +0000 (19:57 +0800)]
Merge pull request #19353 from shinobu-x/common_clock

common: Remove ceph_clock_gettime, extern keyword

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19352 from chardan/jfw-wip-issue-20811
Kefu Chai [Wed, 13 Dec 2017 11:53:42 +0000 (19:53 +0800)]
Merge pull request #19352 from chardan/jfw-wip-issue-20811

osd: migrate PGLOG_* macros to constexpr

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19329 from ZVampirEM77/cleanup-revise-have
Kefu Chai [Wed, 13 Dec 2017 11:52:48 +0000 (19:52 +0800)]
Merge pull request #19329 from ZVampirEM77/cleanup-revise-have

osd/PGLog: cleanup unused function revise_have

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19056 from adamemerson/wip-with-val
Kefu Chai [Wed, 13 Dec 2017 11:51:34 +0000 (19:51 +0800)]
Merge pull request #19056 from adamemerson/wip-with-val

common/config: use with_val() for better performance

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19114 from tchaikov/wip-rm-request-slow
John Spray [Wed, 13 Dec 2017 11:46:34 +0000 (11:46 +0000)]
Merge pull request #19114 from tchaikov/wip-rm-request-slow

mgr/PGMap: drop REQUEST_{SLOW,STUCK} HEALTH_WARNs

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoqa/standalone/ceph-helpers.sh: silence ceph-disk DEPRECATION_WARNING 19478/head
Kefu Chai [Wed, 13 Dec 2017 11:42:34 +0000 (19:42 +0800)]
qa/standalone/ceph-helpers.sh: silence ceph-disk DEPRECATION_WARNING

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19229 from wido/mgr-influx
John Spray [Wed, 13 Dec 2017 11:35:17 +0000 (11:35 +0000)]
Merge pull request #19229 from wido/mgr-influx

mgr/influx: PEP-8 and other fixes to Influx module

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoceph-volume: Try to cast OSD metadata to int while scanning directory 19477/head
Wido den Hollander [Wed, 13 Dec 2017 10:20:53 +0000 (11:20 +0100)]
ceph-volume: Try to cast OSD metadata to int while scanning directory

By doing so values like 'whoami' and 'bluefs' will be stored as a
integer in the resulting JSON rather then a String.

Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agoMerge pull request #19472 from qrGitHub/wip-rgw-typo-woild
Jos Collin [Wed, 13 Dec 2017 09:39:36 +0000 (09:39 +0000)]
Merge pull request #19472 from qrGitHub/wip-rgw-typo-woild

rgw: fix typo woild to would

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agorgw: correct typo woild to would 19472/head
Bingyin Zhang [Wed, 13 Dec 2017 07:56:13 +0000 (15:56 +0800)]
rgw: correct typo woild to would

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agomsg/async: update to work with dpdk shipped with spdk v17.10 19470/head
Kefu Chai [Wed, 13 Dec 2017 06:55:15 +0000 (14:55 +0800)]
msg/async: update to work with dpdk shipped with spdk v17.10

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: DPDK works w/o CRYPTOPP
Kefu Chai [Wed, 13 Dec 2017 06:54:17 +0000 (14:54 +0800)]
cmake: DPDK works w/o CRYPTOPP

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall-deps.sh: avoid re-installing g++-7 19468/head
Kefu Chai [Wed, 13 Dec 2017 06:22:39 +0000 (14:22 +0800)]
install-deps.sh: avoid re-installing g++-7

* add ubuntu-toolchain-r mirrors in case the ppa.launchpad.net is not
  accessible
* add ppa repo manually, it's faster than installing
  `software-properties-common` and then launch `add-apt-repository`
* hardwire $old to the gcc version shipped by the distro, simpler this
  way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosdc: Remove a bit too redundant public label... 19466/head
Shinobu Kinjo [Wed, 13 Dec 2017 05:59:22 +0000 (14:59 +0900)]
osdc: Remove a bit too redundant public label...

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
7 years agoMerge pull request #17651 from ceph/wip-ceph-deploy-upgrade
vasukulkarni [Wed, 13 Dec 2017 00:10:47 +0000 (16:10 -0800)]
Merge pull request #17651 from ceph/wip-ceph-deploy-upgrade

qa/tests: Wip ceph deploy upgrade

7 years agoMerge pull request #19144 from zhangsw/cleanup-rgwputobj-md5
Yuri Weinstein [Tue, 12 Dec 2017 16:28:43 +0000 (08:28 -0800)]
Merge pull request #19144 from zhangsw/cleanup-rgwputobj-md5

rgw: no need to deal with md5 header in get_data.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19167 from joke-lee/Bucket_Policy_SourceIp_Condition
Yuri Weinstein [Tue, 12 Dec 2017 16:28:25 +0000 (08:28 -0800)]
Merge pull request #19167 from joke-lee/Bucket_Policy_SourceIp_Condition

rgw: implement ipv4 aws:SourceIp condition for bucket policy

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19210 from Liuchang0812/rgw-camelcase
Yuri Weinstein [Tue, 12 Dec 2017 16:27:23 +0000 (08:27 -0800)]
Merge pull request #19210 from Liuchang0812/rgw-camelcase

 rgw: use camelcase format in request headers

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #19236 from dplyakin/get-website-error-code
Yuri Weinstein [Tue, 12 Dec 2017 16:26:32 +0000 (08:26 -0800)]
Merge pull request #19236 from dplyakin/get-website-error-code

rgw: fix GET website response error code

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19250 from qrGitHub/wip-rgw-unused-param2
Yuri Weinstein [Tue, 12 Dec 2017 16:25:54 +0000 (08:25 -0800)]
Merge pull request #19250 from qrGitHub/wip-rgw-unused-param2

rgw: remove unused param in AWSGeneralAbstractor::get_auth_data_v4

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge pull request #19390 from yaozongyou/remove-duplicated-include
Yuri Weinstein [Tue, 12 Dec 2017 16:25:17 +0000 (08:25 -0800)]
Merge pull request #19390 from yaozongyou/remove-duplicated-include

rgw,common: remove already included header files

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #19391 from qrGitHub/wip-rgw-memory-optimize
Yuri Weinstein [Tue, 12 Dec 2017 16:23:05 +0000 (08:23 -0800)]
Merge pull request #19391 from qrGitHub/wip-rgw-memory-optimize

rgw: optimize memory usage in function rgw_bucket::get_key

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19430 from tianshan/fix_recursive_lock
Yuri Weinstein [Tue, 12 Dec 2017 16:22:47 +0000 (08:22 -0800)]
Merge pull request #19430 from tianshan/fix_recursive_lock

rgw: fix recursive lock

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoosd/PG: include primary in PG operator<< for ec pools 19453/head
Sage Weil [Tue, 12 Dec 2017 15:22:37 +0000 (09:22 -0600)]
osd/PG: include primary in PG operator<< for ec pools

Otherwise it is confusing!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19418 from tchaikov/wip-gcc-7-on-xenial
Kefu Chai [Tue, 12 Dec 2017 15:15:35 +0000 (23:15 +0800)]
Merge pull request #19418 from tchaikov/wip-gcc-7-on-xenial

install-deps.sh, cmake: use GCC-7 on xenial also

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19402 from b-ranto/wip-fix-arm-build
Jason Dillaman [Tue, 12 Dec 2017 15:11:09 +0000 (10:11 -0500)]
Merge pull request #19402 from b-ranto/wip-fix-arm-build

test/librbd: Do not instantiate TrimRequest template class

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19437 from trociny/wip-mock-valgrind
Jason Dillaman [Tue, 12 Dec 2017 15:09:15 +0000 (10:09 -0500)]
Merge pull request #19437 from trociny/wip-mock-valgrind

test/rbd_mirror: "use of uninitialised value" valgrind warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19253 from oritwas/wip-rgw-22124
Yehuda Sadeh [Tue, 12 Dec 2017 12:14:41 +0000 (14:14 +0200)]
Merge pull request #19253 from oritwas/wip-rgw-22124

rgw: reshard should not update stats when linking new bucket instance

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge remote-tracking branch 'gh/mimic-dev1'
Sage Weil [Tue, 12 Dec 2017 04:27:35 +0000 (22:27 -0600)]
Merge remote-tracking branch 'gh/mimic-dev1'

7 years agoMerge pull request #19435 from smithfarm/wip-20559
Sage Weil [Tue, 12 Dec 2017 00:55:13 +0000 (18:55 -0600)]
Merge pull request #19435 from smithfarm/wip-20559

doc: globally change CRUSH ruleset to CRUSH rule

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agolibrbd: Do not instantiate TrimRequest template class 19402/head
Boris Ranto [Thu, 7 Dec 2017 23:21:38 +0000 (00:21 +0100)]
librbd: Do not instantiate TrimRequest template class

We include TrimRequest.cc in librbd tests at two places:
 - operation/test_mock_TrimRequest.cc
 - operation/test_mock_ResizeRequest.cc

That causes linking errors when doing the builds because some of the
instantiated classes are defined twice.

We can fix this by not instantiating the template class in the
TrimReqeust.cc file when including it in the tests.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agotest/rbd_mirror: "use of uninitialised value" valgrind warning 19437/head
Mykola Golub [Mon, 11 Dec 2017 20:56:40 +0000 (22:56 +0200)]
test/rbd_mirror: "use of uninitialised value" valgrind warning

The `on_call` context serves as a barrier and should be completed
after the `on_start_ctx` context is assigned.

The warning was observed sporadically e.g. by repeating
WaitingOnNonLeaderAcquireLeader test under valgrind.

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19191 from tchaikov/wip-mon-cleanup
Gregory Farnum [Mon, 11 Dec 2017 19:46:19 +0000 (11:46 -0800)]
Merge pull request #19191 from tchaikov/wip-mon-cleanup

mon: remove_is_write_ready()

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #17438 from mikulely/fix-mstop
Casey Bodley [Mon, 11 Dec 2017 19:11:06 +0000 (14:11 -0500)]
Merge pull request #17438 from mikulely/fix-mstop

vstart.sh: fix mstop.sh can not stop rgw

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agorgw: fix GET website response error code 19236/head
Dmitry Plyakin [Wed, 29 Nov 2017 13:03:02 +0000 (16:03 +0300)]
rgw: fix GET website response error code

Change NoSuchKey error code to NoSuchWebsiteConfiguration, when bucket doesn't have website configuration.

Fixes: http://tracker.ceph.com/issues/22272
Signed-off-by: Dmitry Plyakin <dplyakin@gmail.com>
7 years agocmake: link executables against ceph-common 19418/head
Kefu Chai [Sat, 9 Dec 2017 12:33:24 +0000 (20:33 +0800)]
cmake: link executables against ceph-common

so they can have access to libstdc++ if it is linked statically.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: add WITH_STATIC_LIBSTDCXX option
Kefu Chai [Sat, 9 Dec 2017 11:27:03 +0000 (19:27 +0800)]
cmake: add WITH_STATIC_LIBSTDCXX option

to link libceph-common with libstdc++ if it is enabled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #19432 into master
Patrick Donnelly [Mon, 11 Dec 2017 16:18:11 +0000 (08:18 -0800)]
Merge PR #19432 into master

* refs/pull/19432/head:
doc: correct the new fs allow opts

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agodoc: globally change CRUSH ruleset to CRUSH rule 19435/head
Nathan Cutler [Mon, 11 Dec 2017 16:09:25 +0000 (17:09 +0100)]
doc: globally change CRUSH ruleset to CRUSH rule

Since kraken, Ceph enforces a 1:1 correspondence between CRUSH ruleset and
CRUSH rule, so effectively ruleset and rule are the same thing, although
the term "ruleset" still survives - notably in the CRUSH rule itself, where it
effectively denotes the number of the rule.

This commit updates the documentation to more faithfully reflect the current
state of the code.

Fixes: http://tracker.ceph.com/issues/20559
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoinstall-deps.sh: use GCC-7 on xenial also
Kefu Chai [Sat, 9 Dec 2017 11:29:58 +0000 (19:29 +0800)]
install-deps.sh: use GCC-7 on xenial also

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19416 from trociny/wip-flatten-cleanup
Jason Dillaman [Mon, 11 Dec 2017 15:01:23 +0000 (10:01 -0500)]
Merge pull request #19416 from trociny/wip-flatten-cleanup

librbd: remove unused member in FlattenRequest

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agomgr/influx: Print (in debug) time it takes to send data to Influx 19229/head
Wido den Hollander [Mon, 11 Dec 2017 14:44:05 +0000 (15:44 +0100)]
mgr/influx: Print (in debug) time it takes to send data to Influx

On large clusters it might take a very long time to send data to Influx
due to the gathering and parsing of statistics.

By keeping a counter and printing it admins can adjust the interval if it
becomes to heavy for their cluster.

Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agomgr/influx: Revise configuration of module
Wido den Hollander [Mon, 11 Dec 2017 14:12:51 +0000 (15:12 +0100)]
mgr/influx: Revise configuration of module

It's a lot like the Zabbix module and allows for setting configuration
options on run-time and also fetch them from the module.

A few additional commands have been registered to make sure it is easy
to interact with the module.

Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agomgr/influx: Send fsid as a tag to Influx to identify cluster
Wido den Hollander [Wed, 29 Nov 2017 08:07:23 +0000 (09:07 +0100)]
mgr/influx: Send fsid as a tag to Influx to identify cluster

This allows for multiple Ceph clusters to send their data to the
same Influx database.

Using the fsid values for different clusters can be queried from
Influx

Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agomgr/influx: PEP-8 fixes to InfluxDB module
Wido den Hollander [Wed, 29 Nov 2017 07:18:35 +0000 (08:18 +0100)]
mgr/influx: PEP-8 fixes to InfluxDB module

The code now scores:

  Your code has been rated at 8.94/10

Various indentation fixes, whitespaces and other PEP-8 related changes

Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agodoc: correct the new fs allow opts 19432/head
Dan van der Ster [Mon, 11 Dec 2017 12:32:20 +0000 (13:32 +0100)]
doc: correct the new fs allow opts

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
7 years agorgw: fix recursive lock 19430/head
Tianshan Qu [Mon, 11 Dec 2017 11:48:00 +0000 (19:48 +0800)]
rgw: fix recursive lock

Signed-off-by: Tianshan Qu <tianshan@xsky.com>
7 years agoMerge pull request #19426 from tchaikov/wip-cmake
Kefu Chai [Mon, 11 Dec 2017 08:34:41 +0000 (16:34 +0800)]
Merge pull request #19426 from tchaikov/wip-cmake

cmake: disable FAIL_ON_WARNINGS for rocksdb

7 years agocmake: disable FAIL_ON_WARNINGS for rocksdb 19426/head
Kefu Chai [Sat, 9 Dec 2017 12:18:39 +0000 (20:18 +0800)]
cmake: disable FAIL_ON_WARNINGS for rocksdb

otherwise -Werror=implicit-fallthrough will fail the build with GCC-7

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd: reduce all_info map find to get primary 19425/head
kungf [Mon, 11 Dec 2017 03:00:18 +0000 (11:00 +0800)]
osd: reduce all_info map find to get primary

Signed-off-by: kungf <yang.wang@easystack.cn>
7 years agoMerge PR #19373 into master
Patrick Donnelly [Sun, 10 Dec 2017 00:34:24 +0000 (16:34 -0800)]
Merge PR #19373 into master

* refs/pull/19373/head:
client: drop duplicate friend

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19417 from tchaikov/wip-install-deps-gcc
Kefu Chai [Sat, 9 Dec 2017 16:38:59 +0000 (00:38 +0800)]
Merge pull request #19417 from tchaikov/wip-install-deps-gcc

install-deps.sh: install new gcc as the default the right way

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados: add missing openstack volumes
Sage Weil [Sat, 9 Dec 2017 16:20:19 +0000 (10:20 -0600)]
qa/suites/rados: add missing openstack volumes

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoinstall-deps.sh: install new gcc as the default the right way 19417/head
Kefu Chai [Sat, 9 Dec 2017 09:35:28 +0000 (17:35 +0800)]
install-deps.sh: install new gcc as the default the right way

* should install software-properties-common beforehand, otherwise
  the `add-apt-repository` command will not be available.
* the update-alternative commandline were copied from ceph-build,
  should remove the escape characters.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agolibrbd: remove unused member in FlattenRequest 19416/head
Mykola Golub [Sat, 9 Dec 2017 09:40:13 +0000 (11:40 +0200)]
librbd: remove unused member in FlattenRequest

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19398 from tchaikov/wip-install-deps-use-dts
Kefu Chai [Sat, 9 Dec 2017 03:51:33 +0000 (11:51 +0800)]
Merge pull request #19398 from tchaikov/wip-install-deps-use-dts

install-deps.sh: use DTS on centos if GCC is too old

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19368 from dzafman/wip-22086
David Zafman [Sat, 9 Dec 2017 03:37:45 +0000 (19:37 -0800)]
Merge pull request #19368 from dzafman/wip-22086

ceph-objectstore-tool: Add option "dump-import" to examine an export

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoceph.spec: use dts-7 on rhel 19398/head
Kefu Chai [Fri, 8 Dec 2017 12:02:06 +0000 (20:02 +0800)]
ceph.spec: use dts-7 on rhel

devtoolset-7 is available for RHEL, but not for centos. only dts-6 is
available for centos.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotest: ceph_objectstore_tool.py: Perform dump-import 19368/head
David Zafman [Sat, 9 Dec 2017 02:48:21 +0000 (18:48 -0800)]
test: ceph_objectstore_tool.py: Perform dump-import

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #19382 from rishabh-d-dave/docfix-ceph-osd-ls
Sage Weil [Sat, 9 Dec 2017 00:31:35 +0000 (18:31 -0600)]
Merge pull request #19382 from rishabh-d-dave/docfix-ceph-osd-ls

doc/man: add "ls" to "ceph osd" command's subcommands list

7 years agoosd: migrate PGLOG_* macros to constexpr 19352/head
Jesse Williamson [Tue, 5 Dec 2017 20:42:01 +0000 (12:42 -0800)]
osd: migrate PGLOG_* macros to constexpr

Fixes: http://tracker.ceph.com/issues/20811
Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
7 years agomon: reenable timer to send digest when paxos is temporarily inactive 19404/head
Jan Fajerski [Fri, 8 Dec 2017 15:13:19 +0000 (16:13 +0100)]
mon: reenable timer to send digest when paxos is temporarily inactive

Fixes: http://tracker.ceph.com/issues/22142
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #19005 from shinobu-x/src_krbd
Jason Dillaman [Fri, 8 Dec 2017 15:18:22 +0000 (10:18 -0500)]
Merge pull request #19005 from shinobu-x/src_krbd

rbd: drop unnecessary using declaration, etc

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoinstall-deps.sh: enable testing repo on centos on aarch64
Kefu Chai [Fri, 8 Dec 2017 10:07:37 +0000 (18:07 +0800)]
install-deps.sh: enable testing repo on centos on aarch64

the DTS-6 is only available in the testing repo

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19338 from vshankar/rbd-mirror-image-map-timestamp
Jason Dillaman [Fri, 8 Dec 2017 12:15:30 +0000 (07:15 -0500)]
Merge pull request #19338 from vshankar/rbd-mirror-image-map-timestamp

rbd-mirror: persist image map timestamp

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19383 from trociny/wip-snapshot-copy
Jason Dillaman [Fri, 8 Dec 2017 12:15:06 +0000 (07:15 -0500)]
Merge pull request #19383 from trociny/wip-snapshot-copy

librbd: deep_copy: don't create snapshots above snap_id_end

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoinstall-deps.sh: use DTS on centos if GCC is too old
Kefu Chai [Fri, 8 Dec 2017 08:34:59 +0000 (16:34 +0800)]
install-deps.sh: use DTS on centos if GCC is too old

please note, run-make-check.sh sources install-deps.sh here to import
the $PATH and other environmental variables, which could be changed by
the the DTS "enable" script.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19395 from tchaikov/wip-debian-control-upgrade
Sage Weil [Fri, 8 Dec 2017 08:34:22 +0000 (02:34 -0600)]
Merge pull request #19395 from tchaikov/wip-debian-control-upgrade

debian/control: adjust ceph-{osdomap,kvstore,monstore}-tool feature move

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19341 from tchaikov/wip-22301
Kefu Chai [Fri, 8 Dec 2017 07:24:48 +0000 (15:24 +0800)]
Merge pull request #19341 from tchaikov/wip-22301

ceph.spec: use devtoolset-6-gcc-c++ on aarch64

7 years agoMerge pull request #19336 from amitkumar50/cov-misc-14
Kefu Chai [Fri, 8 Dec 2017 07:24:11 +0000 (15:24 +0800)]
Merge pull request #19336 from amitkumar50/cov-misc-14

osd,os,io: Initializing C_ProxyChunkRead members,queue,request

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #19295 from kungf/scrub_delayed
Kefu Chai [Fri, 8 Dec 2017 07:23:30 +0000 (15:23 +0800)]
Merge pull request #19295 from kungf/scrub_delayed

osd: change op delayed state to 'waiting for scrub'

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19345 from ivancich/wip-bring-in-dmclock
Kefu Chai [Fri, 8 Dec 2017 07:19:59 +0000 (15:19 +0800)]
Merge pull request #19345 from ivancich/wip-bring-in-dmclock

osd: pull latest dmclock subtree

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