Commit Graph

81340 Commits

Author SHA1 Message Date
Shinobu Kinjo
401360783f common/mds/osd: Explicitly delete if no copy, and remove incorrect comment
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-12-14 19:23:12 +09:00
Yuri Weinstein
f760313f94
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>
2017-12-12 08:28:43 -08:00
Yuri Weinstein
a2dc12bb0c
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>
2017-12-12 08:28:25 -08:00
Yuri Weinstein
597884065f
Merge pull request #19210 from Liuchang0812/rgw-camelcase
rgw: use camelcase format in request headers

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-12-12 08:27:23 -08:00
Yuri Weinstein
0764e7b019
Merge pull request #19236 from dplyakin/get-website-error-code
rgw: fix GET website response error code

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-12 08:26:32 -08:00
Yuri Weinstein
51ee04f7fb
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>
2017-12-12 08:25:54 -08:00
Yuri Weinstein
a7abf49395
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>
2017-12-12 08:25:17 -08:00
Yuri Weinstein
c101f2fd00
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>
2017-12-12 08:23:05 -08:00
Yuri Weinstein
66bc71d646
Merge pull request #19430 from tianshan/fix_recursive_lock
rgw: fix recursive lock

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-12 08:22:47 -08:00
Kefu Chai
e38ef3709e
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>
2017-12-12 23:15:35 +08:00
Jason Dillaman
722795de5a
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>
2017-12-12 10:11:09 -05:00
Jason Dillaman
548bc8bad2
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>
2017-12-12 10:09:15 -05:00
Yehuda Sadeh
a01c014772
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>
2017-12-12 14:14:41 +02:00
Sage Weil
4389b55435 Merge remote-tracking branch 'gh/mimic-dev1' 2017-12-11 22:27:35 -06:00
Sage Weil
6fdd8ba284
Merge pull request #19435 from smithfarm/wip-20559
doc: globally change CRUSH ruleset to CRUSH rule

Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-11 18:55:13 -06:00
Boris Ranto
ce2e26d39a 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>
2017-12-12 01:08:04 +01:00
Mykola Golub
3ea5799cde 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>
2017-12-11 22:56:40 +02:00
Gregory Farnum
da7d071654
Merge pull request #19191 from tchaikov/wip-mon-cleanup
mon: remove_is_write_ready()

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-12-11 11:46:19 -08:00
Casey Bodley
5d4da4598d
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>
2017-12-11 14:11:06 -05:00
Dmitry Plyakin
56344f0e14 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>
2017-12-11 20:44:05 +03:00
Kefu Chai
e6695bb63a 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>
2017-12-12 00:26:52 +08:00
Kefu Chai
4c2216de6a cmake: add WITH_STATIC_LIBSTDCXX option
to link libceph-common with libstdc++ if it is enabled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-12 00:26:52 +08:00
Patrick Donnelly
6f3553351d
Merge PR #19432 into master
* refs/pull/19432/head:
	doc: correct the new fs allow opts

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-11 08:18:11 -08:00
Nathan Cutler
aea9fa01ae 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>
2017-12-11 17:15:23 +01:00
Kefu Chai
8a0935988f install-deps.sh: use GCC-7 on xenial also
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-11 23:26:24 +08:00
Jason Dillaman
f10904b617
Merge pull request #19416 from trociny/wip-flatten-cleanup
librbd: remove unused member in FlattenRequest

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-11 10:01:23 -05:00
Dan van der Ster
9d55d17c4e doc: correct the new fs allow opts
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2017-12-11 13:32:59 +01:00
Tianshan Qu
a0b51eef86 rgw: fix recursive lock
Signed-off-by: Tianshan Qu <tianshan@xsky.com>
2017-12-11 19:48:00 +08:00
Kefu Chai
2d641bde20
Merge pull request #19426 from tchaikov/wip-cmake
cmake: disable FAIL_ON_WARNINGS for rocksdb
2017-12-11 16:34:41 +08:00
Kefu Chai
6559a85051 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>
2017-12-11 14:09:45 +08:00
Patrick Donnelly
d2ebe22a49
Merge PR #19373 into master
* refs/pull/19373/head:
	client: drop duplicate friend

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-09 16:34:24 -08:00
Kefu Chai
717591016d
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>
2017-12-10 00:38:59 +08:00
Sage Weil
a5eb976cb3 qa/suites/rados: add missing openstack volumes
Signed-off-by: Sage Weil <sage@redhat.com>
2017-12-09 10:20:19 -06:00
Kefu Chai
3882deae8c 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>
2017-12-09 20:00:28 +08:00
Mykola Golub
41bdd8b6d4 librbd: remove unused member in FlattenRequest
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-09 11:47:01 +02:00
Kefu Chai
74a132d826
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>
2017-12-09 11:51:33 +08:00
David Zafman
0f764890d9
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>
2017-12-08 19:37:45 -08:00
Kefu Chai
b38621f302 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>
2017-12-09 11:18:27 +08:00
David Zafman
c4602c9ac8 test: ceph_objectstore_tool.py: Perform dump-import
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-12-08 18:50:04 -08:00
Sage Weil
a16ff1a7cd
Merge pull request #19382 from rishabh-d-dave/docfix-ceph-osd-ls
doc/man: add "ls" to "ceph osd" command's subcommands list
2017-12-08 18:31:35 -06:00
Jason Dillaman
53be4ef96c
Merge pull request #19005 from shinobu-x/src_krbd
rbd: drop unnecessary using declaration, etc

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-08 10:18:22 -05:00
Kefu Chai
4cedada14e 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>
2017-12-08 21:15:53 +08:00
Jason Dillaman
899a2f9d38
Merge pull request #19338 from vshankar/rbd-mirror-image-map-timestamp
rbd-mirror: persist image map timestamp

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-08 07:15:30 -05:00
Jason Dillaman
7d0149e167
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>
2017-12-08 07:15:06 -05:00
Kefu Chai
3f8647a7e8 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>
2017-12-08 19:36:58 +08:00
Sage Weil
604dc4decb
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>
2017-12-08 02:34:22 -06:00
Kefu Chai
ec16e941f1
Merge pull request #19341 from tchaikov/wip-22301
ceph.spec: use devtoolset-6-gcc-c++ on aarch64
2017-12-08 15:24:48 +08:00
Kefu Chai
ee14a079ba
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>
2017-12-08 15:24:11 +08:00
Kefu Chai
b939ab88f1
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>
2017-12-08 15:23:30 +08:00
Kefu Chai
572bae9b44
Merge pull request #19345 from ivancich/wip-bring-in-dmclock
osd: pull latest dmclock subtree

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-08 15:19:59 +08:00