]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yingxin Cheng [Fri, 1 Mar 2019 07:46:36 +0000 (15:46 +0800)]
msg/async: fix banner_v1 check in ProtocolV2
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
Sage Weil [Fri, 1 Mar 2019 00:08:29 +0000 (18:08 -0600)]
Merge PR #26614 into master
* refs/pull/26614/head:
osd: Implement lazy omap usage statistics
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Fri, 1 Mar 2019 00:07:59 +0000 (18:07 -0600)]
Merge PR #26453 into master
* refs/pull/26453/head:
rpm: build with lttng on ppc64le (SUSE)
rpm: no lttng build on openSUSE s390x
Reviewed-by: Tim Serong <tserong@suse.com>
Sage Weil [Fri, 1 Mar 2019 00:07:25 +0000 (18:07 -0600)]
Merge PR #26667 into master
* refs/pull/26667/head:
cmake: link rgw tests with ${rgw_libs}
cmake: link ${rgw_libs} not rgw_a and rabbitmq
cmake: move rgw tests targets down to end
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Sage Weil [Fri, 1 Mar 2019 00:05:28 +0000 (18:05 -0600)]
Merge PR #26681 into master
* refs/pull/26681/head:
mon/ConfigMonitor: add 'config ls'
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
Jason Dillaman [Thu, 28 Feb 2019 22:31:45 +0000 (17:31 -0500)]
Merge pull request #26693 from trociny/wip-rbd-bench-interrupt
rbd: close image when bench is interrupted
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Matt Benjamin [Thu, 28 Feb 2019 21:58:34 +0000 (16:58 -0500)]
Merge pull request #26639 from cbodley/wip-38479
rgw: data sync drains lease stack on lease failure
Alfredo Deza [Thu, 28 Feb 2019 18:01:22 +0000 (13:01 -0500)]
Merge pull request #26685 from ceph/wip-testinfra-ceph-volume
ceph-volume: use our own testinfra suite for functional testing
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Lenz Grimmer [Thu, 28 Feb 2019 17:42:10 +0000 (18:42 +0100)]
Merge pull request #26650 from LenzGr/typo-fix
mgr/dashboard: Fixed typos in environment.build.js
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Thu, 28 Feb 2019 17:40:49 +0000 (18:40 +0100)]
Merge pull request #26588 from votdev/relocate_empty_pipe
mgr/dashboard: Relocate empty pipe
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Thu, 28 Feb 2019 17:39:28 +0000 (18:39 +0100)]
Merge pull request #26447 from votdev/fix_notify_show
mgr/dashboard: Remove param when calling notificationService.show
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Lenz Grimmer [Thu, 28 Feb 2019 16:21:38 +0000 (17:21 +0100)]
mgr/dashboard: Fixed typo in environment.build.js
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
Sebastian Wagner [Thu, 28 Feb 2019 13:22:50 +0000 (14:22 +0100)]
Merge pull request #26630 from sebastian-philipp/ssh-simple-type-error
mgr/ssh: fix type and doc errors
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
Mykola Golub [Thu, 28 Feb 2019 12:48:00 +0000 (12:48 +0000)]
rbd: close image when bench is interrupted
Previously when `rbd bench` was interrupted it left the lock and
watcher and one had to wait for them to expire before reusing or
removing the image.
As a bonus now it prints the benchmark summary on exit even if it
is interrupted.
Signed-off-by: Mykola Golub <mgolub@suse.com>
Nathan Cutler [Thu, 28 Feb 2019 11:57:59 +0000 (12:57 +0100)]
Merge pull request #26596 from smithfarm/wip-release-notes-12_2_11
doc: add missing 12.2.11 release note
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
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>
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>
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>
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>
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>
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>
Andrew Schoen [Wed, 27 Feb 2019 21:14:03 +0000 (15:14 -0600)]
ceph-volume: use our own testinfra suite for functional testing
This allows us to run a smaller subset of tests from the ones provided
by ceph-ansible and test only the things that pertain to ceph-volume.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
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>
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>
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>
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>
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>
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>
Sage Weil [Wed, 27 Feb 2019 17:37:47 +0000 (11:37 -0600)]
mon/ConfigMonitor: add 'config ls'
Signed-off-by: Sage Weil <sage@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Volker Theile [Fri, 22 Feb 2019 13:46:38 +0000 (14:46 +0100)]
mgr/dashboard: Relocate empty pipe
Move empty pipe into shared/pipes directory.
Signed-off-by: Volker Theile <vtheile@suse.com>
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>
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>
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>
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>
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
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>
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>
Kefu Chai [Wed, 27 Feb 2019 07:08:21 +0000 (15:08 +0800)]
cmake: link rgw tests with ${rgw_libs}
they should not link against rabbitmq if WITH_RADOSGW_AMQP_ENDPOINT is
not enabled.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Feb 2019 07:07:08 +0000 (15:07 +0800)]
cmake: link ${rgw_libs} not rgw_a and rabbitmq
so we don't need to check the condition everywhere
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Feb 2019 06:57:53 +0000 (14:57 +0800)]
cmake: move rgw tests targets down to end
so we can reference `RabbitMQ::RabbitMQ` which is defined after
`find_package(RabbitMQ REQUIRED)`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
Brad Hubbard [Tue, 11 Dec 2018 04:00:35 +0000 (14:00 +1000)]
osd: Implement lazy omap usage statistics
Opportunistic gathering of omap statistics during deep scrub.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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.
Casey Bodley [Mon, 25 Feb 2019 19:10:39 +0000 (14:10 -0500)]
rgw: data sync drains lease stack on lease failure
on lease failure, call drain_all() to collect the spawned lease stack.
otherwise, the parent coroutine will inherit this spawned stack and may
not drain or collect it manually. RGWDataSyncShardControlCR, for
example, does not drain/collect because it only uses call() to run a
single RGWDataSyncShardCR, so all lease stacks from RGWDataSyncShardCR
just pile up in the RGWDataSyncShardControlCR
Fixes: http://tracker.ceph.com/issues/38479
Signed-off-by: Casey Bodley <cbodley@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>