Jason Dillaman
94bc0b904c
mgr/dashboard: utilize application metadata to detect RBD pools
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-12-13 10:41:07 -05:00
Jason Dillaman
e67e172754
rbd-mirror: ensure each daemon instance uses a unique service name
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-12-13 10:41:00 -05:00
Sage Weil
4a6ef424fb
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>
2017-12-13 08:22:30 -06:00
Kefu Chai
a2b310b1c6
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>
2017-12-13 22:08:50 +08:00
Kefu Chai
a9163ca493
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>
2017-12-13 20:34:29 +08:00
Kefu Chai
efe205035f
Merge pull request #19366 from liewegas/wip-21557
...
osd: more debugging for snapmapper bug
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-13 20:02:10 +08:00
Kefu Chai
07564ffcbc
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>
2017-12-13 20:01:25 +08:00
Kefu Chai
c7539de95c
Merge pull request #19365 from liewegas/wip-tell
...
qa/tasks/ceph_manager: tolerate tell osd.* error
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-13 19:58:41 +08:00
Kefu Chai
4987778049
Merge pull request #19353 from shinobu-x/common_clock
...
common: Remove ceph_clock_gettime, extern keyword
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-13 19:57:56 +08:00
Kefu Chai
967ba932c9
Merge pull request #19352 from chardan/jfw-wip-issue-20811
...
osd: migrate PGLOG_* macros to constexpr
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-13 19:53:42 +08:00
Kefu Chai
a8ebed20d9
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>
2017-12-13 19:52:48 +08:00
Kefu Chai
516e6b682a
Merge pull request #19056 from adamemerson/wip-with-val
...
common/config: use with_val() for better performance
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-13 19:51:34 +08:00
John Spray
91655239fa
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>
2017-12-13 11:46:34 +00:00
Kefu Chai
4e621762ed
qa/standalone/ceph-helpers.sh: silence ceph-disk DEPRECATION_WARNING
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-13 19:42:50 +08:00
John Spray
ab3faa446e
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>
2017-12-13 11:35:17 +00:00
Jos Collin
9081d862d2
Merge pull request #19472 from qrGitHub/wip-rgw-typo-woild
...
rgw: fix typo woild to would
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-13 09:39:36 +00:00
Bingyin Zhang
daf6a1330b
rgw: correct typo woild to would
...
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-13 16:38:27 +08:00
vasukulkarni
36aa1b8c94
Merge pull request #17651 from ceph/wip-ceph-deploy-upgrade
...
qa/tests: Wip ceph deploy upgrade
2017-12-12 16:10:47 -08: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
Sage Weil
0d98f262c0
osd/PG: include primary in PG operator<< for ec pools
...
Otherwise it is confusing!
Signed-off-by: Sage Weil <sage@redhat.com>
2017-12-12 09:22:37 -06: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
Wido den Hollander
3f07636bc2
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>
2017-12-11 15:44:05 +01:00
Wido den Hollander
429718af1c
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>
2017-12-11 15:33:53 +01:00
Wido den Hollander
2b71a8919c
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>
2017-12-11 15:30:42 +01:00
Wido den Hollander
9440be3da2
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>
2017-12-11 15:29:08 +01: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