]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agodoc/rgw: update civetweb rgw_frontends config example 27054/head
Casey Bodley [Tue, 19 Mar 2019 16:57:55 +0000 (12:57 -0400)]
doc/rgw: update civetweb rgw_frontends config example

all of these civetweb options have to be on the same line as rgw_frontends

Fixes: https://tracker.ceph.com/issues/37770
Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #26564 from theanalyst/wip-reshard-lc-fixes
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>
6 years agoMerge pull request #27001 from linuxbox2/wip-rgw-delimchar
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>
6 years agoMerge remote-tracking branch 'gh/nautilus'
Sage Weil [Mon, 18 Mar 2019 17:10:50 +0000 (12:10 -0500)]
Merge remote-tracking branch 'gh/nautilus'

6 years agoMerge pull request #26457 from mogeb/osd-stop-steady-clock
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>
6 years agoMerge PR #26956 into nautilus
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>
6 years agoMerge pull request #27013 from badone/wip-nautilus-CA-change
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>
6 years agoMerge pull request #27011 from liewegas/wip-redirect-mimic
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>
6 years agoMerge pull request #27018 from liewegas/wip-38294
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>
6 years agoMerge PR #26960 into nautilus
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>
6 years agoMerge PR #27017 into master
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>
6 years agoqa/suitse/upgrade/luminous-x/stress-split-erasure-code: disable c-o-t tests 27018/head
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>
6 years agoosd: transpose two wait lists in comment 27017/head
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>
6 years agoMerge PR #26822 into master
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>
6 years agoceph_test_rados_api_tier_cxx: remove mimic checks 27011/head
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>
6 years agoMerge PR #27002 into nautilus
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>
6 years agoqa/suites/upgrade/mimic-x/parallel: enable all classes
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>
6 years agoceph_test_rados_api_tier_cxx: remove luminous check
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>
6 years agoMerge PR #27000 into nautilus
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>
6 years agoMerge pull request #26975 from xiexingguo/wip-mon-pri-lost
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>
6 years agoMerge pull request #26903 from xiexingguo/wip-ds-auth
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>
6 years agomgr/telemetry: check for errors when sending report 27002/head
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>
6 years agoqa/ceph-ansible: Move to Nautilus 27013/head
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>
6 years agorgw: fix signed char truncation in delimiter check 27001/head
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>
6 years agoMerge PR #26563 into nautilus
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>
6 years agoMerge PR #26994 into nautilus
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>
6 years agoMerge PR #26822 into nautilus
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>
6 years agoMerge PR #26986 into nautilus
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>
6 years agoMerge PR #26949 into nautilus
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>
6 years agoosd: stringify as int 27000/head
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>
6 years agodoc/releases/nautilus: more detail around ceph-volume step 26956/head
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>
6 years agoMerge pull request #26997 from cbodley/wip-38008
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>
6 years agoMerge PR #26995 into nautilus
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>
6 years agodoc/rgw: document storage class configuration 26997/head
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>
6 years agodoc/rgw: document placement target configuration
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>
6 years agoosd/PG: fix pg merge check for rc clusters 26995/head
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>
6 years agodoc: add scrub link for nautilus release notes 26994/head
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>
6 years agoMerge PR #26958 into nautilus
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>
6 years agoMerge PR #26959 into nautilus
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>
6 years agoMerge PR #26965 into nautilus
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>
6 years agoMerge PR #26974 into nautilus
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>
6 years agoMerge pull request #26984 from ricardoasmarques/remove-iscsi-gateway-param-nautilus
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>
6 years agoMerge PR #26937 into master
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>
6 years agoMerge pull request #26981 from linuxbox2/wip-nfs-sysobj
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>
6 years agoMerge pull request #26863 from linuxbox2/wip-rgw-delimiter
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

6 years agomgr: Make 3rd parameter optional in ceph_get_module_option 26986/head
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>
6 years agoMerge pull request #26954 from linuxbox2/wip-nfs-null-path
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>
6 years agomgr/dashboard: Drop iSCSI gateway name parameter 26984/head
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>
6 years agorgw: nfs: svc-enable RGWLib 26981/head
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>
6 years agoMerge pull request #26971 from theanalyst/nautilus-rgw-enoent-mdlog
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>
6 years agoMerge pull request #26957 from ceph/wip-bz1666822
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>
6 years agomon: avoid using naked pointer 26958/head
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>
6 years agomsg/async: do not "return std::move(local_var)"
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>
6 years agomon: do not assert on bad auth payload
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>
6 years agoms/async/ProtocolV2: add ms_die_on_bug and assert rxbuf/txbuf don't get big 26965/head
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>
6 years agomsg/async/ProtocolV2: do not reenable pre_auth buffering on from reset_recv_state
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>
6 years agoMerge pull request #26733 from votdev/use_boolean_text
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>
6 years agoMerge pull request #26738 from votdev/fix_docs
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>
6 years agodoc: add cephfs scrub related admin document 26974/head
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>
6 years agorgw_sync: drop ENOENT error logs from mdlog 26971/head
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)

6 years agomon/MonMap: dump priority 26975/head
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>
6 years agoMerge pull request #26913 from theanalyst/doc/releases/13.2.5
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>
6 years agomon/MonMap: kill dead msgr type checking
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>
6 years agomon/MonMap: fix mon priority
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>
6 years agoMerge pull request #26581 from tchaikov/wip-async/rdma
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>
6 years agodoc: add package for Golang 26937/head
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>
6 years agoMerge PR #26898 into nautilus
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>
6 years agomgr/crash: include entity (instead of daemon) in 'crash ls' 26959/head
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>
6 years agoceph_release: nautilus is will be 'stable' for v14.2.0 26960/head
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>
6 years agoMerge remote-tracking branch 'gh/nautilus'
Sage Weil [Thu, 14 Mar 2019 22:32:28 +0000 (17:32 -0500)]
Merge remote-tracking branch 'gh/nautilus'

6 years agoMerge PR #26905 into 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>
6 years agocls_rgw: fix issue with gc code using the wrong name 26564/head
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>
6 years agoceph-volume: look for rotational data in lsblk 26957/head
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>
6 years agorgw: nfs: skip empty (non-POSIX) path segments 26954/head
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>
6 years agoMerge pull request #26569 from theanalyst/bucket-permission-fixes
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

6 years agoMerge pull request #26908 from theanalyst/mdlog-bump-level
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>
6 years agoMerge pull request #26911 from linuxbox2/wip-ldap-f
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>
6 years agoMerge PR #26875 into nautilus
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>
6 years agoMerge pull request #26918 from trociny/wip-rbd-bench-wait-on-interrupted
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>
6 years agomgr: Cleanup get_localized_module_option function 26905/head
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>
6 years agoMerge PR #26948 into nautilus
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>
6 years agoMerge PR #26864 into nautilus
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>
6 years agoMerge PR #26921 into nautilus
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>
6 years agoMerge PR #26924 into nautilus
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>
6 years agoMerge pull request #26951 from ricardoasmarques/validate-ceph-iscsi-config-version...
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>
6 years agomgr/dashboard: Validate `ceph-iscsi` config version 26951/head
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)

6 years agomgr/dashboard: add test_module_selftest to API tests 26949/head
alfonsomthd [Thu, 14 Mar 2019 08:28:49 +0000 (09:28 +0100)]
mgr/dashboard: add test_module_selftest to API tests

* This test suite helps to catch mgr module regressions introduced by
dashboard feature/bugfix.
* Fixed: 'ceph -w' now behaves properly for Python 3.

Fixes: https://tracker.ceph.com/issues/38394
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
6 years agorbd-nbd: fix segfault for list-mapped command 26948/head
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>
6 years agoMerge PR #26935 into nautilus
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>
6 years agoMerge PR #26916 into nautilus
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>
6 years agoMerge PR #26894 into nautilus
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>
6 years agoMerge PR #26919 into nautilus
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>
6 years agoMerge pull request #26835 from ricardoasmarques/validate-ceph-iscsi-config-version
Lenz Grimmer [Wed, 13 Mar 2019 19:00:22 +0000 (20:00 +0100)]
Merge pull request #26835 from ricardoasmarques/validate-ceph-iscsi-config-version

mgr/dashboard: Validate `ceph-iscsi` config version

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agodoc: add CephFS notes for nautilus 26919/head
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>
6 years agoMerge remote-tracking branch 'gh/nautilus'
Sage Weil [Wed, 13 Mar 2019 18:31:03 +0000 (13:31 -0500)]
Merge remote-tracking branch 'gh/nautilus'

6 years agoqa/standalone/erasure-code/test-erasure-code: adjust test to avoid m=0 26894/head
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>
6 years agomgr/dashboard: Validate `ceph-iscsi` config version 26835/head
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>
6 years agoqa: extend MDS heartbeat grace for valgrind 26935/head
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>
6 years agoMerge pull request #26790 from ricardoasmarques/iscsi-passwords-with-slash
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>
6 years agomgr/telemetry: fix 'telemetry {on,off}' 26921/head
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>