Commit Graph

95542 Commits

Author SHA1 Message Date
Sage Weil
ceb66a4996 ceph_test_rados_[a]io_pp: add test verifying read-into-bufferlist behavior
libradosstriper relies on this, and other callers may too.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-04 14:24:05 -06:00
Sage Weil
aae0e8c0c0 osdc/Objecter: preserve read-into-existing-buffer behavior
The libradosstriper::RadosStriperImpl::aio_read populates the target
outbl with a static buffer and relies on us reading into it.  This was
actually not reliable in the past (it could fail if the rx_buffers
optimization failed due to a retransmit or something else) but nevertheless
libradosstriper requires it to work *at all*.

Resolve this by modifying Objecter to copy the result into any provided
buffer at the lowest layer.  This should capture any other such user who
needed this behavior.

On the other hand, it will break any user who inadvertantly reads into a
non-empty bufferlist.  Given that any such user would already previously
have seen bad behavior due to the rx_buffers optimization, we expect
there to be 0 such instances.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-03 10:38:53 -06:00
Sage Weil
18ff587f1a osdc/Objecter: don't use post_rx_buffer or revoke_rx_buffer at all
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-01 14:12:37 -06:00
Sage Weil
0c59931bef msg/Connection: disable {post,revoke}_rx_buffer
Broken by design.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-28 12:41:54 -06:00
Sage Weil
24c018507e msg/async/ProtocolV1: disable rx_buffers behavior
This is broken by design.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-28 12:41:54 -06:00
Sage Weil
ba5c32e75b msg/simple/Pipe: disable rx_buffer code
This reproducibly crashes. Although we don't have a complete understanding
of the exact sequence leading to the crash, we can reproduce, and we have
multiple theoretical cases where it appears to be broken by design.

Fixes: http://tracker.ceph.com/issues/22480
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-28 12:41:51 -06:00
Sage Weil
4b535a6e8f 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>
2019-02-27 12:26:27 -06:00
Sebastian Wagner
86b7a64d56
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>
2019-02-27 19:24:43 +01:00
Sage Weil
c78bcb2168 doc/releases/nautilus: dashboard tweaks
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-27 11:43:52 -06:00
Sage Weil
4346c36d8f 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>
2019-02-27 11:40:50 -06:00
Sage Weil
44c8a2c006 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>
2019-02-27 10:25:39 -06:00
Lenz Grimmer
76c6d34809
Merge pull request #26227 from Tinatinak/api_documentation
mgr/dashboard: Improved support for generating OpenAPI Spec documentation

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-02-27 16:49:38 +01:00
Lenz Grimmer
24f82a2f1d
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>
2019-02-27 16:48:31 +01:00
Mykola Golub
a0014efaa3
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>
2019-02-27 17:31:15 +02:00
Mykola Golub
3be6a53790
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>
2019-02-27 17:11:44 +02:00
Lenz Grimmer
c3149421bc 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>
2019-02-27 13:49:47 +01:00
Tiago Melo
4a6116f12c 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>
2019-02-27 12:25:38 +00:00
Lenz Grimmer
737809365b
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>
2019-02-27 12:05:19 +01:00
Lenz Grimmer
8a9576cf74
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>
2019-02-27 12:01:06 +01:00
Lenz Grimmer
a8e21fe4c0
Merge pull request #26589 from Devp00l/issue-38382
mgr/dashboard: PGs will update as expected

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-02-27 11:04:21 +01:00
Lenz Grimmer
532e16c538
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>
2019-02-27 11:01:25 +01:00
Lenz Grimmer
acb8930fe1
Merge pull request #26592 from nathan-weinberg/fs-breadcrumb
mgr/dashboard: Added breadcrumb tests to Filesystems menu
2019-02-27 10:59:22 +01:00
Lenz Grimmer
23a3363fea
Merge pull request #26647 from tspmelo/wip-npm-update-19-03
mgr/dashboard: Update npm packages

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2019-02-27 10:57:06 +01:00
Joao Eduardo Luis
bde0ea90e9
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>
2019-02-27 09:33:42 +00:00
Kefu Chai
bc9ac5a5d5
Merge pull request #26527 from iotcg/doc
use preferred commands for ceph config-key

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-02-27 11:08:05 +08:00
Kefu Chai
97d0a1098e
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>
2019-02-27 10:49:24 +08:00
Patrick Donnelly
8d6fb148f9
Merge PR #26646 into master
* refs/pull/26646/head:
	doc: fix typo in objectops.rst

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-26 12:04:20 -08:00
Sage Weil
a650e97b73 doc/releases/nautilus: more rados highlights
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-26 13:18:46 -06:00
Andrew Schoen
a125087d25
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>
2019-02-26 10:35:22 -06:00
Ricardo Dias
e9ac3e0530
msg/async: msgr2: expected tags validation
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-02-26 16:01:15 +00:00
Andrew Schoen
3c2595d280
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>
2019-02-26 09:27:10 -06:00
Lenz Grimmer
aded02d065
Merge pull request #26481 from votdev/gitignore_wheelhouse
mgr: Ignore __pycache__ and wheelhouse dirs

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-02-26 15:44:42 +01:00
Tiago Melo
678e522f54 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>
2019-02-26 14:11:31 +00:00
Lenz Grimmer
01c7fae349
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>
2019-02-26 15:06:43 +01:00
Volker Theile
87ab0dac19 mgr/dashboard: Introduce upperFirst pipe
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-02-26 14:12:07 +01:00
Volker Theile
c16d8f2964 mgr/dashboard: Configure all mgr modules in UI
Fixes: https://tracker.ceph.com/issues/37934

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-02-26 14:12:07 +01:00
Jason Dillaman
8410cb05bd qa/suites/rbd: enable partial discard test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-02-26 07:42:36 -05:00
Jason Dillaman
7ca1bab90f 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>
2019-02-26 07:42:35 -05:00
Sage Weil
e4b45b9849 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>
2019-02-26 06:40:48 -06:00
Matt Benjamin
c5f21d2212
Merge pull request #26130 from minshenglin/wip-37855
rgw_file: use correct secret key to check auth
2019-02-26 07:05:09 -05:00
Tiago Melo
c6f13be78c mgr/dashboard: Update npm packages
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-26 11:26:46 +00:00
Lan Liu
0a875211a5 doc: fix typo in objectops.rst
Signed-off-by: Lan Liu <liulan@umcloud.com>
2019-02-26 18:07:43 +08:00
songweibin
141e3a74b6 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>
2019-02-26 15:07:13 +08:00
Changcheng Liu
2ef3243121 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>
2019-02-26 09:01:14 +08:00
Xie Xingguo
59a99dfbd7
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>
2019-02-26 08:42:37 +08:00
Sage Weil
d2a3168bf3 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>
2019-02-25 16:41:40 -06:00
Sage Weil
ff7fd6d930 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>
2019-02-25 16:41:16 -06:00
Sage Weil
4059cbd756 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>
2019-02-25 16:40:46 -06:00
Sage Weil
1f909bc88b 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>
2019-02-25 16:40:12 -06:00
Matt Benjamin
d82c9d5807
Merge pull request #22755 from zhangsw/feature-rgw-appendobj
rgw: Add append object api.
2019-02-25 17:29:10 -05:00