Commit Graph

95722 Commits

Author SHA1 Message Date
Yuval Lifshitz
ba5d29881c rgw: xml unit tests. simplify API. add docs
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2019-02-27 19:39:14 +02:00
Sage Weil
795165528e mon/ConfigMonitor: add 'config ls'
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-27 11:37:47 -06:00
Yuval Lifshitz
6152a41ce9 allow kill -9 after failing to kill procs
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2019-02-27 19:15:07 +02:00
Sage Weil
039424284f mon: handle racing ms_handle_reset and handle_auth_request
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-27 10:50:54 -06:00
Sage Weil
817edc821f osd/PG: log tracked pg refs under debug_refs
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-27 10:49:50 -06:00
Sage Weil
dbf98cbd62 osd/PG: include tag in get/put debug lines
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-27 10:49:50 -06:00
Sage Weil
8dcb4d6842 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>
2019-02-27 10:49:50 -06:00
Ricardo Dias
45f232703a
msg/async: msgr2: cleanup frame classes hacks
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-02-27 16:32:46 +00: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
Volker Theile
f951272621 mgr/dashboard: Relocate empty pipe
Move empty pipe into shared/pipes directory.

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-02-27 12:38:44 +01: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
Brad Hubbard
504ab05463 tools/ceph_kvstore_tool: Move summary output to print_summary
Post 301a64212f0a38a3b5db4bd1bd0f15e26ff055cf we are still seeing an ICE
in the copy_store_to code. Moving the summary printing to its own
function alleviates the issue.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-02-27 18:17:28 +10:00
Kefu Chai
8655f89e9b 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>
2019-02-27 15:08:24 +08:00
Kefu Chai
72814cd566 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>
2019-02-27 15:07:11 +08:00
Kefu Chai
b64ab81026 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>
2019-02-27 14:57:55 +08:00
Changcheng Liu
0da1f3540c doc: change ruleset to id in crush map file
ruleset is not used after merging below patch
   commit f9a095deb1
       crush: s/ruleset/id/ in decompiled output
       Moving away from the 'ruleset' terminology.

Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
2019-02-27 11:47:44 +08: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
Sage Weil
dd573aaf31 common/ceph_context: experimental kludge for crimson
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-26 16:27:11 -06:00
Sage Weil
fd73b4c393 auth/AuthRegistry: mark 'secure' con mode experimental for now
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-26 16:27:11 -06: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
Nathan Cutler
4004f55905 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>
2019-02-26 10:25:56 +01: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