]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoqa: unmount clients before deleting fs 26699/head
Patrick Donnelly [Thu, 28 Feb 2019 17:02:33 +0000 (09:02 -0800)]
qa: unmount clients before deleting fs

Client unmount during test cleanup will hang if the file system was deleted.

Fixes: http://tracker.ceph.com/issues/38518
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #26663 into master 25786/head
Sage Weil [Wed, 27 Feb 2019 23:23:25 +0000 (17:23 -0600)]
Merge PR #26663 into master

* refs/pull/26663/head:
doc: change ruleset to id in crush map file

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #26595 into master
Sage Weil [Wed, 27 Feb 2019 22:59:47 +0000 (16:59 -0600)]
Merge PR #26595 into master

* refs/pull/26595/head:
osd/PG: log tracked pg refs under debug_refs
osd/PG: include tag in get/put debug lines
osd: clean up oncommit contexts in _process shutdown

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #26637 into master
Sage Weil [Wed, 27 Feb 2019 22:59:32 +0000 (16:59 -0600)]
Merge PR #26637 into master

* refs/pull/26637/head:
common/ceph_context: experimental kludge for crimson
auth/AuthRegistry: mark 'secure' con mode experimental for now
msg/async: set ms_*_mode to crc only (no secure)

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #26640 into master
Sage Weil [Wed, 27 Feb 2019 22:59:04 +0000 (16:59 -0600)]
Merge PR #26640 into master

* refs/pull/26640/head:
mon/OSDMonitor: remove old v1 addrs when converting blacklist to new TYPE_ANY form

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #26645 into master
Sage Weil [Wed, 27 Feb 2019 22:58:47 +0000 (16:58 -0600)]
Merge PR #26645 into master

* refs/pull/26645/head:
rpm: use %_python_buildid to specify python-remoto dep

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #26678 into master
Sage Weil [Wed, 27 Feb 2019 22:58:31 +0000 (16:58 -0600)]
Merge PR #26678 into master

* refs/pull/26678/head:
mon: handle racing ms_handle_reset and handle_auth_request

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge PR #26648 into master
Sage Weil [Wed, 27 Feb 2019 20:15:08 +0000 (14:15 -0600)]
Merge PR #26648 into master

* refs/pull/26648/head:
msg/async: msgr2: cleanup frame classes hacks

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #26523 from dillaman/wip-38387
Mykola Golub [Wed, 27 Feb 2019 18:49:09 +0000 (20:49 +0200)]
Merge pull request #26523 from dillaman/wip-38387

librbd: add missing shutdown states to managed lock helper

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge PR #26598 into master
Sage Weil [Wed, 27 Feb 2019 18:26:27 +0000 (12:26 -0600)]
Merge PR #26598 into master

* refs/pull/26598/head:
doc/releases/nautilus: dashboard tweaks
doc/releases/nautilus: more rados highlights
doc/release/nautilus: added RBD major features
doc/releases/nautilus: add msgr2 enablement steps
doc/releases/nautilus: add dashboard items

Reviewed-by: Kai Wagner <kwagner@suse.com>
6 years agoMerge pull request #26570 from jtlayton/wip-rook
Sebastian Wagner [Wed, 27 Feb 2019 18:24:43 +0000 (19:24 +0100)]
Merge pull request #26570 from jtlayton/wip-rook

mgr/orchestrator/rook: allow the creation of OSDs in directories

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
6 years agodoc/releases/nautilus: dashboard tweaks 26598/head
Sage Weil [Wed, 27 Feb 2019 17:43:52 +0000 (11:43 -0600)]
doc/releases/nautilus: dashboard tweaks

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #26671 into master
Sage Weil [Wed, 27 Feb 2019 17:40:50 +0000 (11:40 -0600)]
Merge PR #26671 into master

* refs/pull/26671/head:
doc: Replaced "plugin" with "module" in the Mgr documentation

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agomon: handle racing ms_handle_reset and handle_auth_request 26678/head
Sage Weil [Tue, 26 Feb 2019 19:30:33 +0000 (13:30 -0600)]
mon: handle racing ms_handle_reset and handle_auth_request

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/PG: log tracked pg refs under debug_refs 26595/head
Sage Weil [Tue, 26 Feb 2019 14:54:30 +0000 (08:54 -0600)]
osd/PG: log tracked pg refs under debug_refs

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/PG: include tag in get/put debug lines
Sage Weil [Tue, 26 Feb 2019 14:45:28 +0000 (08:45 -0600)]
osd/PG: include tag in get/put debug lines

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd: clean up oncommit contexts in _process shutdown
Sage Weil [Fri, 22 Feb 2019 17:10:48 +0000 (11:10 -0600)]
osd: clean up oncommit contexts in _process shutdown

If we have queued PG completions in the workqueue and have to shut down,
delete them, so that the PG refs get cleaned up.

Fixes: http://tracker.ceph.com/issues/38431
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomsg/async: msgr2: cleanup frame classes hacks 26648/head
Ricardo Dias [Tue, 26 Feb 2019 11:52:27 +0000 (11:52 +0000)]
msg/async: msgr2: cleanup frame classes hacks

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge PR #26628 into master
Sage Weil [Wed, 27 Feb 2019 16:25:39 +0000 (10:25 -0600)]
Merge PR #26628 into master

* refs/pull/26628/head:
msg/async: msgr2: expected tags validation
msg/async: msgr2: template specialized write function for frames
msg/async: msgr2: extract frame classes into its own header

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #26227 from Tinatinak/api_documentation
Lenz Grimmer [Wed, 27 Feb 2019 15:49:38 +0000 (16:49 +0100)]
Merge pull request #26227 from Tinatinak/api_documentation

mgr/dashboard: Improved support for generating OpenAPI Spec documentation

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #26575 from tspmelo/wip-multi-backstore-ui
Lenz Grimmer [Wed, 27 Feb 2019 15:48:31 +0000 (16:48 +0100)]
Merge pull request #26575 from tspmelo/wip-multi-backstore-ui

mgr/dashboard: Add support for iSCSI's multi backstores (UI)

Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #26622 from Songweibin/wip-fix-rbd-group
Mykola Golub [Wed, 27 Feb 2019 15:31:15 +0000 (17:31 +0200)]
Merge pull request #26622 from Songweibin/wip-fix-rbd-group

rbd: fix segmentation fault when rbd_group_image_list() getting -ENOENT

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #26432 from dillaman/wip-librbd-discard
Mykola Golub [Wed, 27 Feb 2019 15:11:44 +0000 (17:11 +0200)]
Merge pull request #26432 from dillaman/wip-librbd-discard

librbd: skip small, unaligned discard extents by default

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agodoc: Replaced "plugin" with "module" in the Mgr documentation 26671/head
Lenz Grimmer [Wed, 27 Feb 2019 12:49:47 +0000 (13:49 +0100)]
doc: Replaced "plugin" with "module" in the Mgr documentation

The documentation currently refers to Ceph Manager Modules as
"plugins" in many places, while the command line interface uses
"module" to enable/disable modules. Replaced all occurences
of "plugin" with "module" in the docs, to avoid confusion and to
be in alignment with the CLI. Also fixed the capitalizations of some
module chapters.

Fixes: https://tracker.ceph.com/issues/38481
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agomgr/dashboard: Add support for iSCSI's multi backstores (UI) 26575/head
Tiago Melo [Wed, 20 Feb 2019 10:58:54 +0000 (10:58 +0000)]
mgr/dashboard: Add support for iSCSI's multi backstores (UI)

Fixes: https://tracker.ceph.com/issues/38286
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #26586 from votdev/change_notify_icon_color
Lenz Grimmer [Wed, 27 Feb 2019 11:05:19 +0000 (12:05 +0100)]
Merge pull request #26586 from votdev/change_notify_icon_color

mgr/dashboard: Change icon color in notifications

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #26649 from tspmelo/wip-i18n
Lenz Grimmer [Wed, 27 Feb 2019 11:01:06 +0000 (12:01 +0100)]
Merge pull request #26649 from tspmelo/wip-i18n

mgr/dashboard: Update I18N translation

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #26589 from Devp00l/issue-38382
Lenz Grimmer [Wed, 27 Feb 2019 10:04:21 +0000 (11:04 +0100)]
Merge pull request #26589 from Devp00l/issue-38382

mgr/dashboard: PGs will update as expected

Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #26116 from votdev/feature_37934
Lenz Grimmer [Wed, 27 Feb 2019 10:01:25 +0000 (11:01 +0100)]
Merge pull request #26116 from votdev/feature_37934

mgr/dashboard: Configure all mgr modules in UI

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #26592 from nathan-weinberg/fs-breadcrumb
Lenz Grimmer [Wed, 27 Feb 2019 09:59:22 +0000 (10:59 +0100)]
Merge pull request #26592 from nathan-weinberg/fs-breadcrumb

mgr/dashboard: Added breadcrumb tests to Filesystems menu

6 years agoMerge pull request #26647 from tspmelo/wip-npm-update-19-03
Lenz Grimmer [Wed, 27 Feb 2019 09:57:06 +0000 (10:57 +0100)]
Merge pull request #26647 from tspmelo/wip-npm-update-19-03

mgr/dashboard: Update npm packages

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
6 years agoMerge pull request #26219 from yaozongyou/mon-cleanups
Joao Eduardo Luis [Wed, 27 Feb 2019 09:33:42 +0000 (09:33 +0000)]
Merge pull request #26219 from yaozongyou/mon-cleanups

mon: some tiny cleanups related class forward declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonell@redhat.com>
6 years agodoc: change ruleset to id in crush map file 26663/head
Changcheng Liu [Wed, 27 Feb 2019 01:24:15 +0000 (09:24 +0800)]
doc: change ruleset to id in crush map file

ruleset is not used after merging below patch
   commit f9a095deb1e74642d88bc9015684b0be113cc5f9
       crush: s/ruleset/id/ in decompiled output
       Moving away from the 'ruleset' terminology.

Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
6 years agoMerge pull request #26527 from iotcg/doc
Kefu Chai [Wed, 27 Feb 2019 03:08:05 +0000 (11:08 +0800)]
Merge pull request #26527 from iotcg/doc

use preferred commands for ceph config-key

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #26558 from k0ste/prometheus_metadata
Kefu Chai [Wed, 27 Feb 2019 02:49:24 +0000 (10:49 +0800)]
Merge pull request #26558 from k0ste/prometheus_metadata

mgr/prometheus: get osd_objectstore once instead twice.

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocommon/ceph_context: experimental kludge for crimson 26637/head
Sage Weil [Mon, 25 Feb 2019 22:48:12 +0000 (16:48 -0600)]
common/ceph_context: experimental kludge for crimson

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoauth/AuthRegistry: mark 'secure' con mode experimental for now
Sage Weil [Mon, 25 Feb 2019 19:23:13 +0000 (13:23 -0600)]
auth/AuthRegistry: mark 'secure' con mode experimental for now

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #26646 into master
Patrick Donnelly [Tue, 26 Feb 2019 20:04:20 +0000 (12:04 -0800)]
Merge PR #26646 into master

* refs/pull/26646/head:
doc: fix typo in objectops.rst

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agodoc/releases/nautilus: more rados highlights
Sage Weil [Tue, 26 Feb 2019 19:18:46 +0000 (13:18 -0600)]
doc/releases/nautilus: more rados highlights

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #26627 from jan--f/c-v-38472
Andrew Schoen [Tue, 26 Feb 2019 16:35:22 +0000 (10:35 -0600)]
Merge pull request #26627 from jan--f/c-v-38472

ceph-volume: don't create osd['block.db'] by default

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agomsg/async: msgr2: expected tags validation 26628/head
Ricardo Dias [Fri, 22 Feb 2019 11:06:19 +0000 (11:06 +0000)]
msg/async: msgr2: expected tags validation

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #26225 from jan--f/c-v-simple-activate-all
Andrew Schoen [Tue, 26 Feb 2019 15:27:10 +0000 (09:27 -0600)]
Merge pull request #26225 from jan--f/c-v-simple-activate-all

ceph-volume: add --all flag to simple activate

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #26481 from votdev/gitignore_wheelhouse
Lenz Grimmer [Tue, 26 Feb 2019 14:44:42 +0000 (15:44 +0100)]
Merge pull request #26481 from votdev/gitignore_wheelhouse

mgr: Ignore __pycache__ and wheelhouse dirs

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
6 years agomgr/dashboard: Update I18N translation 26649/head
Tiago Melo [Tue, 26 Feb 2019 12:11:59 +0000 (12:11 +0000)]
mgr/dashboard: Update I18N translation

Add support for Chinese (Simplified), Czech, French, Indonesian and Spanish.

Fixed Portuguese (PT) locale source.

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #26338 from rhcs-dashboard/ts-cleanup
Lenz Grimmer [Tue, 26 Feb 2019 14:06:43 +0000 (15:06 +0100)]
Merge pull request #26338 from rhcs-dashboard/ts-cleanup

mgr/dashboard: typescript cleanup

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Introduce upperFirst pipe 26116/head
Volker Theile [Tue, 19 Feb 2019 13:22:13 +0000 (14:22 +0100)]
mgr/dashboard: Introduce upperFirst pipe

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Configure all mgr modules in UI
Volker Theile [Tue, 22 Jan 2019 09:31:14 +0000 (10:31 +0100)]
mgr/dashboard: Configure all mgr modules in UI

Fixes: https://tracker.ceph.com/issues/37934
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoqa/suites/rbd: enable partial discard test 26432/head
Jason Dillaman [Fri, 22 Feb 2019 13:44:27 +0000 (08:44 -0500)]
qa/suites/rbd: enable partial discard test

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: align discard requests to default bluestore allocation size
Jason Dillaman [Thu, 14 Feb 2019 14:53:34 +0000 (09:53 -0500)]
librbd: align discard requests to default bluestore allocation size

This will match the new krbd behavior of aligning discards to the
default bluestore minimum allocation size. Requests that are too
small (or the misaligned head / tail of the request) will be
ignored since it will not result in freed space.

Fixes: http://tracker.ceph.com/issues/38146
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge PR #26636 into master
Sage Weil [Tue, 26 Feb 2019 12:40:48 +0000 (06:40 -0600)]
Merge PR #26636 into master

* refs/pull/26636/head:
messages/MMonMgrDigest: use set_data() to avoid screwing up byte_throttler

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #26130 from minshenglin/wip-37855
Matt Benjamin [Tue, 26 Feb 2019 12:05:09 +0000 (07:05 -0500)]
Merge pull request #26130 from minshenglin/wip-37855

rgw_file: use correct secret key to check auth

6 years agomgr/dashboard: Update npm packages 26647/head
Tiago Melo [Tue, 26 Feb 2019 11:24:09 +0000 (11:24 +0000)]
mgr/dashboard: Update npm packages

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agodoc: fix typo in objectops.rst 26646/head
Lan Liu [Tue, 26 Feb 2019 10:07:43 +0000 (18:07 +0800)]
doc: fix typo in objectops.rst

Signed-off-by: Lan Liu <liulan@umcloud.com>
6 years agorpm: use %_python_buildid to specify python-remoto dep 26645/head
Nathan Cutler [Tue, 26 Feb 2019 09:25:56 +0000 (10:25 +0100)]
rpm: use %_python_buildid to specify python-remoto dep

Without this patch, the Python 2 version of python-remoto is always installed,
even on Python 3 systems.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agolibrbd: set *image_size to 0 when getting ENOENT in rbd_group_image_list() 26622/head
songweibin [Mon, 25 Feb 2019 06:59:25 +0000 (14:59 +0800)]
librbd: set *image_size to 0 when getting ENOENT in rbd_group_image_list()

Fixes: http://tracker.ceph.com/issues/38468
Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agodoc: use preferred commands for ceph config-key 26527/head
Changcheng Liu [Wed, 20 Feb 2019 03:22:04 +0000 (11:22 +0800)]
doc: use preferred commands for ceph config-key

'del' & 'list' & 'put' are deprecated. It's preferred to
using 'rm' & 'ls' & 'set' for ceph config-key

Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
6 years agoMerge pull request #26611 from falcon78921/wip-doc-log-based-pg
Xie Xingguo [Tue, 26 Feb 2019 00:42:37 +0000 (08:42 +0800)]
Merge pull request #26611 from falcon78921/wip-doc-log-based-pg

doc: updated reference link for log based PG

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agomon/OSDMonitor: remove old v1 addrs when converting blacklist to new TYPE_ANY form 26640/head
Sage Weil [Mon, 25 Feb 2019 22:52:13 +0000 (16:52 -0600)]
mon/OSDMonitor: remove old v1 addrs when converting blacklist to new TYPE_ANY form

Fixes: http://tracker.ceph.com/issues/38477
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomsg/async: set ms_*_mode to crc only (no secure)
Sage Weil [Mon, 25 Feb 2019 19:14:37 +0000 (13:14 -0600)]
msg/async: set ms_*_mode to crc only (no secure)

'secure' mode will be experimental in the initial nautilus release.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #26617 into master
Sage Weil [Mon, 25 Feb 2019 22:41:40 +0000 (16:41 -0600)]
Merge PR #26617 into master

* refs/pull/26617/head:
rpm: Fix pyOpenSSL dependency

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
6 years agoMerge PR #26623 into master
Sage Weil [Mon, 25 Feb 2019 22:41:16 +0000 (16:41 -0600)]
Merge PR #26623 into master

* refs/pull/26623/head:
mgr/PyModule: put mgr_module_path first in sys.path

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #26543 into master
Sage Weil [Mon, 25 Feb 2019 22:40:46 +0000 (16:40 -0600)]
Merge PR #26543 into master

* refs/pull/26543/head:
Revert "ceph.spec.in: python-kubernetes broken on rhel"

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge PR #26625 into master
Sage Weil [Mon, 25 Feb 2019 22:40:12 +0000 (16:40 -0600)]
Merge PR #26625 into master

* refs/pull/26625/head:
rpm,cmake: additional fixes to make amqp support optional

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #22755 from zhangsw/feature-rgw-appendobj
Matt Benjamin [Mon, 25 Feb 2019 22:29:10 +0000 (17:29 -0500)]
Merge pull request #22755 from zhangsw/feature-rgw-appendobj

rgw: Add append object api.

6 years agoMerge PR #26610 into master
Patrick Donnelly [Mon, 25 Feb 2019 20:25:11 +0000 (12:25 -0800)]
Merge PR #26610 into master

* refs/pull/26610/head:
doc: updated governance link for Ceph project leads

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agolibrbd: skip partial discards by default
Jason Dillaman [Wed, 13 Feb 2019 18:18:17 +0000 (13:18 -0500)]
librbd: skip partial discards by default

Avoid the IO expense of writing zeros mid-object when a discard
is attempting to free space.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: image replay should retry asok registration upon failure 26523/head
Jason Dillaman [Sat, 23 Feb 2019 00:25:44 +0000 (19:25 -0500)]
rbd-mirror: image replay should retry asok registration upon failure

If the asok registration fails (perhaps due to a race condition with
a deleted and recreated image of the same name), periodically attempt
to register the missing asok hook.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: failure to initialize pool replayer should stop leader
Jason Dillaman [Fri, 22 Feb 2019 18:52:43 +0000 (13:52 -0500)]
rbd-mirror: failure to initialize pool replayer should stop leader

The leader watcher should not start processing requests if it failed
to initialize.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: fixed potential bootstrap cancel race condition
Jason Dillaman [Fri, 22 Feb 2019 18:22:55 +0000 (13:22 -0500)]
rbd-mirror: fixed potential bootstrap cancel race condition

If the image replay was canceled prior to the start of the bootstrap
stage, the image replayer would be stuck attempting to shut down if
the bootstrap is paused behind an image sync.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: complete pool watcher initialization if object missing
Jason Dillaman [Fri, 22 Feb 2019 15:59:26 +0000 (10:59 -0500)]
rbd-mirror: complete pool watcher initialization if object missing

If the mirroring object is missing, complete the initialization and
continue to retry in the background. This is useful for cases where
the remote doesn't (yet) have mirroring enabled but the remote
pool watcher initialization is delaying the leader watcher promotion
to the point where the leader is blacklisted by its peers.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: abort trash watcher initialization if create blacklisted
Jason Dillaman [Thu, 21 Feb 2019 17:37:38 +0000 (12:37 -0500)]
rbd-mirror: abort trash watcher initialization if create blacklisted

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #26603 from dillaman/wip-38453
Mykola Golub [Mon, 25 Feb 2019 19:13:16 +0000 (21:13 +0200)]
Merge pull request #26603 from dillaman/wip-38453

rbd-mirror: use active/active policy by default

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agomessages/MMonMgrDigest: use set_data() to avoid screwing up byte_throttler 26636/head
Sage Weil [Mon, 25 Feb 2019 18:41:01 +0000 (12:41 -0600)]
messages/MMonMgrDigest: use set_data() to avoid screwing up byte_throttler

Use the existing set_data() helper to avoid breaking the byte_throttler
accounting.

Fixes e4ae368ff7a5396194f8bdd5692429af5457998b

Fixes: http://tracker.ceph.com/issues/38295
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorbd-mirror: avoid attempting to reacquire lock if blacklisted
Jason Dillaman [Thu, 21 Feb 2019 17:37:00 +0000 (12:37 -0500)]
rbd-mirror: avoid attempting to reacquire lock if blacklisted

The pool replayer state machine will automatically be restarted
when a blacklist is detected.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: don't delete global perf counters before shut down
Jason Dillaman [Thu, 21 Feb 2019 15:19:19 +0000 (10:19 -0500)]
rbd-mirror: don't delete global perf counters before shut down

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: add missing shutdown states to managed lock helper
Jason Dillaman [Tue, 19 Feb 2019 21:06:48 +0000 (16:06 -0500)]
librbd: add missing shutdown states to managed lock helper

The PRE_SHUTTING_DOWN and SHUTTING_DOWN states were missed
in the 'is_state_shutdown' helper method. This resulted in
rbd-mirror potentially entering an infinite loop during
shutdown.

http://tracker.ceph.com/issues/38387
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoqa/workunits/rbd: delete pools before stopping rbd-mirror
Jason Dillaman [Tue, 19 Feb 2019 20:48:38 +0000 (15:48 -0500)]
qa/workunits/rbd: delete pools before stopping rbd-mirror

This better mimics the behavior of teuthology and tests rbd-mirror
daemon's ability to handle a pool deletion.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agomgr/rook: have it create bluestore OSDs in data_directories 26570/head
Jeff Layton [Thu, 21 Feb 2019 22:18:25 +0000 (17:18 -0500)]
mgr/rook: have it create bluestore OSDs in data_directories

When the data_directories field is populated, use that to populate the
spec.storage.nodes.<host>.directories field in the CephCluster object.
That will cue the rook operator to create an OSD in using an area under
that directory for storage.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
6 years agomgr/orchestrator: add new list of directories to DriveGroupSpec
Jeff Layton [Thu, 21 Feb 2019 22:00:15 +0000 (17:00 -0500)]
mgr/orchestrator: add new list of directories to DriveGroupSpec

Add a new data_directories list to DriveGroupSpec that is intended to
hold a list of directories in which OSDs should be created, as opposed
to the raw devices in data_devices.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
6 years agodoc/release/nautilus: added RBD major features
Jason Dillaman [Mon, 25 Feb 2019 17:52:15 +0000 (12:52 -0500)]
doc/release/nautilus: added RBD major features

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge PR #26632 into master 26632/head
Sage Weil [Mon, 25 Feb 2019 16:44:43 +0000 (10:44 -0600)]
Merge PR #26632 into master

* refs/pull/26632/head:
14.1.0

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
6 years agomsg/async: msgr2: template specialized write function for frames
Ricardo Dias [Fri, 22 Feb 2019 11:05:38 +0000 (11:05 +0000)]
msg/async: msgr2: template specialized write function for frames

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomsg/async: msgr2: extract frame classes into its own header
Ricardo Dias [Mon, 25 Feb 2019 16:23:04 +0000 (16:23 +0000)]
msg/async: msgr2: extract frame classes into its own header

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge PR #26609 into master
Sage Weil [Mon, 25 Feb 2019 16:32:01 +0000 (10:32 -0600)]
Merge PR #26609 into master

* refs/pull/26609/head:
ceph_test_msgr: skip injection test for simplemessenger

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #26600 from jtlayton/wip-dashboard-rook
jtlayton [Mon, 25 Feb 2019 16:28:43 +0000 (17:28 +0100)]
Merge pull request #26600 from jtlayton/wip-dashboard-rook

mgr/dashboard: special casing for minikube in run-backend-rook-api-request.sh

6 years agorbd-mirror: use active/active policy by default 26603/head
Mykola Golub [Mon, 25 Feb 2019 09:50:00 +0000 (11:50 +0200)]
rbd-mirror: use active/active policy by default

Fixes: http://tracker.ceph.com/issues/38453
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #26522 from ashishkumsingh/wip-doc-38310
David Zafman [Mon, 25 Feb 2019 16:20:49 +0000 (08:20 -0800)]
Merge pull request #26522 from ashishkumsingh/wip-doc-38310

doc: Fix incorrect mention of 'osd_deep_mon_scrub_interval'

Reviewed-by: David Zafman <dzafman@redhat.com>
6 years agoMerge PR #26598 into master
Sage Weil [Mon, 25 Feb 2019 16:08:07 +0000 (10:08 -0600)]
Merge PR #26598 into master

* refs/pull/26598/head:
doc/releases/nautilus: note about msgr2
doc/releases/nautilus: rgw highlights
doc/releases/nautilus: draft notes

Reviewed-by: Kai Wagner <kwagner@suse.com>
6 years agodoc/releases/nautilus: add msgr2 enablement steps
Sage Weil [Mon, 25 Feb 2019 16:07:14 +0000 (10:07 -0600)]
doc/releases/nautilus: add msgr2 enablement steps

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agodoc/releases/nautilus: add dashboard items
Sage Weil [Mon, 25 Feb 2019 16:06:49 +0000 (10:06 -0600)]
doc/releases/nautilus: add dashboard items

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/dashboard: Change icon color in notifications 26586/head
Volker Theile [Mon, 25 Feb 2019 14:21:51 +0000 (15:21 +0100)]
mgr/dashboard: Change icon color in notifications

- Use CSS filters to convert the existing icons to white.
- Add new Prometheus SVG image, the previous PNG image has used the color white instead or transparent to fill some areas.

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge PR #26280 into master
Sage Weil [Mon, 25 Feb 2019 14:44:23 +0000 (08:44 -0600)]
Merge PR #26280 into master

* refs/pull/26280/head:
mgr: Remove _ceph_(g|s)et_module_option_ex() method
mgr: remove _ceph_get_module_option_ex() method

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge PR #26487 into master
Sage Weil [Mon, 25 Feb 2019 14:43:57 +0000 (08:43 -0600)]
Merge PR #26487 into master

* refs/pull/26487/head:
CLI: ability to change file ownership

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #26591 into master
Sage Weil [Mon, 25 Feb 2019 14:43:40 +0000 (08:43 -0600)]
Merge PR #26591 into master

* refs/pull/26591/head:
osd/PrimaryLogPG: handle object !exists in handle_watch_timeout

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agodoc/releases/nautilus: note about msgr2
Sage Weil [Fri, 22 Feb 2019 22:05:41 +0000 (16:05 -0600)]
doc/releases/nautilus: note about msgr2

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agodoc/releases/nautilus: rgw highlights
Sage Weil [Fri, 22 Feb 2019 18:38:57 +0000 (12:38 -0600)]
doc/releases/nautilus: rgw highlights

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agodoc/releases/nautilus: draft notes
Sage Weil [Fri, 22 Feb 2019 17:54:15 +0000 (11:54 -0600)]
doc/releases/nautilus: draft notes

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoceph_test_msgr: skip injection test for simplemessenger 26609/head
Sage Weil [Sun, 24 Feb 2019 15:36:57 +0000 (09:36 -0600)]
ceph_test_msgr: skip injection test for simplemessenger

The interceptor is only implemented in asyncmessenger.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #26539 from tspmelo/wip-nfs-status
Lenz Grimmer [Mon, 25 Feb 2019 12:12:22 +0000 (13:12 +0100)]
Merge pull request #26539 from tspmelo/wip-nfs-status

mgr/dashboard: Add NFS status endpoint

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoceph-volume: don't create osd['block.db'] by default 26627/head
Jan Fajerski [Mon, 25 Feb 2019 11:55:42 +0000 (12:55 +0100)]
ceph-volume: don't create osd['block.db'] by default

Signed-off-by: Jan Fajerski <jfajerski@suse.com>