]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yuri Weinstein [Tue, 19 Mar 2019 20:19:30 +0000 (13:19 -0700)]
qa/tests: reduced frequency for luminous and mimic runs
added all suites for nauitlus
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Ilya Dryomov [Tue, 19 Mar 2019 14:31:33 +0000 (15:31 +0100)]
Merge PR #27042 into master
* refs/pull/27042/head:
qa: add krbd_discard_granularity.t test
qa: update and rename krbd_discard_1b.t
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 19 Mar 2019 12:07:27 +0000 (20:07 +0800)]
Merge pull request #27004 from tchaikov/wip-crimson-osdmap
crimson/osd: crimson/osd: do not load fullmap.0
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Nathan Cutler [Tue, 19 Mar 2019 11:16:24 +0000 (12:16 +0100)]
Merge pull request #26973 from smithfarm/wip-nautilus-backports
script: enable nautilus in backport scripts
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Ilya Dryomov [Mon, 18 Mar 2019 19:06:20 +0000 (20:06 +0100)]
qa: add krbd_discard_granularity.t test
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Sage Weil [Tue, 19 Mar 2019 10:38:11 +0000 (05:38 -0500)]
Merge PR #27019 into master
* refs/pull/27019/head:
doc/releases/nautilus: add reference to msgr2 config update section
doc/cephfs/nfs: update ceph.conf example
doc/releases/nautilus: final upgrade note updates
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Tue, 19 Mar 2019 09:10:52 +0000 (10:10 +0100)]
Merge pull request #26772 from sebastian-philipp/orchestrator-rm-stateful-rule
mgr/orchestrator: Remove `(add|test|remove)_stateful_service_rule`
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Sage Weil [Tue, 19 Mar 2019 08:08:21 +0000 (03:08 -0500)]
Merge tag 'v14.2.0'
v14.2.0
Kefu Chai [Tue, 19 Mar 2019 03:16:18 +0000 (11:16 +0800)]
Merge pull request #26977 from p-na/wip-pna-fix-tox-env-vars
mgr/dashboard: Fix env vars of `run-tox.sh`
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Mon, 18 Mar 2019 21:35:04 +0000 (17:35 -0400)]
Merge pull request #26095 from bbc/s3secretcache
rgw: Added caching for S3 credentials retrieved from keystone
Casey Bodley [Mon, 18 Mar 2019 19:13:06 +0000 (15:13 -0400)]
Merge pull request #26564 from theanalyst/wip-reshard-lc-fixes
rgw: LC: handle resharded buckets
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 18 Mar 2019 19:04:37 +0000 (15:04 -0400)]
Merge pull request #27001 from linuxbox2/wip-rgw-delimchar
rgw: fix signed char truncation in delimiter check
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Ilya Dryomov [Mon, 18 Mar 2019 18:15:30 +0000 (19:15 +0100)]
qa: update and rename krbd_discard_1b.t
Passing 1 for alloc_size is no longer allowed.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Sage Weil [Mon, 18 Mar 2019 17:10:50 +0000 (12:10 -0500)]
Merge remote-tracking branch 'gh/nautilus'
Kefu Chai [Mon, 18 Mar 2019 16:00:37 +0000 (00:00 +0800)]
Merge pull request #26457 from mogeb/osd-stop-steady-clock
osd: use steady clock in prepare_to_stop()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Nawracay [Fri, 15 Mar 2019 10:21:52 +0000 (10:21 +0000)]
mgr/dashboard: Fix env vars of `run-tox.sh`
Fixes: http://tracker.ceph.com/issues/38798
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Jenkins Build Slave User [Mon, 18 Mar 2019 10:08:29 +0000 (10:08 +0000)]
14.2.0
Sage Weil [Mon, 18 Mar 2019 08:14:24 +0000 (03:14 -0500)]
doc/releases/nautilus: add reference to msgr2 config update section
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 18 Mar 2019 04:16:49 +0000 (23:16 -0500)]
doc/cephfs/nfs: update ceph.conf example
and reference 'ceph config generate-minimal-conf'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 18 Mar 2019 04:09:34 +0000 (23:09 -0500)]
Merge PR #26956 into nautilus
* refs/pull/26956/head:
doc/releases/nautilus: more detail around ceph-volume step
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Brad Hubbard [Sun, 17 Mar 2019 21:07:46 +0000 (07:07 +1000)]
Merge pull request #27013 from badone/wip-nautilus-CA-change
qa/ceph-ansible: Move to Nautilus
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Kefu Chai [Sun, 17 Mar 2019 17:22:44 +0000 (01:22 +0800)]
Merge pull request #27011 from liewegas/wip-redirect-mimic
qa/suites/upgrade/mimic-x/parallel: enable all classes
Reviewed-by: Myoungwon Oh <omwmw@sk.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 17 Mar 2019 17:22:01 +0000 (01:22 +0800)]
Merge pull request #27018 from liewegas/wip-38294
qa/suites/upgrade/luminous-x: disable c-o-t import/export tests between versions
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sun, 17 Mar 2019 13:32:11 +0000 (08:32 -0500)]
Merge PR #26960 into nautilus
* refs/pull/26960/head:
ceph_release: nautilus is will be 'stable' for v14.2.0
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Sage Weil [Sun, 17 Mar 2019 13:19:54 +0000 (08:19 -0500)]
Merge PR #27017 into master
* refs/pull/27017/head:
osd: transpose two wait lists in comment
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 17 Mar 2019 10:29:27 +0000 (05:29 -0500)]
doc/releases/nautilus: final upgrade note updates
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 17 Mar 2019 09:59:36 +0000 (04:59 -0500)]
qa/suitse/upgrade/luminous-x/stress-split-erasure-code: disable c-o-t tests
The stress-split thrasher already had this off, but the ec variant did
not. We don't support ceph-objectstore-tool exports/imports between major
versions.
Fixes: http://tracker.ceph.com/issues/38294
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 17 Mar 2019 07:21:14 +0000 (15:21 +0800)]
osd: transpose two wait lists in comment
see PrimaryLogPG::do_request(), we check for
1. is_peered(), then
2. flushes_in_progress, then
3. is_active()
4. scrubber.is_chunky_scrub_active() && write_blocked_by_scrub(head) in
PrimaryLogPG::do_op() which is called by PrimaryLogPG::do_request().
while in PrimaryLogPG::on_change()
we requeue the waiting request in the reversed order,
1. requeue_ops(waiting_for_peered);
2. requeue_ops(waiting_for_flush);
3. requeue_ops(waiting_for_active);
so the comment is not in sync with the code. in this change,
"waiting_for_active" and "waiting_for_flush" are transposed in the
comment explaining blocked request wait lists.
also, sync the pre-conditions of "waiting_for_peered" and
"waiting_for_flush" with "PrimaryLogPG::do_request()"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 16 Mar 2019 22:15:33 +0000 (17:15 -0500)]
Merge PR #26822 into master
* refs/pull/26822/head:
osd/PG: adjust pg history on fabricated merge target if necessary
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Sat, 16 Mar 2019 22:12:01 +0000 (17:12 -0500)]
ceph_test_rados_api_tier_cxx: remove mimic checks
These checks don't work when the cluster is newer than mimic.
Instead, let's just try not to run this test on a pre-mimic cluster.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 16 Mar 2019 20:47:29 +0000 (15:47 -0500)]
Merge PR #27002 into nautilus
* refs/pull/27002/head:
mgr/telemetry: check for errors when sending report
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 16 Mar 2019 20:27:29 +0000 (15:27 -0500)]
qa/suites/upgrade/mimic-x/parallel: enable all classes
This fixes the redirect tiering tests, which need the 'cas' class.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 16 Mar 2019 20:21:37 +0000 (15:21 -0500)]
ceph_test_rados_api_tier_cxx: remove luminous check
It was a flawed check, since it would fail for anything newer than
luminous. And in any case, we don't need it anymore.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 16 Mar 2019 18:03:54 +0000 (13:03 -0500)]
Merge PR #27000 into nautilus
* refs/pull/27000/head:
osd: stringify as int
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Xie Xingguo [Sat, 16 Mar 2019 11:49:37 +0000 (19:49 +0800)]
Merge pull request #26975 from xiexingguo/wip-mon-pri-lost
mon/MonMap: always set mon priority; add it to dump
Reviewed-by: Kefu Chai <kchai@redhat.com>
Xie Xingguo [Sat, 16 Mar 2019 11:48:11 +0000 (19:48 +0800)]
Merge pull request #26903 from xiexingguo/wip-ds-auth
mgr/DaemonServer: handle caps more carefully
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 9 Mar 2019 04:41:32 +0000 (12:41 +0800)]
crimson/osd: do not load fullmap.0
fullmap.0 is an empty map, it used when we try to rebase inc_map.1.
Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 8 Mar 2019 11:07:25 +0000 (19:07 +0800)]
crimson/osd: reuse load_map() in store_maps()
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Mar 2019 03:56:30 +0000 (11:56 +0800)]
crimson/osd: add OSD::load_map()
so we can reuse it when we need to load an non-cached osdmap.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Feb 2019 03:26:46 +0000 (11:26 +0800)]
crimson/osd: use boost::make_counting_iterator()
no need to repeat the type of the iterator.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 28 Feb 2019 03:18:33 +0000 (11:18 +0800)]
crimson/osd: advance thru maps sequentially
we should not do this in parallel.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Dan Mick [Sat, 16 Mar 2019 03:05:46 +0000 (20:05 -0700)]
mgr/telemetry: check for errors when sending report
There was no error checking, and the server has been failing for
some time, but no one noticed. Oops.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Brad Hubbard [Fri, 15 Mar 2019 00:06:30 +0000 (10:06 +1000)]
qa/ceph-ansible: Move to Nautilus
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Matt Benjamin [Fri, 15 Mar 2019 22:34:28 +0000 (18:34 -0400)]
rgw: fix signed char truncation in delimiter check
Fixes: https://tracker.ceph.com/issues/24821
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Sage Weil [Fri, 15 Mar 2019 21:49:02 +0000 (16:49 -0500)]
Merge PR #26563 into nautilus
* refs/pull/26563/head:
doc/ceph-volume/lvm/batch: fix typos
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 15 Mar 2019 21:48:27 +0000 (16:48 -0500)]
Merge PR #26994 into nautilus
* refs/pull/26994/head:
doc: add scrub link for nautilus release notes
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 15 Mar 2019 21:45:53 +0000 (16:45 -0500)]
Merge PR #26822 into nautilus
* refs/pull/26822/head:
osd/PG: adjust pg history on fabricated merge target if necessary
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Fri, 15 Mar 2019 21:43:33 +0000 (16:43 -0500)]
Merge PR #26986 into nautilus
* refs/pull/26986/head:
mgr: Make 3rd parameter optional in ceph_get_module_option
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 15 Mar 2019 21:43:17 +0000 (16:43 -0500)]
Merge PR #26949 into nautilus
* refs/pull/26949/head:
mgr/dashboard: add test_module_selftest to API tests
Reviewed-by: Volker Theile <vtheile@suse.com>
Sage Weil [Fri, 15 Mar 2019 21:41:53 +0000 (16:41 -0500)]
osd: stringify as int
Otherwise we get
$ hexdump -C require_osd_release
00000000 0e 0a |..|
00000002
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 14 Mar 2019 19:43:08 +0000 (14:43 -0500)]
doc/releases/nautilus: more detail around ceph-volume step
Recommend host reboots to verify ceph-volume adoption worked.
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Fri, 15 Mar 2019 21:06:34 +0000 (17:06 -0400)]
Merge pull request #26997 from cbodley/wip-38008
doc/rgw: document placement targets and storage classes
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Fri, 15 Mar 2019 20:29:04 +0000 (15:29 -0500)]
Merge PR #26995 into nautilus
* refs/pull/26995/head:
osd/PG: fix pg merge check for rc clusters
Reviewed-by: Neha Ojha <nojha@redhat.com>
Casey Bodley [Fri, 15 Mar 2019 18:29:43 +0000 (14:29 -0400)]
doc/rgw: document storage class configuration
Fixes: http://tracker.ceph.com/issues/38008
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 15 Mar 2019 18:35:13 +0000 (14:35 -0400)]
doc/rgw: document placement target configuration
Fixes: http://tracker.ceph.com/issues/24508
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Fri, 15 Mar 2019 17:24:52 +0000 (12:24 -0500)]
osd/PG: fix pg merge check for rc clusters
If a cluster had a pg merge pending before last_pg_merge_meta was
introduced then the source_pgid will be pg_t(). If that's the case,
skip these new checks.
Likewise, if we decode a legacy pg_pool_t, put the old merge les/lec
values into the correct location.
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Fri, 15 Mar 2019 17:15:58 +0000 (10:15 -0700)]
doc: add scrub link for nautilus release notes
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Fri, 15 Mar 2019 17:09:35 +0000 (12:09 -0500)]
Merge PR #26958 into nautilus
* refs/pull/26958/head:
mon: avoid using naked pointer
msg/async: do not "return std::move(local_var)"
mon: do not assert on bad auth payload
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sage Weil [Fri, 15 Mar 2019 17:09:18 +0000 (12:09 -0500)]
Merge PR #26959 into nautilus
* refs/pull/26959/head:
mgr/crash: include entity (instead of daemon) in 'crash ls'
Reviewed-by: Dan Mick <dmick@redhat.com>
Sage Weil [Fri, 15 Mar 2019 17:08:34 +0000 (12:08 -0500)]
Merge PR #26965 into nautilus
* refs/pull/26965/head:
ms/async/ProtocolV2: add ms_die_on_bug and assert rxbuf/txbuf don't get big
msg/async/ProtocolV2: do not reenable pre_auth buffering on from reset_recv_state
Reviewed-by: Ricardo Dias <rdias@suse.com>
Patrick Donnelly [Fri, 15 Mar 2019 16:36:57 +0000 (09:36 -0700)]
Merge PR #26974 into nautilus
* refs/pull/26974/head:
doc: add cephfs scrub related admin document
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Lenz Grimmer [Fri, 15 Mar 2019 15:40:40 +0000 (16:40 +0100)]
Merge pull request #26984 from ricardoasmarques/remove-iscsi-gateway-param-nautilus
mgr/dashboard: Drop iSCSI gateway name parameter
Reviewed-by: Ricardo Dias <rdias@suse.com>
Patrick Donnelly [Fri, 15 Mar 2019 15:29:58 +0000 (08:29 -0700)]
Merge PR #26937 into master
* refs/pull/26937/head:
doc: add package for Golang
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Fri, 15 Mar 2019 14:55:43 +0000 (10:55 -0400)]
Merge pull request #26981 from linuxbox2/wip-nfs-sysobj
rgw: nfs: svc-enable RGWLib
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Matt Benjamin [Fri, 15 Mar 2019 14:48:33 +0000 (10:48 -0400)]
Merge pull request #26863 from linuxbox2/wip-rgw-delimiter
rgw: prefix-delimiter listing: support >1 character delimiter
Volker Theile [Fri, 15 Mar 2019 14:42:44 +0000 (15:42 +0100)]
mgr: Make 3rd parameter optional in ceph_get_module_option
Fixes: https://tracker.ceph.com/issues/38766
File "/usr/share/ceph/mgr/mgr_module.py", line 863, in _handle_command
2019-03-15T11:28:31.324 INFO:tasks.ceph.mgr.x.mira117.stderr: return self.handle_command(inbuf, cmd)
2019-03-15T11:28:31.324 INFO:tasks.ceph.mgr.x.mira117.stderr: File "/usr/share/ceph/mgr/selftest/module.py", line 114, in handle_command
2019-03-15T11:28:31.324 INFO:tasks.ceph.mgr.x.mira117.stderr: self._self_test()
2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: File "/usr/share/ceph/mgr/selftest/module.py", line 213, in _self_test
2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: self._self_test_config()
2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: File "/usr/share/ceph/mgr/selftest/module.py", line 313, in _self_test_config
2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: assert self.get_module_option_ex("foo", "bar") is None
2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: File "/usr/share/ceph/mgr/mgr_module.py", line 942, in get_module_option_ex
2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: r = self._ceph_get_module_option(module, key)
2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr:TypeError: ceph_get_module_option() takes exactly 3 arguments (2 given)
Signed-off-by: Volker Theile <vtheile@suse.com>
Casey Bodley [Fri, 15 Mar 2019 14:20:17 +0000 (10:20 -0400)]
Merge pull request #26954 from linuxbox2/wip-nfs-null-path
rgw: nfs: skip empty (non-POSIX) path segments
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Ricardo Marques [Fri, 15 Mar 2019 13:50:09 +0000 (13:50 +0000)]
mgr/dashboard: Drop iSCSI gateway name parameter
iSCSI gateway name will now be obtained from the
ceph-iscsi `/api/sysinfo/hostname` endpoint
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Matt Benjamin [Thu, 14 Mar 2019 21:25:20 +0000 (17:25 -0400)]
rgw: nfs: svc-enable RGWLib
Add minimal svc_sys_obj.h boilerplate to RGWLibRequest. Fix a
trivial illegal access from RGWPutObjProcessor's RadosWriter
when the request object is not stack allocated.
Fixes: https://tracker.ceph.com/issues/38769
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Fri, 15 Mar 2019 13:31:34 +0000 (09:31 -0400)]
Merge pull request #26971 from theanalyst/nautilus-rgw-enoent-mdlog
rgw_sync: drop ENOENT error logs from mdlog
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Alfredo Deza [Fri, 15 Mar 2019 13:12:35 +0000 (09:12 -0400)]
Merge pull request #26957 from ceph/wip-bz1666822
ceph-volume: look for rotational data in lsblk
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Kefu Chai [Fri, 15 Mar 2019 03:27:53 +0000 (11:27 +0800)]
mon: avoid using naked pointer
to save our trouble to delete auth_handler in the error handling paths
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 15 Mar 2019 03:22:13 +0000 (11:22 +0800)]
msg/async: do not "return std::move(local_var)"
it prevents copy elision. and both GCC and Clang warn like
warning: moving a local object in a return statement prevents copy
elision [-Wpessimizing-move]
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 14 Mar 2019 21:46:21 +0000 (16:46 -0500)]
mon: do not assert on bad auth payload
If we get garbage, fail to authenticate--do not assert out and crash.
Signed-off-by: Sage Weil <sage@redhat.com>
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>
Nathan Cutler [Fri, 15 Mar 2019 10:36:25 +0000 (11:36 +0100)]
script: enable nautilus in ceph-release-notes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Lenz Grimmer [Fri, 15 Mar 2019 09:57:03 +0000 (10:57 +0100)]
Merge pull request #26733 from votdev/use_boolean_text
mgr/dashboard: Use booleanText pipe
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Lenz Grimmer [Fri, 15 Mar 2019 09:38:00 +0000 (10:38 +0100)]
Merge pull request #26738 from votdev/fix_docs
mgr/dashboard: Fix issues in controllers/docs
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tina Kallio <tina.kallio@gmail.com>
Venky Shankar [Fri, 15 Mar 2019 09:26:47 +0000 (14:56 +0530)]
doc: add cephfs scrub related admin document
Fixes: http://tracker.ceph.com/issues/38728
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Nathan Cutler [Fri, 15 Mar 2019 09:08:20 +0000 (10:08 +0100)]
script: enable nautilus in ceph-backport.sh
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 15 Mar 2019 09:04:01 +0000 (10:04 +0100)]
script: enable nautilus in backport-create-issue
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Abhishek Lekshmanan [Tue, 12 Mar 2019 10:09:03 +0000 (11:09 +0100)]
rgw_sync: drop ENOENT error logs from mdlog
Since this commonly occurs and isn't an error of concern at level 1.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
c246abb3935266f9335cab97e52ab489cc7ebfd6 )
xie xingguo [Fri, 15 Mar 2019 08:14:20 +0000 (16:14 +0800)]
mon/MonMap: dump priority
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Abhishek L [Fri, 15 Mar 2019 08:09:53 +0000 (09:09 +0100)]
Merge pull request #26913 from theanalyst/doc/releases/13.2.5
doc: add release notes for 13.2.5 mimic
Reviewed-By: Sage Weil <sage@redhat.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-By: Casey Bodley <cbodley@redhat.com>
xie xingguo [Fri, 15 Mar 2019 08:07:14 +0000 (16:07 +0800)]
mon/MonMap: kill dead msgr type checking
which is unreachable.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 15 Mar 2019 07:52:28 +0000 (15:52 +0800)]
mon/MonMap: fix mon priority
The mon priorities, if specified by configuration or through DNS,
might get lost in some scenarios.
Since the caller(s) of _add_ambiguous_addr should have taken good
care of the priority parameter in all cases (e.g., caller will
guarantee to pass in a sane (zeroed) value if unspecified), it should
be safe to apply priority unconditionally.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Fri, 15 Mar 2019 06:18:22 +0000 (14:18 +0800)]
Merge pull request #26581 from tchaikov/wip-async/rdma
msg/async/rdma: set/get silence warning
Reviewed-by: Haomai Wang <haomai@xsky.com>
IrekFasikhov [Fri, 15 Mar 2019 05:42:57 +0000 (08:42 +0300)]
doc: add package for Golang
Fixes: http://tracker.ceph.com/issues/38730
Signed-off-by: Irek Fasikhov <malmyzh@gmail.com>
Sage Weil [Fri, 15 Mar 2019 03:37:18 +0000 (22:37 -0500)]
Merge PR #26898 into nautilus
* refs/pull/26898/head:
osd/PG: invalidate PG if merging with unexpected version
osd,mon: include more pg merge metadata in pg_pool_t
qa/standalone/osd/pg-split-merge.sh: reproduce pg merge problem with empty pgs
osd: add osd_debug_no_{acting_change,purge_strays}
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Thu, 14 Mar 2019 22:12:11 +0000 (17:12 -0500)]
mgr/crash: include entity (instead of daemon) in 'crash ls'
The daemon name is implied by the entity, and the entity is more useful.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 14 Mar 2019 22:54:28 +0000 (17:54 -0500)]
ceph_release: nautilus is will be 'stable' for v14.2.0
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 14 Mar 2019 22:32:28 +0000 (17:32 -0500)]
Merge remote-tracking branch 'gh/nautilus'
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>
Abhishek Lekshmanan [Thu, 14 Mar 2019 21:26:32 +0000 (22:26 +0100)]
cls_rgw: fix issue with gc code using the wrong name
Also use the correct ptr notation
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Andrew Schoen [Thu, 14 Mar 2019 20:14:40 +0000 (15:14 -0500)]
ceph-volume: look for rotational data in lsblk
Also ask lsblk if a device is rotational if no information
is found in /sys/block, default to True if nothing is found.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=
1666822
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Matt Benjamin [Thu, 14 Mar 2019 17:58:17 +0000 (13:58 -0400)]
rgw: nfs: skip empty (non-POSIX) path segments
Such a path could be created through S3 upload,
e.g., s3://my_files//data/file.pdf.
Previously we asserted for this case, but it's harmless--such a
path segment should just be ignored.
Fixes: http://tracker.ceph.com/issues/38744
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Thu, 14 Mar 2019 17:55:40 +0000 (13:55 -0400)]
Merge pull request #26569 from theanalyst/bucket-permission-fixes
rgw: return ERR_NO_SUCH_BUCKET early while evaluating bucket policy
Casey Bodley [Thu, 14 Mar 2019 17:46:59 +0000 (13:46 -0400)]
Merge pull request #26908 from theanalyst/mdlog-bump-level
rgw_sync: drop ENOENT error logs from mdlog
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 14 Mar 2019 17:45:41 +0000 (13:45 -0400)]
Merge pull request #26911 from linuxbox2/wip-ldap-f
rgw: ldap: fix LDAPAuthEngine::init() when uri !empty()
Reviewed-by: Casey Bodley <cbodley@redhat.com>