]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Patrick Donnelly [Tue, 12 Mar 2019 20:54:06 +0000 (13:54 -0700)]
doc: add CephFS notes for nautilus
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Lenz Grimmer [Wed, 13 Mar 2019 16:07:18 +0000 (17:07 +0100)]
Merge pull request #26790 from ricardoasmarques/iscsi-passwords-with-slash
mgr/dashboard: iSCSI - Support iSCSI passwords with '/'
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Ricardo Marques [Fri, 8 Mar 2019 14:45:09 +0000 (14:45 +0000)]
mgr/dashboard: Always get iSCSI passwords decrypted
Fixes: https://tracker.ceph.com/issues/38630
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Ricardo Marques [Wed, 6 Mar 2019 16:04:24 +0000 (16:04 +0000)]
mgr/dashboard: Support iSCSI password with '/'
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Wed, 13 Mar 2019 14:37:28 +0000 (15:37 +0100)]
Merge pull request #26765 from p-na/wip-pna-rbd-conf-table-search
mgr/dashboard: Fix search in `Source` column of RBD configuration list
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Wed, 13 Mar 2019 14:27:10 +0000 (15:27 +0100)]
Merge pull request #26766 from p-na/wip-pna-fix-table-search
mgr/dashboard: Search broken for entries with null values
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Casey Bodley [Wed, 13 Mar 2019 13:53:08 +0000 (09:53 -0400)]
Merge pull request #26800 from linuxbox2/wip-rgw-limitcheck-trunc
rgw: bucket limit check misbehaves for > max-entries buckets (usually…
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Wed, 13 Mar 2019 13:16:20 +0000 (08:16 -0500)]
Merge PR #26920 into master
* refs/pull/26920/head:
qa/tasks/mgr/test_module_selftest: fix localized value test
mgr/BaseMgrStandbyModule: parse prefix properly
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Boris Ranto [Wed, 13 Mar 2019 12:31:15 +0000 (13:31 +0100)]
Merge pull request #26756 from badone/wip-f28-broken-Cython-dep
rpm: Install python2-Cython on f28
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Sage Weil [Wed, 13 Mar 2019 12:11:47 +0000 (07:11 -0500)]
qa/tasks/mgr/test_module_selftest: fix localized value test
When mgr/selftest/testkey = foo and mgr/selftest/x/testkey is not set,
then get_localized() should return foo.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 13 Mar 2019 11:56:16 +0000 (06:56 -0500)]
Merge PR #26886 into master
* refs/pull/26886/head:
crush/CrushWrapper: ensure crush_choose_arg_map.size == max_buckets
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Wed, 13 Mar 2019 11:55:58 +0000 (06:55 -0500)]
Merge PR #26917 into master
* refs/pull/26917/head:
osd/osd_types: include omap and hit_set_archive bytes in pool usage
Reviewed-by: Neha Ojha <nojha@redhat.com>
Ricardo Marques [Wed, 13 Mar 2019 09:20:09 +0000 (09:20 +0000)]
Merge pull request #26788 from ricardoasmarques/iscsi-docs-password
doc/rbd/iscsi-target-cli: Update auth command
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Brad Hubbard [Mon, 4 Mar 2019 02:38:25 +0000 (12:38 +1000)]
rpm: Install python2-Cython in python2 environment
do_cmake.sh tests for Cython module version in python2
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Boris Ranto [Wed, 13 Mar 2019 00:07:09 +0000 (01:07 +0100)]
Merge pull request #26880 from pcuzner/prom-add-recovery-metrics
mgr/prometheus: Add recovery metrics
Reviewed-by: Boris Ranto <branto@redhat.com>
Sage Weil [Tue, 12 Mar 2019 21:45:22 +0000 (16:45 -0500)]
mgr/BaseMgrStandbyModule: parse prefix properly
Fixes: http://tracker.ceph.com/issues/38705
Signed-off-by: Sage Weil <sage@redhat.com>
Boris Ranto [Tue, 12 Mar 2019 19:46:59 +0000 (20:46 +0100)]
Merge pull request #26712 from badone/wip-b64decode-decorator-traceback
pybind/mgr/restful: Decode the output of b64decode
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
David Zafman [Tue, 12 Mar 2019 19:41:40 +0000 (12:41 -0700)]
Merge pull request #26899 from dzafman/wip-38678
Minor cleanups in tests and log output
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Tue, 12 Mar 2019 18:15:32 +0000 (13:15 -0500)]
Merge PR #26890 into master
* refs/pull/26890/head:
ceph.spec.in: add libstoragemgmt to mgr package
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Tue, 12 Mar 2019 17:47:53 +0000 (10:47 -0700)]
Merge PR #26893 into master
* refs/pull/26893/head:
qa: unmount clients prior to marking fs down
Reviewed-by: Zheng Yan <zyan@redhat.com>
Sage Weil [Tue, 12 Mar 2019 16:55:32 +0000 (11:55 -0500)]
osd/osd_types: include omap and hit_set_archive bytes in pool usage
- Include the hit_set_archive bytes if we're in legacy mode.
- Add in (estimated) omap bytes for both nautilus+ and legacy mode, since
we didn't break out omap usage by pool (oops!).
Fixes: http://tracker.ceph.com/issues/38703
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Tue, 12 Mar 2019 17:26:27 +0000 (10:26 -0700)]
Merge PR #26892 into master
* refs/pull/26892/head:
qa: stop testing simple messenger in CephFS suites
Reviewed-by: Sage Weil <sage@redhat.com>
Ricardo Dias [Tue, 12 Mar 2019 16:51:06 +0000 (16:51 +0000)]
Merge pull request #26503 from ricardoasmarques/iscsi-support-dots-in-name
mgr/dashboard: iSCSI - Adds support for pool/image names with dots
Reviewed-by: Ricardo Dias <rdias@suse.com>
Sage Weil [Fri, 8 Mar 2019 22:54:53 +0000 (16:54 -0600)]
crush/CrushWrapper: ensure crush_choose_arg_map.size == max_buckets
The crush/builder.c crush_add_bucket method resizes the max_buckets array
but a power of 2 when it has to expand, but the code in CrushWrapper was
assuming that if the array grew the pos for the new bucket would be the
last position in the new array. This led to a situation where the
crush_choose_arg_map args array size didn't match max_buckets, and
eventually caused a crash.
Fixes: http://tracker.ceph.com/issues/38664
Signed-off-by: Sage Weil <sage@redhat.com>
Ricardo Marques [Tue, 12 Mar 2019 16:23:42 +0000 (16:23 +0000)]
Merge pull request #26891 from rjfd/wip-dashboard-iscsi-ssl
mgr/dashboard: iscsi: adds CLI command to enable/disable API SSL verification
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Casey Bodley [Tue, 12 Mar 2019 16:18:30 +0000 (12:18 -0400)]
Merge pull request #26658 from ivancich/wip-lc-prefix-fix
rgw: fix unordered bucket listing when object names are adorned
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Tue, 12 Mar 2019 15:59:58 +0000 (11:59 -0400)]
Merge pull request #26545 from ivancich/wip-rgw-gc-stall-min-fixes
rgw: resolve bug where marker was not advanced during garbage collection
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Tue, 12 Mar 2019 15:59:35 +0000 (11:59 -0400)]
Merge pull request #26601 from ivancich/wip-rgw-gc-stall-fixes
rgw: resolve bugs and clean up garbage collection code
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Tue, 12 Mar 2019 15:58:35 +0000 (11:58 -0400)]
Merge pull request #26599 from cbodley/wip-rgw-beast-default
rgw: make beast the default for rgw_frontends
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Mykola Golub [Tue, 12 Mar 2019 15:26:12 +0000 (17:26 +0200)]
Merge pull request #26896 from dillaman/wip-rbd-cls-warning
cls/rbd: fixed uninitialized variable compiler warning
Reviewed-by: Mykola Golub <mgolub@suse.com>
Sébastien Han [Mon, 11 Mar 2019 15:50:14 +0000 (16:50 +0100)]
ceph.spec.in: add libstoragemgmt to mgr package
The libstoragemgmt package is needed so we can activate the drive
blink-led feature so we should pull that package.
Signed-off-by: Sébastien Han <seb@redhat.com>
Lenz Grimmer [Tue, 12 Mar 2019 14:39:24 +0000 (15:39 +0100)]
Merge pull request #26854 from ricardoasmarques/fix-mutual-password-input-type
mgr/dashboard: Fix iSCSI mutual password input type
Reviewed-by: Tiago Melo <tmelo@suse.com>
Ricardo Marques [Fri, 8 Mar 2019 16:17:36 +0000 (16:17 +0000)]
mgr/dashboard: Fix iSCSI mutual password input type
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Sage Weil [Tue, 12 Mar 2019 12:24:32 +0000 (07:24 -0500)]
Merge PR #26906 into master
* refs/pull/26906/head:
Typo in Nautilus release notes: not -> now
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sebastian Wagner [Tue, 12 Mar 2019 10:51:47 +0000 (11:51 +0100)]
Merge pull request #26904 from SUSE/wip-orchestrator-deepsea-sharedsecret
mgr/deepsea: always use 'password' parameter for salt-api auth
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Lenz Grimmer [Tue, 12 Mar 2019 10:31:05 +0000 (11:31 +0100)]
Merge pull request #26851 from rhcs-dashboard/36176-enable-api-tests-coverage
mgr/dashboard: enable coverage for API tests
Ricardo Marques [Tue, 12 Mar 2019 10:29:50 +0000 (10:29 +0000)]
Merge pull request #26669 from ricardoasmarques/iscsi-docs-disk-slash
doc/rbd/iscsi-target-cli: Update disk separator
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Ricardo Dias [Mon, 11 Mar 2019 15:52:26 +0000 (15:52 +0000)]
mgr/dashboard: tests: move helper classes to __init__.py
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 11 Mar 2019 15:46:15 +0000 (15:46 +0000)]
mgr/dashboard: tests: add iscsi CLI commands testing
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 11 Mar 2019 15:45:40 +0000 (15:45 +0000)]
mgr/dashboard: tests: update tests that mock mons kv store
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 11 Mar 2019 15:44:51 +0000 (15:44 +0000)]
mgr/dashboard: tests: add mixin classes to mock mons KV store
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 11 Mar 2019 15:44:03 +0000 (15:44 +0000)]
doc/mgr/dashboard: update iscsi documentation
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 11 Mar 2019 15:43:13 +0000 (15:43 +0000)]
mgr/dashboard: iscsi: use `ssl_verify` configuration option in restclient
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 11 Mar 2019 15:42:46 +0000 (15:42 +0000)]
mgr/dashboard: iscsi: add CLI command to disable API SSL verification
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Marques [Tue, 19 Feb 2019 09:32:27 +0000 (09:32 +0000)]
Adds support for pool/image names with dots
According to https://github.com/ceph/ceph-iscsi/pull/29
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Yaniv Kaul [Tue, 12 Mar 2019 09:31:27 +0000 (11:31 +0200)]
Typo in Nautilus release notes: not -> now
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Tim Serong [Tue, 12 Mar 2019 09:07:49 +0000 (20:07 +1100)]
mgr/deepsea: always use 'password' parameter for salt-api auth
Prior to https://github.com/saltstack/salt/commit/
71d5601507 , the
salt-api expected the password to be sent using the 'sharedsecret'
parameter if using shared secrets, and the 'password' parameter
for other authentication types. The above commit unifies this so
that we always only need to use the 'password' parameter.
Signed-off-by: Tim Serong <tserong@suse.com>
Xie Xingguo [Tue, 12 Mar 2019 08:13:51 +0000 (16:13 +0800)]
Merge pull request #26902 from tchaikov/wip-doc-erasure-clay
doc/rados/operations: add clay to erasure-code-profile
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Tue, 12 Mar 2019 05:18:35 +0000 (13:18 +0800)]
doc/rados/operations: add clay to erasure-code-profile
so it's more visible.
Signed-off-by: Kefu Chai <kchai@redhat.com>
David Zafman [Mon, 11 Mar 2019 20:56:52 +0000 (13:56 -0700)]
qa/test-erasure-code.sh: Don't grep entire bluestore directory
Bluestore caused grep crash with "grep: memory exhausted" due to
size of "block" storage.
Fixes: http://tracker.ceph.com/issues/38678
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Mon, 11 Mar 2019 22:30:28 +0000 (15:30 -0700)]
qa: Don't create rbd pool because it creates an object
This also reverts commit
10b9626ea7b09e7c124067a2ce08a76eea073c9c .
Fixes: http://tracker.ceph.com/issues/38631
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Mon, 11 Mar 2019 16:42:55 +0000 (09:42 -0700)]
qa: Can't wait for clean when there aren't any pools/PGs.
Fixes: http://tracker.ceph.com/issues/38678
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 8 Mar 2019 04:34:48 +0000 (20:34 -0800)]
mon, osd: Fix log messages (missing space, convert int to string)
Binary data was ending up in the log file which could cause
terminals to produce garbage output.
Fixes: http://tracker.ceph.com/issues/38678
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Mon, 11 Mar 2019 22:29:24 +0000 (17:29 -0500)]
Merge PR #26763 into master
* refs/pull/26763/head:
mgr/diskprediction_cloud: Fixed cannot import string.maketrans in the python 3.x
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Jason Dillaman [Mon, 11 Mar 2019 21:00:41 +0000 (17:00 -0400)]
cls/rbd: fixed uninitialized variable compiler warning
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 11 Mar 2019 20:36:34 +0000 (15:36 -0500)]
Merge PR #26885 into master
* refs/pull/26885/head:
doc/releases/nautilus: add msgr2 refs
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Mon, 11 Mar 2019 20:33:14 +0000 (15:33 -0500)]
Merge PR #26736 into master
* refs/pull/26736/head:
mgr: push localized config handling into BaseMgr*Module
mgr: Fix broken get_localized_module_option function
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Sage Weil [Mon, 11 Mar 2019 20:01:15 +0000 (15:01 -0500)]
Merge PR #26856 into master
* refs/pull/26856/head:
os/bluestore: make osd_memory_limit default to .8x the cgroup limit
os/bluestore: observe osd_memory_target config options
common/config: set osd_memory_target based on POD_MEMORY_REQUEST
common/util: include group limit in daemon metadata
common/util: get_cgroup_memory_limit() helper
common/config: pass entity_type down into parse_env()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sébastien Han <seb@redhat.com>
Sage Weil [Mon, 11 Mar 2019 20:00:56 +0000 (15:00 -0500)]
Merge PR #26879 into master
* refs/pull/26879/head:
vstart.sh: make 'db' volume 1G instead of 64M
os/bluestore: make bluefs spillover messages nicer
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Mykola Golub [Mon, 11 Mar 2019 17:41:48 +0000 (19:41 +0200)]
Merge pull request #26878 from dillaman/wip-pool-init-validation
librbd: bypass pool validation if "rbd_validate_pool" is false
Reviewed-by: Mykola Golub <mgolub@suse.com>
Sage Weil [Mon, 11 Mar 2019 17:37:06 +0000 (12:37 -0500)]
Merge PR #26888 into master
* refs/pull/26888/head:
doc/releases/nautilus: add 'ceph-volume simple scan' to upgrade instructions
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Sage Weil [Fri, 8 Mar 2019 19:16:19 +0000 (13:16 -0600)]
os/bluestore: make osd_memory_limit default to .8x the cgroup limit
We do this at runtime in _set_cache_sizes so that changes to these values
at runtime will be picked up.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 8 Mar 2019 14:48:39 +0000 (08:48 -0600)]
mgr: push localized config handling into BaseMgr*Module
We need both (1) the raw key name (in order to look up the correct option
name and transform the result into the correct type) and (2) the optional
prefix (in order to look up both possible keys). This simplifies the
mgr_module implementation.
There is a weird mismatch between the way that BaseMgrModule and
BaseMgrStandbyModule implement this method. I suspect they could be
unified to work the same, but I'll leave that for another day.
Signed-off-by: Sage Weil <sage@redhat.com>
Volker Theile [Mon, 4 Mar 2019 08:55:40 +0000 (09:55 +0100)]
mgr: Fix broken get_localized_module_option function
Fixes: https://tracker.ceph.com/issues/38560
Signed-off-by: Volker Theile <vtheile@suse.com>
Patrick Donnelly [Mon, 11 Mar 2019 16:21:43 +0000 (09:21 -0700)]
Merge PR #26818 into master
* refs/pull/26818/head:
qa/cephfs: relax min_caps_per_client check
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 11 Mar 2019 16:10:57 +0000 (09:10 -0700)]
qa: unmount clients prior to marking fs down
Evicted RHEL7.5 clients may hang.
Fixes: http://tracker.ceph.com/issues/38677
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 11 Mar 2019 16:06:32 +0000 (09:06 -0700)]
qa: stop testing simple messenger in CephFS suites
Simple messenger is on it's way out and it doesn't work with msgr2.
Fixes: http://tracker.ceph.com/issues/38676
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Mon, 11 Mar 2019 13:52:28 +0000 (08:52 -0500)]
doc/releases/nautilus: add msgr2 refs
Signed-off-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Mon, 11 Mar 2019 14:56:07 +0000 (15:56 +0100)]
Merge pull request #26883 from rhcs-dashboard/wip-38657-master
mgr/dashboard: Change 'Client Recovery' title
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Mykola Golub [Mon, 11 Mar 2019 14:44:42 +0000 (16:44 +0200)]
Merge pull request #26721 from dillaman/wip-38538
librbd: improve object map performance under high IOPS workloads
Reviewed-by: Mykola Golub <mgolub@suse.com>
Sage Weil [Mon, 11 Mar 2019 14:14:02 +0000 (09:14 -0500)]
doc/releases/nautilus: add 'ceph-volume simple scan' to upgrade instructions
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Mon, 11 Mar 2019 14:40:24 +0000 (10:40 -0400)]
Merge pull request #26799 from wjwithagen/wjw-fix-/src/test/rgw/CMakeLists.txt
build/rgw: unittest_rgw_dmclock_scheduler does not need Boost_LIBRARIES
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 11 Mar 2019 14:27:13 +0000 (09:27 -0500)]
Merge PR #26877 into master
* refs/pull/26877/head:
mgr/MgrStandby: exit with 0 result code, as if we'd done an orderly shutdown
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Fri, 8 Mar 2019 18:22:36 +0000 (12:22 -0600)]
os/bluestore: observe osd_memory_target config options
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 8 Mar 2019 16:46:40 +0000 (10:46 -0600)]
common/config: set osd_memory_target based on POD_MEMORY_REQUEST
Signed-off-by: Sage Weil <sage@redhat.com>
Ilya Dryomov [Mon, 11 Mar 2019 13:38:01 +0000 (14:38 +0100)]
Merge PR #26858 into master
* refs/pull/26858/head:
qa: krbd deep-flatten test
qa/suites/krbd: enable deep-flatten feature
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Sun, 10 Mar 2019 15:48:21 +0000 (10:48 -0500)]
mgr/MgrStandby: exit with 0 result code, as if we'd done an orderly shutdown
This matches the prior behavior with shutdown(). It also makes
teuthology happy.
Signed-off-by: Sage Weil <sage@redhat.com>
Ernesto Puerta [Mon, 11 Mar 2019 12:38:02 +0000 (13:38 +0100)]
mgr/dashboard: Change 'Client Recovery' title
Rename 'Client Recovery' info-card title to 'Recovery Throughput' as:
- 'Client' is a misleading concept there, as long as all recovery is
server-side driven.
- No indication of the kind of metric (e.g.: IOPS, throughput, etc).
Fixes: https://tracker.ceph.com/issues/38657
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Jason Dillaman [Mon, 11 Mar 2019 12:23:29 +0000 (08:23 -0400)]
Merge pull request #26825 from idryomov/wip-copyup-truncate
librbd: don't do create+truncate for discards with copyup
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Paul Cuzner [Mon, 11 Mar 2019 00:46:18 +0000 (13:46 +1300)]
Add recovery metrics to prometheus exporter
Recovery information was missing from the exporter
stats. The source of the info is osd pool stats,
which was moved to mgr in the Mimic release. This
change adds recovery rates by pool, and also
includes a scrape_duration_seconds metric to track
latency of the exporter
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
Xie Xingguo [Mon, 11 Mar 2019 00:36:48 +0000 (08:36 +0800)]
Merge pull request #26867 from liewegas/wip-doc-msgr2
doc/rados/configuration/msgr2: some documentation about msgr2
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Sun, 10 Mar 2019 21:47:15 +0000 (16:47 -0500)]
vstart.sh: make 'db' volume 1G instead of 64M
64M is barely usable.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 10 Mar 2019 21:39:51 +0000 (16:39 -0500)]
os/bluestore: make bluefs spillover messages nicer
Was
osd:50 spilled over to slow device: 1.3 GiB
Now
osd.0 spilled over 1.7 GiB metadata from 'db' device (1000 MiB used of 1024 MiB) to slow device
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Sun, 10 Mar 2019 19:49:15 +0000 (15:49 -0400)]
librbd: bypass pool validation if "rbd_validate_pool" is false
This config option is already used by the create image state
machine. This should address a broken test case when validating
pool vs self-managed snapshots.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sun, 10 Mar 2019 18:24:56 +0000 (14:24 -0400)]
Merge pull request #26801 from wjwithagen/wjw-fix-use-binutils-ld
build: LLVM ld does not like the versioning scheme
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Patrick Donnelly [Sun, 10 Mar 2019 17:38:16 +0000 (10:38 -0700)]
Merge PR #26859 into master
* refs/pull/26859/head:
qa: ignore slow metadata io wrn during osd thrash
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Jason Dillaman [Thu, 28 Feb 2019 21:43:27 +0000 (16:43 -0500)]
librbd: improve object map performance under high IOPS workloads
Do not zero-fill the BitVector's bitset prior to decoding the data.
Additionally, only read-update-modify the portions of the footer
that are potentially affected by the updated state.
Fixes: http://tracker.ceph.com/issues/38538
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sun, 10 Mar 2019 14:21:06 +0000 (10:21 -0400)]
Merge pull request #26876 from wjwithagen/wjw-fix-src/test/librbd/operation/test_mock_TrimRequest.cc
librbd: avoid aggregate-initializing any static_visitor
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Willem Jan Withagen [Sun, 10 Mar 2019 10:51:09 +0000 (11:51 +0100)]
librbd: avoid aggregate-initializing any static_visitor
This will result in an error complaining about a protected dtor.
also see:
https://github.com/ceph/ceph/pull/26838
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Fri, 8 Mar 2019 22:52:38 +0000 (16:52 -0600)]
doc/rados/configuration/msgr2: some documentation about msgr2
This doesn't integrate very well into network-config.rst, mostly because
that document is horribly out of data and I don't know where to start.
:(
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 9 Mar 2019 23:38:27 +0000 (17:38 -0600)]
Merge PR #26849 into master
* refs/pull/26849/head:
Revert "msg/async: msgr2: expected tags validation"
msg/async/ProtocolV2: state machine verifications
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 9 Mar 2019 19:22:56 +0000 (13:22 -0600)]
Merge PR #26869 into master
* refs/pull/26869/head:
qa/standalone/erasure-code/test-erasure-eio.sh: still need to create rbd pool
qa/standalone/scrub/osd-scrub-repair: fix unfound grep
qa/standalone/ceph-helpers: fix test_wait_for_clean
qa/standalone/ceph-helpers.sh: fix test_run_mon
qa/standalone/osd/osd-rep-recov-eio: fix better
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Sat, 9 Mar 2019 18:15:26 +0000 (10:15 -0800)]
Merge PR #26713 into master
* refs/pull/26713/head:
mds: wait for client to release shared cap when re-acquiring xlock
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Sat, 9 Mar 2019 17:00:57 +0000 (11:00 -0600)]
Merge PR #26828 into master
* refs/pull/26828/head:
src/tools/kvstore_tool.cc: Move bluestore start-up code
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 9 Mar 2019 15:34:49 +0000 (09:34 -0600)]
qa/standalone/erasure-code/test-erasure-eio.sh: still need to create rbd pool
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 9 Mar 2019 15:29:33 +0000 (09:29 -0600)]
Merge PR #26660 into master
* refs/pull/26660/head:
include/intarith: enforce the same type for p2*() arguments
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 9 Mar 2019 15:28:18 +0000 (09:28 -0600)]
Merge PR #26831 into master
* refs/pull/26831/head:
mon/OSDMonitor: add newline
mgr/pg_autoscaler: drop undefined variable 'cr_name'
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 9 Mar 2019 15:27:56 +0000 (09:27 -0600)]
Merge PR #26779 into master
* refs/pull/26779/head:
mgr/status: fix 'ceph fs status' AttributeError
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Brad Hubbard [Fri, 8 Mar 2019 01:31:32 +0000 (11:31 +1000)]
src/tools/kvstore_tool.cc: Move bluestore start-up code
Move this code into a separate function to avoid ICE.
Fixes: http://tracker.ceph.com/issues/38633
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Sage Weil [Sat, 9 Mar 2019 00:23:48 +0000 (18:23 -0600)]
qa/standalone/scrub/osd-scrub-repair: fix unfound grep
It's now "1/2 unfound":
1/2 objects unfound (50.000%)
..presumably due to the rbd pool init creating the rbd_directory.
Signed-off-by: Sage Weil <sage@redhat.com>