]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agomsg/async: add async msg perf counter 27599/head
Xinze Chi [Sun, 30 Jul 2017 00:18:53 +0000 (08:18 +0800)]
msg/async: add async msg perf counter

Signed-off-by: Xinze Chi <xinze@xsky.com>
Updated to account for the new ProtocolV1/ProtocolV2

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
6 years agotools/crushtool: add new Option --bucket-tree to show bucket map tree
linbing [Wed, 20 Dec 2017 00:52:12 +0000 (08:52 +0800)]
tools/crushtool: add new Option --bucket-tree to show bucket map tree

Signed-off-by: linbing <linbing@t2cloud.net>
Update the crushtool cli test template for new options.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
6 years agomsg/async: bug fix 23600 by setting _fd = 1.
shangfufei [Mon, 9 Apr 2018 06:56:24 +0000 (14:56 +0800)]
msg/async: bug fix 23600 by setting _fd = 1.

After listen_socket was closed, it entered the start() processf magically. so
I think we should make '_fd = -1' when listen_socket was closed. And in the
start process, determine the value of listen_socket, if it equal to -1, return
the process.

Fixes: https://tracker.ceph.com/issues/23600
Signed-off-by: shangfufei <shangfufei@inspur.com>
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge pull request #27581 from LenzGr/master-documentation
Ricardo Marques [Wed, 17 Apr 2019 09:03:42 +0000 (10:03 +0100)]
Merge pull request #27581 from LenzGr/master-documentation

doc: Improved the dashboard proxy config section

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #27593 from smithfarm/wip-39291
Nathan Cutler [Wed, 17 Apr 2019 05:41:59 +0000 (07:41 +0200)]
Merge pull request #27593 from smithfarm/wip-39291

cmake: revert librados_tp.so version from 3 to 2

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
6 years agoMerge pull request #27514 from tchaikov/wip-crimson-auth-client
Kefu Chai [Wed, 17 Apr 2019 00:17:48 +0000 (08:17 +0800)]
Merge pull request #27514 from tchaikov/wip-crimson-auth-client

crimson: enable cephx for v2 msgr

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge PR #27624 into master
Patrick Donnelly [Tue, 16 Apr 2019 23:53:47 +0000 (16:53 -0700)]
Merge PR #27624 into master

* refs/pull/27624/head:
doc: fixed telemetry module reference link

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agocrimson/auth: let AuthClient::get_auth_request return a named struct 27514/head
Kefu Chai [Tue, 16 Apr 2019 14:30:12 +0000 (22:30 +0800)]
crimson/auth: let AuthClient::get_auth_request return a named struct

better readability this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/mon: use const reference for Connection::auth_registry
Kefu Chai [Tue, 16 Apr 2019 13:43:02 +0000 (21:43 +0800)]
crimson/mon: use const reference for Connection::auth_registry

it is not optional now.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoauth/AuthRegistry: more constness
Kefu Chai [Tue, 16 Apr 2019 12:13:03 +0000 (20:13 +0800)]
auth/AuthRegistry: more constness

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/mon: remove "#warning" in v1 implementation
Kefu Chai [Thu, 11 Apr 2019 13:47:29 +0000 (21:47 +0800)]
crimson/mon: remove "#warning" in v1 implementation

since we've implemented the v2 support, these reminders are not needed
anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/mon: reset promise using `{}`
Kefu Chai [Thu, 11 Apr 2019 13:44:57 +0000 (21:44 +0800)]
crimson/mon: reset promise using `{}`

better readability, less repeating.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomon/MonClient: remove unused AuthMethodList
Kefu Chai [Thu, 11 Apr 2019 11:40:38 +0000 (19:40 +0800)]
mon/MonClient: remove unused AuthMethodList

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/mon: use auth_registry for querying auth_methods
Kefu Chai [Thu, 11 Apr 2019 11:39:32 +0000 (19:39 +0800)]
crimson/mon: use auth_registry for querying auth_methods

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: fixed telemetry module reference link 27624/head
James McClune [Tue, 16 Apr 2019 22:19:38 +0000 (18:19 -0400)]
doc: fixed telemetry module reference link

Used :ref: label for telemetry reference in Nautilus.

Fixes: https://tracker.ceph.com/issues/39337
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agoMerge PR #27519 into master
Sage Weil [Tue, 16 Apr 2019 19:31:49 +0000 (14:31 -0500)]
Merge PR #27519 into master

* refs/pull/27519/head:
doc/rados/operations/health-checks: document new bluestore warnings
os/bluestore: alert on fm/bdev size mismatch
os/bluestore: introduce legacy statfs alert

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27556 into master
Sage Weil [Tue, 16 Apr 2019 19:31:29 +0000 (14:31 -0500)]
Merge PR #27556 into master

* refs/pull/27556/head:
mgr/rook: Remove support for Rook older than v0.9

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
Reviewed-by: Blaine Gardner <bgardner@suse.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
6 years agoMerge PR #27563 into master
Sage Weil [Tue, 16 Apr 2019 19:30:41 +0000 (14:30 -0500)]
Merge PR #27563 into master

* refs/pull/27563/head:
mon/OSDMonitor: respect crush node flags for can_mark_*()
osd/OSDMap: add get_crush_node_flags(int osd)
mon/OSDMonitor: make 'osd {add,rm}-{noin,noout,...}' support crush nodes
osd/OSDMap: raise OSD_FLAGS health alert for crush node flags, too
osd/OSDMap: add flags for crush nodes

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge PR #27568 into master
Sage Weil [Tue, 16 Apr 2019 19:30:23 +0000 (14:30 -0500)]
Merge PR #27568 into master

* refs/pull/27568/head:
doc/release/nautilus: proscribe minimum hammer tunables and straw2 on upgrade
common/options: update mon_crush_min_required_version=hammer

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge pull request #26461 from adamemerson/wip-aio-aio-aio-aio-queue-like-an-egyptian
Casey Bodley [Tue, 16 Apr 2019 19:01:13 +0000 (15:01 -0400)]
Merge pull request #26461 from adamemerson/wip-aio-aio-aio-aio-queue-like-an-egyptian

♪ Ai-o Ai-o Ai-o Ai-o… queue like an Egyptian ♪

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27616 from yuriw/wip-yuriw-crontab-master
Yuri Weinstein [Tue, 16 Apr 2019 17:18:24 +0000 (10:18 -0700)]
Merge pull request #27616 from yuriw/wip-yuriw-crontab-master

qa/tests: moved some runs from ovh, removed ceph-disk/nautilus

6 years agoMerge pull request #27381 from markhpc/wip-prioritycache-manager
Neha Ojha [Tue, 16 Apr 2019 16:49:06 +0000 (09:49 -0700)]
Merge pull request #27381 from markhpc/wip-prioritycache-manager

common/PriorityCache: Implement a Cache Manager

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoqa/tests: moved some runs from ovh, removed ceph-disk/nautilus 27616/head
Yuri Weinstein [Tue, 16 Apr 2019 16:39:31 +0000 (09:39 -0700)]
qa/tests: moved some runs from ovh, removed ceph-disk/nautilus

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #26089 from taoCH/wip-librgw-create-bucket-bug
Matt Benjamin [Tue, 16 Apr 2019 14:53:13 +0000 (10:53 -0400)]
Merge pull request #26089 from taoCH/wip-librgw-create-bucket-bug

rgw: unexpected crash when creating bucket in librgw

6 years agocrimson: use lowres_system_clock for keepalive timestamps
Kefu Chai [Thu, 11 Apr 2019 08:55:47 +0000 (16:55 +0800)]
crimson: use lowres_system_clock for keepalive timestamps

we should use chrono types for representing time_point and duration,
utime_t could be used for the format on wire though.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/osd: use v2 addresses
Kefu Chai [Mon, 8 Apr 2019 11:38:57 +0000 (19:38 +0800)]
crimson/osd: use v2 addresses

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/osd: register monc as an AuthClient
Kefu Chai [Thu, 11 Apr 2019 08:41:40 +0000 (16:41 +0800)]
crimson/osd: register monc as an AuthClient

so msgrs will be able to turn to monc when they try to authenticate
themselves.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/mon: implement AuthClient
Kefu Chai [Thu, 11 Apr 2019 08:36:03 +0000 (16:36 +0800)]
crimson/mon: implement AuthClient

for v2 msgr authentication support, let ceph::mon::Client implement
ceph::auth::AuthClient.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/mon: rename Connection::authenticate()
Kefu Chai [Thu, 11 Apr 2019 07:52:44 +0000 (15:52 +0800)]
crimson/mon: rename Connection::authenticate()

rename Connection::authenticate() to Connection::authenticate_v1() to
differentiate it from Connection::authenticate_v2(). the latter will be
added for v2 msgr support.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/net: add setters for Connections
Kefu Chai [Thu, 11 Apr 2019 07:50:18 +0000 (15:50 +0800)]
crimson/net: add setters for Connections

so we don't directly access its member variables

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/mon: refactor Connection::create_auth() so it can be reused
Kefu Chai [Thu, 11 Apr 2019 05:01:36 +0000 (13:01 +0800)]
crimson/mon: refactor Connection::create_auth() so it can be reused

Connection::create_auth() will be shared by v1 and v2 msgrs, so we need
to decouple it from v1 implementation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/auth: refactor AuthClient interface
Kefu Chai [Tue, 9 Apr 2019 03:37:54 +0000 (11:37 +0800)]
crimson/auth: refactor AuthClient interface

* we'd better return value by "return" not by passing output prameters by
  pointers.
* remove unused parameters from AuthClient::handle_auth_done(),
  `session_key` and `connection_secret` are returned by setting
  corresponding member variables of `auth_meta`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/auth: rename auth::auth_error to auth::error
Kefu Chai [Tue, 16 Apr 2019 11:46:40 +0000 (19:46 +0800)]
crimson/auth: rename auth::auth_error to auth::error

* s/auth::auth_error/auth::error/: less repeating this way
* auth/Errors.{h,cc}: remove them. as we don't need to use error code to
  construct exceptions in this context
* move auth::error into auth::AuthClient

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27564 into master
Sage Weil [Tue, 16 Apr 2019 13:38:34 +0000 (08:38 -0500)]
Merge PR #27564 into master

* refs/pull/27564/head:
ceph-objectstore-tool: Rename dump-import to dump-export
osd: Fix fast path to use version bumped value

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27546 into master
Sage Weil [Tue, 16 Apr 2019 13:28:24 +0000 (08:28 -0500)]
Merge PR #27546 into master

* refs/pull/27546/head:
mgr/progress: fix typo
mgr/progress: behave if pgs disappear (due to a racing pg merge)

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge pull request #27036 from votdev/issue_24453
Lenz Grimmer [Tue, 16 Apr 2019 12:39:05 +0000 (14:39 +0200)]
Merge pull request #27036 from votdev/issue_24453

mgr/dashboard: Manager should complain about wrong dashboard certificate

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #27433 from rhcs-dashboard/wip-36243-master
Lenz Grimmer [Tue, 16 Apr 2019 12:34:20 +0000 (14:34 +0200)]
Merge pull request #27433 from rhcs-dashboard/wip-36243-master

mgr/dashboard: Add frontend code documentation

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agocmake: revert librados_tp.so version from 3 to 2 27593/head
Nathan Cutler [Mon, 15 Apr 2019 08:48:37 +0000 (10:48 +0200)]
cmake: revert librados_tp.so version from 3 to 2

Post-mortem analysis:

librados.so and librados_tp.so are packaged together in the librados2
RPM.

c680fb10f598267f15a37fdb7bc44529c37c9318 bumped
the librados.so and librados_tp.so versions from 2 to 3.

Later, 7bf6b5ee1208a359826c74ab033e6bbbfc65969f reverted the librados.so
version from 3 to 2, but left the librados_tp.so version at 3.

Fixes: http://tracker.ceph.com/issues/39291
Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agodoc: Improved the dashboard proxy config section 27581/head
Lenz Grimmer [Sun, 14 Apr 2019 14:28:30 +0000 (16:28 +0200)]
doc: Improved the dashboard proxy config section

Added paragraph that explains how standby dashboard instances perform
HTTP redirections to the currently active ceph-mgr node.
Added note about current limitations (see Bug#24662 for details).

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agodoc: dashboard: refined object gateway configuration
Lenz Grimmer [Fri, 12 Apr 2019 11:17:23 +0000 (13:17 +0200)]
doc: dashboard: refined object gateway configuration

As discussed in BUG#39252, the dashboard currently does not
support all possible RGW configuration possibilities when trying
to obtain hostname and port number. Update the docs to better
reflect this.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agoMerge pull request #27530 from yuvalif/fix_pubsub_duplicates
Yuval Lifshitz [Tue, 16 Apr 2019 06:09:45 +0000 (09:09 +0300)]
Merge pull request #27530 from yuvalif/fix_pubsub_duplicates

rgw/pubsub: handle subscription conf errors better

6 years agoMerge pull request #27552 from tchaikov/wip-corpus.rst
Kefu Chai [Tue, 16 Apr 2019 01:15:24 +0000 (09:15 +0800)]
Merge pull request #27552 from tchaikov/wip-corpus.rst

doc/corpus: update to adapt the change from autotools to cmake

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Changcheng Liu <changcheng.liu@intel.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agodoc/corpus: update to adapt the change from autotools to cmake 27552/head
Kefu Chai [Fri, 12 Apr 2019 10:01:15 +0000 (18:01 +0800)]
doc/corpus: update to adapt the change from autotools to cmake

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agodoc/rados/operations/health-checks: document new bluestore warnings 27519/head
Sage Weil [Mon, 15 Apr 2019 13:59:46 +0000 (08:59 -0500)]
doc/rados/operations/health-checks: document new bluestore warnings

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #27493 from yuvalif/pubsub_zone_conf_doc
Yuval Lifshitz [Mon, 15 Apr 2019 13:42:09 +0000 (16:42 +0300)]
Merge pull request #27493 from yuvalif/pubsub_zone_conf_doc

rgw/pubsub: clarify pubsub zone configuration

6 years agoMerge PR #27585 into master
Sage Weil [Mon, 15 Apr 2019 13:26:08 +0000 (08:26 -0500)]
Merge PR #27585 into master

* refs/pull/27585/head:
messages: remove MNop

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #27578 from cbodley/wip-rgw-pubsub-warning
Casey Bodley [Mon, 15 Apr 2019 13:03:04 +0000 (09:03 -0400)]
Merge pull request #27578 from cbodley/wip-rgw-pubsub-warning

rgw: silence a -Wunused-function warning in pubsub

Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
6 years agoMerge pull request #27178 from pritha-srivastava/wip-rgw-iam
Casey Bodley [Mon, 15 Apr 2019 13:00:32 +0000 (09:00 -0400)]
Merge pull request #27178 from pritha-srivastava/wip-rgw-iam

rgw: Adding 'iam' namespace for Role and User Policy related REST APIs.

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoos/bluestore: alert on fm/bdev size mismatch
Igor Fedotov [Fri, 12 Apr 2019 14:04:07 +0000 (17:04 +0300)]
os/bluestore: alert on fm/bdev size mismatch

Relates to: https://tracker.ceph.com/issues/39151

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoos/bluestore: introduce legacy statfs alert
Igor Fedotov [Wed, 10 Apr 2019 16:18:37 +0000 (19:18 +0300)]
os/bluestore: introduce legacy statfs alert

Fixes: https://tracker.ceph.com/issues/39146
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge pull request #27553 from theanalyst/doc/releases/12.2.12
Abhishek L [Mon, 15 Apr 2019 10:53:07 +0000 (12:53 +0200)]
Merge pull request #27553 from theanalyst/doc/releases/12.2.12

doc: releases/luminous: release notes for 12.2.12

Reviewed-By: Nathan Cutler <ncutler@suse.com>
6 years agodoc: releases/12.2.12: fix changelog to add issues without trackers 27553/head
Abhishek Lekshmanan [Mon, 15 Apr 2019 09:00:35 +0000 (11:00 +0200)]
doc: releases/12.2.12: fix changelog to add issues without trackers

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge pull request #27491 from sebastian-philipp/rook-service-ls-rgw
Sebastian Wagner [Mon, 15 Apr 2019 08:42:23 +0000 (10:42 +0200)]
Merge pull request #27491 from sebastian-philipp/rook-service-ls-rgw

mgr/rook: Added missing `rgw` daemons in `service ls`

Reviewed-by: Jeff Layton <jlayton@redhat.com>
6 years agoMerge pull request #27462 from sebastian-philipp/rook-fix-rgw
Sebastian Wagner [Mon, 15 Apr 2019 08:41:15 +0000 (10:41 +0200)]
Merge pull request #27462 from sebastian-philipp/rook-fix-rgw

mgr/rook: Fix RGW creation

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
6 years agoMerge pull request #27339 from david-z/wip-fix-rbd-map-hang
Ilya Dryomov [Mon, 15 Apr 2019 08:36:42 +0000 (10:36 +0200)]
Merge pull request #27339 from david-z/wip-fix-rbd-map-hang

krbd: fix rbd map hang due to udev return subsystem unordered

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
6 years agomessages: remove MNop 27585/head
Kefu Chai [Mon, 15 Apr 2019 03:15:09 +0000 (11:15 +0800)]
messages: remove MNop

MNop was introduced along with xio messenger. since we've dropped
xiomessenger in #27021, there is no need to keep MNop around anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27517 into master
Sage Weil [Mon, 15 Apr 2019 01:37:21 +0000 (20:37 -0500)]
Merge PR #27517 into master

* refs/pull/27517/head:
mon: make mon_osd_down_out_subtree_limit update at runtime

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge PR #27458 into master
Sage Weil [Sun, 14 Apr 2019 20:27:46 +0000 (15:27 -0500)]
Merge PR #27458 into master

* refs/pull/27458/head:
bluestore: fix for FreeBSD iocb structure

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27485 into master
Sage Weil [Sun, 14 Apr 2019 20:27:12 +0000 (15:27 -0500)]
Merge PR #27485 into master

* refs/pull/27485/head:
mgr/ActivePyModules: handle_command - fix broken lock

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27506 into master
Sage Weil [Sun, 14 Apr 2019 20:26:44 +0000 (15:26 -0500)]
Merge PR #27506 into master

* refs/pull/27506/head:
src/tests/crushtool: Add test for an empty default
crush/CrushCompiler: Fix __replacement_assert

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27271 from idryomov/wip-krbd-wac-on-dm
Ilya Dryomov [Sun, 14 Apr 2019 19:31:00 +0000 (21:31 +0200)]
Merge pull request #27271 from idryomov/wip-krbd-wac-on-dm

qa: add device mapper and lvm test cases for stable pages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #27533 from dillaman/wip-39257
Mykola Golub [Sun, 14 Apr 2019 07:09:25 +0000 (10:09 +0300)]
Merge pull request #27533 from dillaman/wip-39257

rbd-mirror: periodically flush IO and commit positions

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #27229 from dillaman/wip-librbd-writearound
Mykola Golub [Sun, 14 Apr 2019 07:08:37 +0000 (10:08 +0300)]
Merge pull request #27229 from dillaman/wip-librbd-writearound

librbd: introduce new default write-around cache policy

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #27446 from trociny/wip-rbd-io-simple-scheduler-improvements
Jason Dillaman [Sat, 13 Apr 2019 17:21:09 +0000 (13:21 -0400)]
Merge pull request #27446 from trociny/wip-rbd-io-simple-scheduler-improvements

librbd: dispatch delayed requests only if read intersects

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #27513 from ddiss/librados_silence_unused_vars
Jason Dillaman [Sat, 13 Apr 2019 17:20:53 +0000 (13:20 -0400)]
Merge pull request #27513 from ddiss/librados_silence_unused_vars

librbd: silence -Wunused-variable warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agorgw: silence a -Wunused-function warning in pubsub 27578/head
Casey Bodley [Sat, 13 Apr 2019 17:06:23 +0000 (13:06 -0400)]
rgw: silence a -Wunused-function warning in pubsub

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agodoc/release/nautilus: proscribe minimum hammer tunables and straw2 on upgrade 27568/head
Sage Weil [Fri, 12 Apr 2019 21:41:38 +0000 (16:41 -0500)]
doc/release/nautilus: proscribe minimum hammer tunables and straw2 on upgrade

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agocommon/options: update mon_crush_min_required_version=hammer
Sage Weil [Fri, 12 Apr 2019 21:35:18 +0000 (16:35 -0500)]
common/options: update mon_crush_min_required_version=hammer

Hammer is a good point to set the minimum at:

 - it includes straw2 and vary_r, which are the worst offenders among the
   old tunables
 - it does not include chooseleaf_stable, which improves placement
   considerably but *also* shuffles basically all data in the cluster.

Getting everyone up to straw2 support means we can also proscribe the
'ceph osd crush set-all-straw-buckets-to-straw2' command.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoceph-objectstore-tool: Rename dump-import to dump-export 27564/head
David Zafman [Fri, 12 Apr 2019 20:09:43 +0000 (13:09 -0700)]
ceph-objectstore-tool: Rename dump-import to dump-export

If user specifies dump-import it will still work, but isn't
in the usage that way.

Fixes: http://tracker.ceph.com/issues/39284
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoosd: Fix fast path to use version bumped value
David Zafman [Fri, 12 Apr 2019 16:44:14 +0000 (09:44 -0700)]
osd: Fix fast path to use version bumped value

Fix the code so that the version is in one place
for both the slow and fast path.

Caused by: d2ca3d2feb442f97ca89023c7d01178d96f517a6

Fixes: http://tracker.ceph.com/issues/39281
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agomgr/dashboard: Add frontend code documentation 27433/head
Ernesto Puerta [Mon, 1 Oct 2018 11:52:11 +0000 (13:52 +0200)]
mgr/dashboard: Add frontend code documentation

Adds compodoc as auto-documentation tool for Angular frontend code.

Fixes: http://tracker.ceph.com/issues/36243
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agomon/OSDMonitor: respect crush node flags for can_mark_*() 27563/head
Sage Weil [Fri, 12 Apr 2019 16:50:22 +0000 (11:50 -0500)]
mon/OSDMonitor: respect crush node flags for can_mark_*()

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/OSDMap: add get_crush_node_flags(int osd)
Sage Weil [Fri, 12 Apr 2019 16:49:13 +0000 (11:49 -0500)]
osd/OSDMap: add get_crush_node_flags(int osd)

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #27470 from cbodley/wip-39160
Casey Bodley [Fri, 12 Apr 2019 16:25:34 +0000 (12:25 -0400)]
Merge pull request #27470 from cbodley/wip-39160

rgw: don't recalculate etags for slo/dlo

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agomon/OSDMonitor: make 'osd {add,rm}-{noin,noout,...}' support crush nodes
Sage Weil [Fri, 12 Apr 2019 16:12:00 +0000 (11:12 -0500)]
mon/OSDMonitor: make 'osd {add,rm}-{noin,noout,...}' support crush nodes

Set noin, noout, etc. flags on crush nodes.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #27528 from cbodley/wip-qa-rgw-no-debuginfo
Ali Maredia [Fri, 12 Apr 2019 16:11:17 +0000 (12:11 -0400)]
Merge pull request #27528 from cbodley/wip-qa-rgw-no-debuginfo

qa/rgw: disable debuginfo packages

6 years agoosd/OSDMap: raise OSD_FLAGS health alert for crush node flags, too
Sage Weil [Fri, 12 Apr 2019 16:10:35 +0000 (11:10 -0500)]
osd/OSDMap: raise OSD_FLAGS health alert for crush node flags, too

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/rook: Remove support for Rook older than v0.9 27556/head
Sebastian Wagner [Fri, 12 Apr 2019 14:24:14 +0000 (16:24 +0200)]
mgr/rook: Remove support for Rook older than v0.9

http://tracker.ceph.com/issues/39278

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoosd/OSDMap: add flags for crush nodes
Sage Weil [Fri, 12 Apr 2019 15:54:20 +0000 (10:54 -0500)]
osd/OSDMap: add flags for crush nodes

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agolibrbd: write-around cache should honor FUA op flag 27229/head
Jason Dillaman [Fri, 12 Apr 2019 15:07:31 +0000 (11:07 -0400)]
librbd: write-around cache should honor FUA op flag

If force unit access is specified, the cache should be bypassed just
like other non-optimized IO through the cache.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd: support new bench 'full-seq' io pattern option
Jason Dillaman [Thu, 11 Apr 2019 02:24:00 +0000 (22:24 -0400)]
rbd: support new bench 'full-seq' io pattern option

This ensures IOs are issued in sequential order regardless of the current
IO thread setting.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agodoc: releases/luminous: release notes for 12.2.12
Abhishek Lekshmanan [Fri, 12 Apr 2019 13:21:46 +0000 (15:21 +0200)]
doc: releases/luminous: release notes for 12.2.12

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agomgr/progress: fix typo 27546/head
Sage Weil [Sat, 16 Feb 2019 19:20:39 +0000 (13:20 -0600)]
mgr/progress: fix typo

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/progress: behave if pgs disappear (due to a racing pg merge)
Sage Weil [Fri, 12 Apr 2019 12:07:03 +0000 (07:07 -0500)]
mgr/progress: behave if pgs disappear (due to a racing pg merge)

If one of the PGs we care about disappears, consider it complete.

Fixes: http://tracker.ceph.com/issues/38157
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27473 into master
Sage Weil [Fri, 12 Apr 2019 11:57:03 +0000 (06:57 -0500)]
Merge PR #27473 into master

* refs/pull/27473/head:
mgr/DaemonServer: prevent pgp_num reductions from outpacing pg_num merges

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #27477 into master
Sage Weil [Fri, 12 Apr 2019 11:56:45 +0000 (06:56 -0500)]
Merge PR #27477 into master

* refs/pull/27477/head:
os/bluestore: check return value of func _open_db_and_around.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge PR #27499 into master
Sage Weil [Fri, 12 Apr 2019 11:54:58 +0000 (06:54 -0500)]
Merge PR #27499 into master

* refs/pull/27499/head:
qa/standalone/osd/osd-markdown: fix dup command disabling

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #27516 into master
Sage Weil [Fri, 12 Apr 2019 11:54:35 +0000 (06:54 -0500)]
Merge PR #27516 into master

* refs/pull/27516/head:
mgr/rook: Fix Python 2 regression

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Gabriel Brascher <gabriel@apache.org>
6 years agoMerge pull request #26816 from iotcg/doc
Kefu Chai [Fri, 12 Apr 2019 09:59:07 +0000 (17:59 +0800)]
Merge pull request #26816 from iotcg/doc

doc: correct example to use vstart to run up cluster

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27535 from yuriw/wip-yuriw-wip-yuriw-crontab-master
Yuri Weinstein [Fri, 12 Apr 2019 02:17:36 +0000 (19:17 -0700)]
Merge pull request #27535 from yuriw/wip-yuriw-wip-yuriw-crontab-master

qa/tests: added rados on master, reduced fs, rbd, multimds

6 years agoMerge pull request #27428 from cyx1231st/wip-seastar-msgr-write
Kefu Chai [Fri, 12 Apr 2019 01:07:53 +0000 (09:07 +0800)]
Merge pull request #27428 from cyx1231st/wip-seastar-msgr-write

crimson/net: extract do_write_dispatch_sweep()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoqa/tests: added rados on master, reduced fs, rbd, multimds 27535/head
Yuri Weinstein [Fri, 12 Apr 2019 00:46:44 +0000 (17:46 -0700)]
qa/tests: added rados on master, reduced fs, rbd, multimds

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #27515 from tchaikov/wip-seastar-fix-monc
Kefu Chai [Fri, 12 Apr 2019 00:31:12 +0000 (08:31 +0800)]
Merge pull request #27515 from tchaikov/wip-seastar-fix-monc

test/crimson: fix build of unittest_seastar_monc

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agosrc/tests/crushtool: Add test for an empty default 27506/head
Brad Hubbard [Thu, 11 Apr 2019 07:29:30 +0000 (17:29 +1000)]
src/tests/crushtool: Add test for an empty default

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoMerge pull request #27524 from tchaikov/wip-39164
Kefu Chai [Fri, 12 Apr 2019 00:16:51 +0000 (08:16 +0800)]
Merge pull request #27524 from tchaikov/wip-39164

install-deps.sh: install '*rpm-macros'

Reviewed-by: Boris Ranto <branto@redhat.com>
6 years agorbd-mirror: periodically flush prior to updating status 27533/head
Jason Dillaman [Thu, 11 Apr 2019 21:01:22 +0000 (17:01 -0400)]
rbd-mirror: periodically flush prior to updating status

This ensure the most up-to-date commit position is included in the
status report.

Fixes: http://tracker.ceph.com/issues/39257
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: simplify image replayer IO / commit position flush path
Jason Dillaman [Thu, 11 Apr 2019 20:18:54 +0000 (16:18 -0400)]
rbd-mirror: simplify image replayer IO / commit position flush path

There is no current user of the callback context provided to the
flush method and there are no longer any reason to have the flush
support methods be virtual.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #27443 from Polynomial-C/tinfo
Jason Dillaman [Thu, 11 Apr 2019 18:32:15 +0000 (14:32 -0400)]
Merge pull request #27443 from Polynomial-C/tinfo

cmake: Fix build against ncurses with separate libtinfo

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27527 into master
Sage Weil [Thu, 11 Apr 2019 18:30:33 +0000 (13:30 -0500)]
Merge PR #27527 into master

* refs/pull/27527/head:
qa/tests: run luminous-x and mimic-x 2 times a week but with high priority

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agorgw/pubsub: handle subscription conf errors better 27530/head
Yuval Lifshitz [Thu, 11 Apr 2019 17:16:52 +0000 (20:16 +0300)]
rgw/pubsub: handle subscription conf errors better

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>