]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agomon/OSDMonitor: assert(pg in creating_pgs.pg) in send_pg_creates() 16677/head
Kefu Chai [Sun, 30 Jul 2017 05:07:02 +0000 (13:07 +0800)]
mon/OSDMonitor: assert(pg in creating_pgs.pg) in send_pg_creates()

and mark OSDMonitor::send_pg_creates() a const method.

See-also: http://tracker.ceph.com/issues/20785
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomon/OSDMonitor: more verbose message for pg creation
Kefu Chai [Sun, 30 Jul 2017 03:16:36 +0000 (11:16 +0800)]
mon/OSDMonitor: more verbose message for pg creation

See-also: http://tracker.ceph.com/issues/20785
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd: do not send pg_created unless luminous
Kefu Chai [Sun, 30 Jul 2017 03:16:08 +0000 (11:16 +0800)]
osd: do not send pg_created unless luminous

See-also: http://tracker.ceph.com/issues/20785
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16669 from Yan-waller/wip-walle-0729testpglogcompile
Xie Xingguo [Sat, 29 Jul 2017 05:44:31 +0000 (13:44 +0800)]
Merge pull request #16669 from Yan-waller/wip-walle-0729testpglogcompile

test/osd: kill compile warning

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agotest/osd: kill compile warning 16669/head
Yan Jun [Sat, 29 Jul 2017 03:23:11 +0000 (11:23 +0800)]
test/osd: kill compile warning

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
7 years agoMerge pull request #16667 from tchaikov/wip-objclass-omap
Kefu Chai [Sat, 29 Jul 2017 03:10:38 +0000 (11:10 +0800)]
Merge pull request #16667 from tchaikov/wip-objclass-omap

objclass: modify omap_get_{keys,vals} api

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agolibrados_test_stub: use omap_get_vals2() and modify stubs 16667/head
Yehuda Sadeh [Fri, 14 Jul 2017 23:57:43 +0000 (16:57 -0700)]
librados_test_stub: use omap_get_vals2() and modify stubs

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agocls_kvs: adjust objclass api
Yehuda Sadeh [Fri, 14 Jul 2017 23:19:31 +0000 (16:19 -0700)]
cls_kvs: adjust objclass api

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocls_{rbd, journal, lua}: adjust api
Yehuda Sadeh [Fri, 14 Jul 2017 23:11:09 +0000 (16:11 -0700)]
cls_{rbd, journal, lua}: adjust api

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocls/lua: add 'more' param for cls_cxx_map_get_vals()
Yehuda Sadeh [Fri, 14 Jul 2017 22:33:45 +0000 (15:33 -0700)]
cls/lua: add 'more' param for cls_cxx_map_get_vals()

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocls/*: adjust use of cls_cxx_map_get_vals()
Yehuda Sadeh [Fri, 14 Jul 2017 22:28:09 +0000 (15:28 -0700)]
cls/*: adjust use of cls_cxx_map_get_vals()

Now that objclass call gets a new 'more' param.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoobjclass: add 'more' param to omap listing
Yehuda Sadeh [Fri, 14 Jul 2017 16:37:38 +0000 (09:37 -0700)]
objclass: add 'more' param to omap listing

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #16617 from dillaman/wip-20783
Josh Durgin [Fri, 28 Jul 2017 22:07:17 +0000 (15:07 -0700)]
Merge pull request #16617 from dillaman/wip-20783

osd: moved OpFinisher logic from OSDOp to OpContext

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16590 from LianneWang/master
Yuri Weinstein [Fri, 28 Jul 2017 22:02:13 +0000 (15:02 -0700)]
Merge pull request #16590 from LianneWang/master

ceph_test_rados: max_stride_size must be more than min_stride_size

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16615 from tchaikov/wip-no-vla-in-cxx
Yuri Weinstein [Fri, 28 Jul 2017 22:01:46 +0000 (15:01 -0700)]
Merge pull request #16615 from tchaikov/wip-no-vla-in-cxx

kv/RocksDBStore: use vector instead of VLA for holding slices

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #16655 from liewegas/wip-osd-warning
Gregory Farnum [Fri, 28 Jul 2017 19:52:39 +0000 (12:52 -0700)]
Merge pull request #16655 from liewegas/wip-osd-warning

osd/PG: fix warning so we discard_event() on a no-op state change

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge PR #16640 into master
Patrick Donnelly [Fri, 28 Jul 2017 16:55:29 +0000 (09:55 -0700)]
Merge PR #16640 into master

* refs/remotes/upstream/pull/16640/head:
qa: fix wait for wrong health message

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16550 into master
Patrick Donnelly [Fri, 28 Jul 2017 16:55:26 +0000 (09:55 -0700)]
Merge PR #16550 into master

* refs/remotes/upstream/pull/16550/head:
cephfs/ceph-fuse: add and modify ceph-fuse mount hint

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16413 into master
Patrick Donnelly [Fri, 28 Jul 2017 16:55:23 +0000 (09:55 -0700)]
Merge PR #16413 into master

* refs/remotes/upstream/pull/16413/head:
qa/cephfs: lsof if umount fails

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16410 into master
Patrick Donnelly [Fri, 28 Jul 2017 16:55:21 +0000 (09:55 -0700)]
Merge PR #16410 into master

* refs/remotes/upstream/pull/16410/head:
mds: refuse 'export dir' request when mds is stopping

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoosd/PG: fix warning 16655/head
Sage Weil [Fri, 28 Jul 2017 14:07:23 +0000 (10:07 -0400)]
osd/PG: fix warning

Introduced by 4af49a886679ceb8e8afba47f04e828e5911e325

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16645 from tchaikov/wip-bluefs-allocator-is-dev-only-option
Sage Weil [Fri, 28 Jul 2017 14:01:33 +0000 (09:01 -0500)]
Merge pull request #16645 from tchaikov/wip-bluefs-allocator-is-dev-only-option

common/options: make "blue{fs,store}_allocator" LEVEL_DEV

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16489 from liewegas/wip-bluestore-options
Sage Weil [Fri, 28 Jul 2017 14:01:16 +0000 (09:01 -0500)]
Merge pull request #16489 from liewegas/wip-bluestore-options

common/options.cc: document bluestore config options

7 years agoMerge pull request #16520 from xiexingguo/wip-application-warn
Sage Weil [Fri, 28 Jul 2017 14:01:08 +0000 (09:01 -0500)]
Merge pull request #16520 from xiexingguo/wip-application-warn

mon/OSDMonitor: issue pool application related warning

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16568 from liewegas/wip-application-warn
Sage Weil [Fri, 28 Jul 2017 14:00:46 +0000 (09:00 -0500)]
Merge pull request #16568 from liewegas/wip-application-warn

qa,doc: document and fix tests for pool application warnings

7 years agoMerge pull request #16634 from neha-ojha/wip-default-device-class
Sage Weil [Fri, 28 Jul 2017 13:59:43 +0000 (08:59 -0500)]
Merge pull request #16634 from neha-ojha/wip-default-device-class

osd: add default_device_class to metadata

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16638 from liewegas/wip-20804
Sage Weil [Fri, 28 Jul 2017 13:59:06 +0000 (08:59 -0500)]
Merge pull request #16638 from liewegas/wip-20804

osd/PG: ignore CancelRecovery in NotRecovering

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #16646 from tchaikov/wip-qa-run-standalone-work-with-gnu-find
Sage Weil [Fri, 28 Jul 2017 13:41:49 +0000 (08:41 -0500)]
Merge pull request #16646 from tchaikov/wip-qa-run-standalone-work-with-gnu-find

qa/run-standalone.sh: fix the find option to be compatible with GNU find

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #16487 from liewegas/wip-mgr-module-health
John Spray [Fri, 28 Jul 2017 12:24:41 +0000 (13:24 +0100)]
Merge pull request #16487 from liewegas/wip-mgr-module-health

mgr: mgr_module interface to report health alerts

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #16641 from liewegas/wip-mgr-configs
John Spray [Fri, 28 Jul 2017 12:19:57 +0000 (13:19 +0100)]
Merge pull request #16641 from liewegas/wip-mgr-configs

mgr/PyState: shut up about get_config on nonexistent keys

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #16582 from liewegas/wip-20633
Kefu Chai [Fri, 28 Jul 2017 09:12:46 +0000 (17:12 +0800)]
Merge pull request #16582 from liewegas/wip-20633

mon/MgrMonitor: reset mgrdigest timer with new subscription

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/run-standalone.sh: fix the find option to be compatible with GNU find 16646/head
Kefu Chai [Fri, 28 Jul 2017 06:18:09 +0000 (14:18 +0800)]
qa/run-standalone.sh: fix the find option to be compatible with GNU find

also re-indent to be consistent with other part of this script

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon/options: make "blue{fs,store}_allocator" LEVEL_DEV 16645/head
Kefu Chai [Fri, 28 Jul 2017 05:09:12 +0000 (13:09 +0800)]
common/options: make "blue{fs,store}_allocator" LEVEL_DEV

See-also: http://tracker.ceph.com/issues/20660
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16599 from liewegas/wip-standalone-fixes
Kefu Chai [Fri, 28 Jul 2017 05:18:47 +0000 (13:18 +0800)]
Merge pull request #16599 from liewegas/wip-standalone-fixes

qa/workunits: adjust path to ceph-helpers.sh

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16482 from tchaikov/wip-opt
Kefu Chai [Fri, 28 Jul 2017 05:15:33 +0000 (13:15 +0800)]
Merge pull request #16482 from tchaikov/wip-opt

common/options: refactors to set the properties in a more structured way

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #16589 from Yan-waller/wip-walle-0726testwatchnotify
Kefu Chai [Fri, 28 Jul 2017 05:14:07 +0000 (13:14 +0800)]
Merge pull request #16589 from Yan-waller/wip-walle-0726testwatchnotify

test/rados: fix wrong parameter order of RETURN1_IF_NOT_VAL

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16609 from wjwithagen/wip-wjw-FreeBSD-group-wheel
Kefu Chai [Fri, 28 Jul 2017 05:13:28 +0000 (13:13 +0800)]
Merge pull request #16609 from wjwithagen/wip-wjw-FreeBSD-group-wheel

ceph_disk/main.py: FreeBSD root has wheel for group

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16593 from shangzhong/wip-20660
Kefu Chai [Fri, 28 Jul 2017 05:07:06 +0000 (13:07 +0800)]
Merge pull request #16593 from shangzhong/wip-20660

os/bluestore/StupidAllocator: rounded down len to an align boundary

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agocommon/options: document bluestore options 16489/head
Sage Weil [Mon, 24 Jul 2017 18:34:07 +0000 (14:34 -0400)]
common/options: document bluestore options

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocompressor: accept 'none' or '' for none
Sage Weil [Sat, 22 Jul 2017 18:56:28 +0000 (14:56 -0400)]
compressor: accept 'none' or '' for none

This makes the parse and output methods match up.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: observe bluestore_compression_required_ratio
Sage Weil [Sat, 22 Jul 2017 18:10:44 +0000 (14:10 -0400)]
os/bluestore: observe bluestore_compression_required_ratio

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/dev/config: some guidance around defining config options
Sage Weil [Fri, 21 Jul 2017 19:09:58 +0000 (15:09 -0400)]
doc/dev/config: some guidance around defining config options

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #16435 into master
Patrick Donnelly [Fri, 28 Jul 2017 00:54:59 +0000 (17:54 -0700)]
Merge PR #16435 into master

* refs/remotes/upstream/pull/16435/head:
qa: whitelist trim error during powercycle tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/PyState: shut up about get_config on nonexistent keys 16641/head
Sage Weil [Thu, 27 Jul 2017 22:06:22 +0000 (18:06 -0400)]
mgr/PyState: shut up about get_config on nonexistent keys

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa: fix wait for wrong health message 16640/head
Patrick Donnelly [Thu, 27 Jul 2017 21:35:47 +0000 (14:35 -0700)]
qa: fix wait for wrong health message

Fixes: http://tracker.ceph.com/issues/20805
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #16450 from markhpc/wip-rocksdb-bloomsettings
Sage Weil [Thu, 27 Jul 2017 21:26:09 +0000 (16:26 -0500)]
Merge pull request #16450 from markhpc/wip-rocksdb-bloomsettings

kv/RocksDBStore: Table options for indexing and filtering

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16281 from badone/wip-PG-cluster-log-audit
Sage Weil [Thu, 27 Jul 2017 21:25:30 +0000 (16:25 -0500)]
Merge pull request #16281 from badone/wip-PG-cluster-log-audit

osd: Log audit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16514 from liewegas/wip-20744
Sage Weil [Thu, 27 Jul 2017 21:24:59 +0000 (16:24 -0500)]
Merge pull request #16514 from liewegas/wip-20744

qa/tasks/ceph: wait for mgr to activate and pg stats to flush in health()

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoosd/PG: ignore CancelRecovery in NotRecovering 16638/head
Sage Weil [Thu, 27 Jul 2017 20:59:44 +0000 (16:59 -0400)]
osd/PG: ignore CancelRecovery in NotRecovering

It's possible to get >1 CancelRecovery events in the queue.
The first will transition us from Recovering to NotRecovering.
Currently the second will make us crash.

This is harmless; instead just swallow the event.

Fixes: http://tracker.ceph.com/issues/20804
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa: whitelist trim error during powercycle tests 16435/head
Patrick Donnelly [Thu, 20 Jul 2017 00:08:10 +0000 (17:08 -0700)]
qa: whitelist trim error during powercycle tests

Fixes: http://tracker.ceph.com/issues/20566
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #16635 from dzafman/wip-fix-test-pidfile
Sage Weil [Thu, 27 Jul 2017 20:06:17 +0000 (15:06 -0500)]
Merge pull request #16635 from dzafman/wip-fix-test-pidfile

test: test_pidfile running 2nd mon has unreliable log output

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoosd: silence coverity warning in async read operation contexts 16617/head
Jason Dillaman [Thu, 27 Jul 2017 19:17:32 +0000 (15:17 -0400)]
osd: silence coverity warning in async read operation contexts

Coverity doesn't know that the context is deleted via the "complete"
method and the embedded context is therefore also destructed when
it's completed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agotest: test_pidfile running 2nd mon has unreliable log output 16635/head
David Zafman [Thu, 27 Jul 2017 18:23:54 +0000 (11:23 -0700)]
test: test_pidfile running 2nd mon has unreliable log output

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: add default_device_class to metadata 16634/head
Neha Ojha [Thu, 27 Jul 2017 18:21:10 +0000 (11:21 -0700)]
osd: add default_device_class to metadata

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoosd: moved OpFinisher logic from OSDOp to OpContext
Jason Dillaman [Thu, 27 Jul 2017 01:47:47 +0000 (21:47 -0400)]
osd: moved OpFinisher logic from OSDOp to OpContext

This allows the memory lifetime of the OpFinisher to be tightly
controlled since the OpContext cannot be copied.

Fixes: http://tracker.ceph.com/issues/20783
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16629 from johnwilkins/wip-doc-remove-contractions
Gregory Farnum [Thu, 27 Jul 2017 17:49:38 +0000 (10:49 -0700)]
Merge pull request #16629 from johnwilkins/wip-doc-remove-contractions

Remove contractions from the documentation.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #16572 from liewegas/wip-pidfile
Sage Weil [Thu, 27 Jul 2017 17:32:36 +0000 (12:32 -0500)]
Merge pull request #16572 from liewegas/wip-pidfile

test: add separate ceph-helpers-based smoke test

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc/cephfs: Removed contractions for ESL speakers. 16629/head
John Wilkins [Thu, 27 Jul 2017 17:01:29 +0000 (10:01 -0700)]
doc/cephfs: Removed contractions for ESL speakers.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
7 years agodoc/start: Removed contractions for ESL speakers.
John Wilkins [Thu, 27 Jul 2017 16:59:00 +0000 (09:59 -0700)]
doc/start: Removed contractions for ESL speakers.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
7 years agodoc/man: Removed contractions for ESL speakers.
John Wilkins [Thu, 27 Jul 2017 16:57:23 +0000 (09:57 -0700)]
doc/man: Removed contractions for ESL speakers.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
7 years agodoc/install: Removed contractions for ESL speakers.
John Wilkins [Thu, 27 Jul 2017 16:55:58 +0000 (09:55 -0700)]
doc/install: Removed contractions for ESL speakers.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
7 years agodoc/rgw: Removed contractions for ESL speakers.
John Wilkins [Thu, 27 Jul 2017 16:54:37 +0000 (09:54 -0700)]
doc/rgw: Removed contractions for ESL speakers.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
7 years agodoc/rbd: Removed contractions for ESL speakers.
John Wilkins [Thu, 27 Jul 2017 16:52:56 +0000 (09:52 -0700)]
doc/rbd: Removed contractions for ESL speakers.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
7 years agodoc/rados: Removed contractions to improve readabilty for ESL speakers.
John Wilkins [Thu, 27 Jul 2017 16:46:53 +0000 (09:46 -0700)]
doc/rados: Removed contractions to improve readabilty for ESL speakers.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
7 years agoMerge pull request #16569 from liewegas/wip-set-not-put
Sage Weil [Thu, 27 Jul 2017 16:34:37 +0000 (11:34 -0500)]
Merge pull request #16569 from liewegas/wip-set-not-put

mon: 'config-key put' -> 'config-key set'

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoqa/standalone/crush/crush-classes: fix test 16572/head
Sage Weil [Thu, 27 Jul 2017 16:25:25 +0000 (12:25 -0400)]
qa/standalone/crush/crush-classes: fix test

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/standalone/README
Sage Weil [Thu, 27 Jul 2017 14:55:56 +0000 (10:55 -0400)]
qa/standalone/README

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agotest/smoke.sh: add simple ceph-helpers-based smoke test
Sage Weil [Wed, 26 Jul 2017 20:26:43 +0000 (16:26 -0400)]
test/smoke.sh: add simple ceph-helpers-based smoke test

This is just enough during make check to know things aren't totally
broken.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados/upgrade: fix upgrade wait for healthy 16514/head
Sage Weil [Tue, 25 Jul 2017 15:41:10 +0000 (11:41 -0400)]
qa/suites/rados/upgrade: fix upgrade wait for healthy

There is no mgr, so we can't call ceph.healthy.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/tasks/ceph: wait for pg stats to flush in healthy check
Sage Weil [Mon, 24 Jul 2017 21:05:11 +0000 (17:05 -0400)]
qa/tasks/ceph: wait for pg stats to flush in healthy check

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/tasks/ceph_manager: wait_for_all_up -> wait_for_all_osds_up
Sage Weil [Sat, 22 Jul 2017 19:18:26 +0000 (15:18 -0400)]
qa/tasks/ceph_manager: wait_for_all_up -> wait_for_all_osds_up

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/tasks/ceph_manager: expose flush_all_pg_stats
Sage Weil [Sat, 22 Jul 2017 19:12:24 +0000 (15:12 -0400)]
qa/tasks/ceph_manager: expose flush_all_pg_stats

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16388 from xiexingguo/wip-class-misc-fixes
Sage Weil [Thu, 27 Jul 2017 16:04:33 +0000 (11:04 -0500)]
Merge pull request #16388 from xiexingguo/wip-class-misc-fixes

crush, mon: simplify device class manipulation commands

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16172 from ivancich/wip-dup-ops
Josh Durgin [Thu, 27 Jul 2017 15:57:39 +0000 (08:57 -0700)]
Merge pull request #16172 from ivancich/wip-dup-ops

PGLog: store extra duplicate ops beyond the normal log entries

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16558 from hjwsm1989/fix-recovering-hang-with-unfound-objects
Yuri Weinstein [Thu, 27 Jul 2017 15:37:15 +0000 (08:37 -0700)]
Merge pull request #16558 from hjwsm1989/fix-recovering-hang-with-unfound-objects

  osd/PrimaryLogPG: fix recovering hang when have unfound objects

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16561 from Yan-waller/wip-walle-0725osddumpclinfo
Yuri Weinstein [Thu, 27 Jul 2017 15:36:23 +0000 (08:36 -0700)]
Merge pull request #16561 from Yan-waller/wip-walle-0725osddumpclinfo

osd: add dump filter for tracked ops

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
7 years agoPGLog: continuation, store extra duplicate ops beyond the normal log entries 16172/head
J. Eric Ivancich [Mon, 8 May 2017 20:48:18 +0000 (16:48 -0400)]
PGLog: continuation, store extra duplicate ops beyond the normal log entries

This helps us avoid replaying non-idempotent client operations when
the pg log is very short, e.g. in an effort to force OSDs to use
backfill rather than regular recovery. This can be advantageous to
avoid blocking i/o to objects, at the cost of longer total time to
become clean (since backfill requires scanning the objects to see what
is missing).

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoMerge pull request #16384 from mikulely/2-checkout-placmenet-target-existness
Yuri Weinstein [Thu, 27 Jul 2017 14:29:13 +0000 (07:29 -0700)]
Merge pull request #16384 from mikulely/2-checkout-placmenet-target-existness

rgw: check placement target existence during bucket creation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16389 from prallabh/wip-20661
Yuri Weinstein [Thu, 27 Jul 2017 14:27:37 +0000 (07:27 -0700)]
Merge pull request #16389 from prallabh/wip-20661

rgw: Do not decrement stats cache when the cache values are zero

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #16463 from cbodley/wip-20708
Yuri Weinstein [Thu, 27 Jul 2017 14:25:50 +0000 (07:25 -0700)]
Merge pull request #16463 from cbodley/wip-20708

rgw: fix parse/eval of policy conditions with IfExists

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #16495 from weiqiaomiao/wip_weiqm_rgw_crash
Yuri Weinstein [Thu, 27 Jul 2017 14:22:59 +0000 (07:22 -0700)]
Merge pull request #16495 from weiqiaomiao/wip_weiqm_rgw_crash

rgw: fix radosgw will crash when service is restarted during lifecycl…

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
7 years agoMerge pull request #16531 from rzarzynski/wip-rgw-20757
Yuri Weinstein [Thu, 27 Jul 2017 14:19:22 +0000 (07:19 -0700)]
Merge pull request #16531 from rzarzynski/wip-rgw-20757

rgw: fix memory leaks during Swift Static Website's error handling.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16601 from rzarzynski/wip-rgw-20774
Yuri Weinstein [Thu, 27 Jul 2017 14:18:42 +0000 (07:18 -0700)]
Merge pull request #16601 from rzarzynski/wip-rgw-20774

rgw: never let http_redirect_code of RGWRedirectInfo to stay uninitialized

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
7 years agoMerge pull request #16604 from rzarzynski/wip-rgw-20779
Yuri Weinstein [Thu, 27 Jul 2017 14:17:32 +0000 (07:17 -0700)]
Merge pull request #16604 from rzarzynski/wip-rgw-20779

rgw: fix the UTF8 check on bucket entry name in rgw_log_op().

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16575 from liewegas/wip-20693
Sage Weil [Thu, 27 Jul 2017 13:31:53 +0000 (08:31 -0500)]
Merge pull request #16575 from liewegas/wip-20693

qa/suites/rados: at-end: ignore PG_{AVAILABILITY,DEGRADED}

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/suites: more whitelisting 16568/head
Sage Weil [Thu, 27 Jul 2017 13:31:24 +0000 (09:31 -0400)]
qa/suites: more whitelisting

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocephfs/ceph-fuse: add and modify ceph-fuse mount hint 16550/head
huanwen ren [Tue, 25 Jul 2017 03:07:12 +0000 (11:07 +0800)]
cephfs/ceph-fuse: add and modify ceph-fuse mount hint

1. "-n" is applied the client authorization feature.
2. "root_directory" misleading to mount the root directory ,
     in fact, here mount should be "sub_directory".
Refer to: http://docs.ceph.com/docs/master/cephfs/client-auth/#cephfs-client-capabilities

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
7 years agoMerge pull request #16398 from dillaman/wip-20655
Jason Dillaman [Thu, 27 Jul 2017 12:27:39 +0000 (08:27 -0400)]
Merge pull request #16398 from dillaman/wip-20655

rbd-mirror: guard the deletion of non-primary images

Reviewed-by: Venky Shankar <vshankar@redhat.com>
7 years agoMerge pull request #16574 from batrick/rgw-rbd-stripped-build
Kefu Chai [Thu, 27 Jul 2017 05:10:07 +0000 (13:10 +0800)]
Merge pull request #16574 from batrick/rgw-rbd-stripped-build

CMakeLists: trim rbd/rgw forced dependencies

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16603 from dillaman/wip-rbd-mirror-valgrind
Venky Shankar [Thu, 27 Jul 2017 02:54:28 +0000 (08:24 +0530)]
Merge pull request #16603 from dillaman/wip-rbd-mirror-valgrind

rbd-mirror: initialize timer context pointer to null

7 years agokv/RocksDBStore: use vector instead of VLA for holding slices 16615/head
Kefu Chai [Thu, 27 Jul 2017 02:34:43 +0000 (10:34 +0800)]
kv/RocksDBStore: use vector instead of VLA for holding slices

clang complains:

ceph/src/kv/RocksDBStore.cc:611:32: error: variable length array of
non-POD element type
      'rocksdb::Slice'
    rocksdb::Slice value_slices[to_set_bl.buffers().size()];

and i believe GCC will also complains with: -Wvla or -pedantic. as
to_set_bl.buffers().size() is not a const expr at compile time.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16613 from liewegas/wip-vstart-mgr
Sage Weil [Thu, 27 Jul 2017 02:04:25 +0000 (21:04 -0500)]
Merge pull request #16613 from liewegas/wip-vstart-mgr

vstart.sh: start mgr after mon, before osds

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #16584 from gregsfortytwo/wip-deletes-coverity
Jos Collin [Thu, 27 Jul 2017 01:11:01 +0000 (01:11 +0000)]
Merge pull request #16584 from gregsfortytwo/wip-deletes-coverity

messages: default-initialize MOSDPGRecoveryDelete[Reply] members

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agovstart.sh: start mgr after mon, before osds 16613/head
Sage Weil [Wed, 26 Jul 2017 21:22:25 +0000 (17:22 -0400)]
vstart.sh: start mgr after mon, before osds

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agosrc/ceph-disk/ceph_disk/main.py: FreeBSD root has wheel for group 16609/head
Willem Jan Withagen [Wed, 26 Jul 2017 16:21:19 +0000 (18:21 +0200)]
src/ceph-disk/ceph_disk/main.py: FreeBSD root has wheel for group

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agokv/RocksDBStore: Add table options for filter and index tuning. 16450/head
Mark Nelson [Wed, 19 Jul 2017 02:39:36 +0000 (21:39 -0500)]
kv/RocksDBStore: Add table options for filter and index tuning.

Signed-off-by: Mark Nelson <mnelson@redhat.com>
7 years agoMerge pull request #16610 from dzafman/wip-fix-reg11184
David Zafman [Wed, 26 Jul 2017 18:42:15 +0000 (11:42 -0700)]
Merge pull request #16610 from dzafman/wip-fix-reg11184

test: reg11184 might not always find pg 2.0 prior to import

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoPendingReleaseNotes: note about put -> set 16569/head
Sage Weil [Wed, 26 Jul 2017 12:00:45 +0000 (08:00 -0400)]
PendingReleaseNotes: note about put -> set

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/workunits/cephtool/test.sh: add some config-key tests
Sage Weil [Tue, 25 Jul 2017 15:25:00 +0000 (11:25 -0400)]
qa/workunits/cephtool/test.sh: add some config-key tests

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: 'config-key put' -> 'config-key set'
Sage Weil [Tue, 25 Jul 2017 15:24:50 +0000 (11:24 -0400)]
mon: 'config-key put' -> 'config-key set'

Signed-off-by: Sage Weil <sage@redhat.com>