]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Fri, 15 Mar 2019 11:27:17 +0000 (06:27 -0500)]
ms/async/ProtocolV2: add ms_die_on_bug and assert rxbuf/txbuf don't get big
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 15 Mar 2019 03:50:29 +0000 (22:50 -0500)]
msg/async/ProtocolV2: do not reenable pre_auth buffering on from reset_recv_state
This is specifically bad because we call reset_recv_state from
reuse_connection, which turns buffering back on on an already-authenticated
session.
Instead, reenable it only when we set the state to START_CONNECT. (On
the accepting side, it is a fresh connection, so it starts out true.)
Also, we want to *disable* it on the connection we are reusing, which
might be in a pre-auth state, while we are in a post-auth state.
Fixes: http://tracker.ceph.com/issues/38746
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 14 Mar 2019 22:17:25 +0000 (17:17 -0500)]
Merge PR #26905 into nautilus
* refs/pull/26905/head:
mgr: Cleanup get_localized_module_option function
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Sage Weil [Thu, 14 Mar 2019 15:04:14 +0000 (10:04 -0500)]
Merge PR #26875 into nautilus
* refs/pull/26875/head:
common: implement HMACs on top of OpenSSL.
msg/async, v2: switch the pre-auth mechanism to HMAC-SHA256.
include/types: beef sha_digest_t up with encode and compare.
auth: add hmac_sha256() to CryptoKey.
msg/async, v2: introduce pre_auth exchanges with CRC32.
msg/async, v2: introduce pre_auth buffers.
msg/async, v2: rectify the encapsulation of rx_segments_{desc,data}.
msg/async, v2: rework decoding of MessageFrame.
msg/async, v2: limit the num_segments to non-empty segments.
msg/async, v2: drop the bl onwire space optimization in ControlFrames.
msg/async, v2: clean up ret handling in ProtocolV2::write().
msg/async, v2: drop next_payload_len as we don't need anymore.
msg/async, v2: drop temp_buffer and limitations driven by it.
msg/async, v2: switch to rx_buffer_t entirely.
msg/async, v2: rx continuations use buffer::ptr_node.
msg/async, v2: use bptr continuation for segment reading.
msg/async: introduce bptr-carrying continuations.
msg/async: replace CONTINUATION_PARAM() with specialized types.
msg/async, v2: ::_banner_exchange() takes CtRef instead of CtPtr.
msg/async: avoid extra pointers in continuation definitions.
msg/async, v2: dissect setting stream handlers into ::finish_auth().
msg/async, v2: drop ceph_msg_header2 handling from ControlFrames.
msg/async, v2: drop the SignedEncryptedFrame entirely.
msg/async, v2: reintroduce segment aligment. It's compile-time now.
msg/async, v2: generalize Frame about number of segments.
msg/async, v2: rework and generalize Frame encryption.
msg/async, v2: rework the class hierarchy - introduce MessageFrame.
msg/async, v2: rework the class hierarchy - introduce ControlFrame.
msg/async/ProtocolV2: remove obsolete AuthFlags
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Thu, 14 Mar 2019 14:27:03 +0000 (10:27 -0400)]
Merge pull request #26918 from trociny/wip-rbd-bench-wait-on-interrupted
rbd: wait for all io complete when bench is interrupted
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Volker Theile [Tue, 12 Mar 2019 09:06:01 +0000 (10:06 +0100)]
mgr: Cleanup get_localized_module_option function
Address comments from https://github.com/ceph/ceph/pull/26736.
Signed-off-by: Volker Theile <vtheile@suse.com>
Sage Weil [Thu, 14 Mar 2019 12:22:30 +0000 (07:22 -0500)]
Merge PR #26948 into nautilus
* refs/pull/26948/head:
rbd-nbd: fix segfault for list-mapped command
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 14 Mar 2019 12:07:26 +0000 (07:07 -0500)]
Merge PR #26864 into nautilus
* refs/pull/26864/head:
rados: update to latest ver. of dmclock lib w performance enhancements
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: yanjun <yan.jun8@zte.com.cn>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 14 Mar 2019 12:01:46 +0000 (07:01 -0500)]
Merge PR #26921 into nautilus
* refs/pull/26921/head:
mgr/telemetry: fix 'telemetry {on,off}'
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 14 Mar 2019 11:59:05 +0000 (06:59 -0500)]
Merge PR #26924 into nautilus
* refs/pull/26924/head:
auth/cephx: fix decode_encrypt error handling
auth/cephx: fix encode_encrypt error handling
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Thu, 14 Mar 2019 11:42:32 +0000 (12:42 +0100)]
Merge pull request #26951 from ricardoasmarques/validate-ceph-iscsi-config-version-nautilus
nautilus: mgr/dashboard: Validate `ceph-iscsi` config version
Reviewed-by: Ricardo Dias <rdias@suse.com>
Ricardo Marques [Fri, 8 Mar 2019 12:11:54 +0000 (12:11 +0000)]
mgr/dashboard: Validate `ceph-iscsi` config version
Signed-off-by: Ricardo Marques <rimarques@suse.com>
(cherry picked from commit
b9b2b562ccf5dc6469d11912ee28dd2d932fdb48 )
Mykola Golub [Thu, 14 Mar 2019 07:47:34 +0000 (07:47 +0000)]
rbd-nbd: fix segfault for list-mapped command
The global ceph context is not initialized when list-mapped command
is issued.
The regression was introduced by
a92628f2857390460e35ae60b8e06f16296da481 .
Signed-off-by: Mykola Golub <mgolub@suse.com>
Patrick Donnelly [Thu, 14 Mar 2019 03:37:03 +0000 (20:37 -0700)]
Merge PR #26935 into nautilus
* refs/pull/26935/head:
qa: extend MDS heartbeat grace for valgrind
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Thu, 14 Mar 2019 03:31:01 +0000 (20:31 -0700)]
Merge PR #26916 into nautilus
* refs/pull/26916/head:
qa: ignore MON_DOWN for volume-client testing
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 14 Mar 2019 03:07:45 +0000 (22:07 -0500)]
Merge PR #26894 into nautilus
* refs/pull/26894/head:
qa/standalone/erasure-code/test-erasure-code: adjust test to avoid m=0
erasure-code: ensure m >= 1
mon/OSDMonitor: set ec min_size to k + min(1, m - 1)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Patrick Donnelly [Wed, 13 Mar 2019 20:23:52 +0000 (13:23 -0700)]
Merge PR #26919 into nautilus
* refs/pull/26919/head:
doc: add CephFS notes for nautilus
Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
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>
Sage Weil [Wed, 13 Mar 2019 18:31:03 +0000 (13:31 -0500)]
Merge remote-tracking branch 'gh/nautilus'
Sage Weil [Wed, 13 Mar 2019 17:46:50 +0000 (12:46 -0500)]
qa/standalone/erasure-code/test-erasure-code: adjust test to avoid m=0
_DD is k=2 m=0, which we don't allow. Switch it to cDD.
I confess I don't fully understand why this was _DD to begin with, but
I'm pretty sure mapping is there to control the order of results so that
it can be mapped to the CRUSH rule output sanely, and the coding portion
is not relevant to the test.
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Wed, 13 Mar 2019 16:13:02 +0000 (09:13 -0700)]
qa: extend MDS heartbeat grace for valgrind
Valgrind makes the MDS slowwwww. The newish mds_heartbeat_grace config allows
us to keep sending beacons to the mons even if the internal heartbeat is slow.
This avoids the laggy messages which are useful to grep for unrelated messaging
issues.
Fixes: http://tracker.ceph.com/issues/38723
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>
Sage Weil [Tue, 12 Mar 2019 22:07:56 +0000 (17:07 -0500)]
mgr/telemetry: fix 'telemetry {on,off}'
Signed-off-by: Sage Weil <sage@redhat.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>
xie xingguo [Wed, 13 Mar 2019 09:21:24 +0000 (17:21 +0800)]
auth/cephx: fix decode_encrypt error handling
**decode_encrypt** returns 0 on success, 1 otherwise
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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>
xie xingguo [Wed, 13 Mar 2019 08:30:54 +0000 (16:30 +0800)]
auth/cephx: fix encode_encrypt error handling
**encode_encrypt** returns 0 on success, 1 otherwise
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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>
Radoslaw Zarzynski [Mon, 11 Mar 2019 22:09:37 +0000 (23:09 +0100)]
common: implement HMACs on top of OpenSSL.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Sat, 9 Mar 2019 14:01:21 +0000 (15:01 +0100)]
msg/async, v2: switch the pre-auth mechanism to HMAC-SHA256.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Sat, 9 Mar 2019 13:57:04 +0000 (14:57 +0100)]
include/types: beef sha_digest_t up with encode and compare.
BEWARE: sha_digest_t is part of our public. The commit tries to
preserve it as the cost of avoiding a clean-up.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Sat, 9 Mar 2019 13:00:32 +0000 (14:00 +0100)]
auth: add hmac_sha256() to CryptoKey.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Sat, 9 Mar 2019 02:47:21 +0000 (03:47 +0100)]
msg/async, v2: introduce pre_auth exchanges with CRC32.
CRC32 is just scaffolding and will be replaced with
HMAC-SHA256 or other msg auth code.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@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>
Mykola Golub [Tue, 12 Mar 2019 18:22:25 +0000 (18:22 +0000)]
rbd: wait for all io complete when bench is interrupted
Signed-off-by: Mykola Golub <mgolub@suse.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>
Sage Weil [Tue, 12 Mar 2019 13:57:21 +0000 (08:57 -0500)]
erasure-code: ensure m >= 1
Fixes: http://tracker.ceph.com/issues/38682
Signed-off-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:38:55 +0000 (10:38 -0700)]
qa: ignore MON_DOWN for volume-client testing
The test restarts the monitors.
Fixes: http://tracker.ceph.com/issues/38704
Signed-off-by: Patrick Donnelly <pdonnell@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>
Sage Weil [Mon, 11 Mar 2019 17:52:23 +0000 (12:52 -0500)]
mon/OSDMonitor: set ec min_size to k + min(1, m - 1)
Signed-off-by: Sage Weil <sage@redhat.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>
Jenkins Build Slave User [Mon, 11 Mar 2019 16:42:55 +0000 (16:42 +0000)]
14.1.1
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>