Commit Graph

93867 Commits

Author SHA1 Message Date
Patrick Donnelly
ac302de7b7
qa: silence read-only WRN for damage testing
Fixes: http://tracker.ceph.com/issues/37944

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-16 11:55:54 -08:00
Patrick Donnelly
f8da35cc5b
Merge PR #25975 into master
* refs/pull/25975/head:
	doc: complete documentation for ceph fs administration commands

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-16 10:17:50 -08:00
Sebastian Wagner
9e3d90b17e
Merge pull request #25964 from jmolmo/get_config_replaced
mgr/ansible: Replace deprecated <get_config> calls

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-01-16 16:50:06 +01:00
Sage Weil
559afb80f8 Merge PR #25966 into master
* refs/pull/25966/head:
	doc: add mimic 13.2.3 and 13.2.4 to releases chart

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-16 08:44:34 -06:00
Patrick Donnelly
5be993d36c
doc: complete documentation for ceph fs administration commands
Fixes: http://tracker.ceph.com/issues/24580

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-16 06:42:08 -08:00
Sebastian Wagner
6b170687d1
Merge pull request #25970 from jtlayton/wip-rook
Fix rook spec and have service_describe provide rados_config_location field for nfs services

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-01-16 14:49:03 +01:00
Lenz Grimmer
6b1970933b
Merge pull request #25376 from rhcs-dashboard/about-modal
mgr/dashboard: About modal proposed changes

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-16 12:20:16 +01:00
Kefu Chai
7b111bd524
Merge pull request #25978 from falcon78921/wip-submitting-patches-doc
SubmittingPatches: added inline markup to important references

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-16 18:42:02 +08:00
Lenz Grimmer
d4a16f4de6
Merge pull request #25865 from Devp00l/wip-issue-37841
mgr/dashboard: RbdMirroringService test suite fails in dev mode

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-01-16 11:38:45 +01:00
Kanika Murarka
175b83c56e mgr/dashboard: About modal proposed changes
Fixes: http://tracker.ceph.com/issues/35693
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
2019-01-16 12:55:09 +05:30
Kefu Chai
5a2849f26c
Merge pull request #25939 from cyx1231st/wip-crimson-msgr-fix-segfault
crimson/net: fix misc issues for segment-fault and test-failures

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-16 15:15:14 +08:00
James McClune
d78863e049 SubmittingPatches: added inline markup to important references
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-01-15 22:42:05 -05:00
Xie Xingguo
51ea3b2538
Merge pull request #25940 from xiexingguo/wip-balancer-pools-support
mgr/balancer: auto balance a list of pools

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-16 08:52:29 +08:00
Jeff Layton
90b4c5157f mgr/rook: populate rados_config_location field
The dashboard ganesha management code requires the rados:// config
URL for the nfs-ganesha daemons. Ensure that we populate that.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-01-15 14:14:35 -05:00
Jeff Layton
5df34eeb11 mgr/rook: lowercase the "RADOS" dict label
rook is lowercasing this tag in the CRD in response to review comments.
Change the orchestrator accordingly.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-01-15 12:41:19 -05:00
Nathan Cutler
0a46fb0f45 doc: add mimic 13.2.3 and 13.2.4 to releases chart
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-01-15 18:40:16 +01:00
Juan Miguel Olmo Martínez
77f20e725c
mgr/ansible: Replace deprecated <get_config> calls
Changes needed to replace the obsolete get_config by the new get_module_option manager module method

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2019-01-15 18:04:06 +01:00
Sage Weil
38a99f04f4 Merge PR #25947 into master
* refs/pull/25947/head:
	msg/Messenger: remove get_connection() and send_message()
	ceph_test_msgr: remove final get_connection() user

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-15 09:42:40 -06:00
Sebastian Wagner
db677babac
Merge pull request #25649 from SUSE/wip-orchestrator-service-op
mgr/orchestrator: Add service_action method

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-01-15 14:37:35 +01:00
Sebastian Wagner
18a7863657
Merge pull request #25669 from sebastian-philipp/orchestrator-type-hinting
mgr/orchestrator: Improve docstrings, add type hinting

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2019-01-15 14:36:40 +01:00
Lenz Grimmer
80945c8b95
Merge pull request #25543 from rjfd/wip-mgr-cli-commands
mgr: modules CLI commands declaration using @CLICommand decorator

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-01-15 11:59:54 +01:00
Lenz Grimmer
4ac642c56a
Merge pull request #25426 from Tinatinak/fix_bug25094_2
mgr/dashboard: Filter out tasks depending on permissions

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-01-15 10:59:10 +01:00
Tim Serong
fa6cd8ae65 mgr/orchestrator_cli: Add service and service-instance start/stop/reload
Signed-off-by: Tim Serong <tserong@suse.com>
2019-01-15 17:11:06 +11:00
Tim Serong
cf2570bae7 mgr/orchestrator: Add service_action method
This is to facilitate service start/stop/reload (for example,
after altering NFS Ganesha configuration, we need to trigger
a service reload).

Signed-off-by: Tim Serong <tserong@suse.com>
2019-01-15 17:09:30 +11:00
Xie Xingguo
c55dc78903
Merge pull request #25953 from falcon78921/wip-doc-24924
doc: fixed typo in CRUSH map docs

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-01-15 14:05:34 +08:00
Yingxin Cheng
e56277fbbb crimson/net: fix potential parallel write in SocketConnection
All the write/flush in SocketConnection should be serialized, or nasty
segment-fault could happen in seastar which is hard to diagnose.

This fix serializes the writes in `handle_keepalive2()` with other
writes in the open state.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-01-15 13:17:48 +08:00
Kefu Chai
1d0fcd847d common/pick_address: #include "ceph_context.h"
pick_address.cc reference cct->_conf, so it should include the
definition of of CephContext explicitly instead of relying on the fact
that some headers it includes include its definition.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-15 13:17:27 +08:00
Kefu Chai
af23895dba common/ip_addr: do not support numa preference if WITH_SEASTAR
in pick_address.cc, set_val_or_die() is called to set the "public_addr"
and/or "cluster_addr". but since the sharded ConfigProxy cannot
set_val_or_die() synchronously, we cannot do it this way.

we need to fix pick_addresses() so it works with seastar later. either
by making the involved function return future<>, or making the set_val()
call non-blocking or synchronous if we can go with 1:1 mapping
threading model.

but at this moment, let's just disable this feature in crimson-osd.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-15 12:05:47 +08:00
Kefu Chai
eb683a3a2a test/crimson: enable unittest_seastar_messenger
so we can at least compile it, even it fails sometimes.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-15 12:04:54 +08:00
Yingxin Cheng
39d778b681 crimson/net: fix unittest_seastar_messenger failure
unittest_seastar_messenger is failed since updated the seastar repo.
std::system_error (error system:22, Invalid argument) will be raised
from `listener->accept()`, which will be re-raised and not be captured.

This fix is to print error logs for the unexpected exceptions in
`SocketMessenger::start()` and not raise them again.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-01-15 12:02:33 +08:00
James McClune
c44d31167a doc: fixed typo in CRUSH map docs
Fixes: https://tracker.ceph.com/issues/24924
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-01-14 22:16:20 -05:00
Sage Weil
0334cc19fa Merge PR #22612 into master
* refs/pull/22612/head:
	kv/RocksDBStore: Don't use sync mode when disableWAL is set.

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-14 20:49:51 -06:00
Sage Weil
f1505a081a Merge PR #25915 into master
* refs/pull/25915/head:
	mon/ConfigMonitor: add 'config generate-minimal-conf' command
	common/options: add FLAG_MINIMAL_CONF

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-01-14 20:49:34 -06:00
Patrick Donnelly
f0eb0e350b
Merge PR #25879 into master
* refs/pull/25879/head:
	client: define template to declare ref
	client: use message smart ptr instead of raw ptr
	client: make map lookup optimizations
	client: do not clear message payload
	client: clean up variable name
	*: use std::string_view instead of char ptr

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-14 15:40:30 -08:00
Patrick Donnelly
43415424d1
Merge PR #25921 into master
* refs/pull/25921/head:
	mds: convert const char ptr to string_view
	common/TrackedOp: use string_view interface

Reviewed-by: Sage Weil <sage@redhat.com>
2019-01-14 15:38:30 -08:00
Jason Dillaman
cdbc9ebad1
Merge pull request #25948 from liewegas/wip-fix-locker-addr
cls/lock: always store v1 addr in locker_info_t

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-14 17:24:46 -05:00
Ali Maredia
b5bd434598
Merge pull request #25881 from cbodley/wip-rgw-sanitize-v4
rgw: sanitize customer encryption keys from log output in v4 auth
2019-01-14 16:30:47 -05:00
Sage Weil
4372688e28 cls/lock: always store v1 addr in locker_info_t
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-14 14:50:58 -06:00
Jason Dillaman
0d18c2864d
Merge pull request #24446 from vico-research-and-consulting/master
common: fix for broken rbdmap parameter parsing

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-14 15:42:57 -05:00
Sage Weil
aa3d6f6667 msg/Messenger: remove get_connection() and send_message()
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-14 14:17:47 -06:00
Sage Weil
9284680f89 ceph_test_msgr: remove final get_connection() user
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-14 14:17:29 -06:00
Sage Weil
5478320ae7 Merge PR #25754 into master
* refs/pull/25754/head:
	msg/async/Protocol: send keepalive on connection race winner

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-01-14 14:11:14 -06:00
Sage Weil
ff67c66ee6 Merge PR #25932 into master
* refs/pull/25932/head:
	qa/tasks/ceph: stop any split/merge activity before scrubbing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-01-14 14:08:25 -06:00
Patrick Donnelly
20323cc294
Merge PR #25888 into master
* refs/pull/25888/head:
	common/HeartbeatMap: no health check if heartbeat_file is empty

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-14 11:40:44 -08:00
Patrick Donnelly
d6ee4aa0fa
Merge PR #25843 into master
* refs/pull/25843/head:
	qa: fix damage expectation setting
	qa: fix loop variable reference

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-01-14 11:37:24 -08:00
Patrick Donnelly
9f8f00d487
Merge PR #25814 into master
* refs/pull/25814/head:
	common/StackStringStream: optimize xsputn() and overflow()

Reviewed-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-14 11:35:39 -08:00
Patrick Donnelly
a2b05b8334
Merge PR #25633 into master
* refs/pull/25633/head:
	mgr/rook: allow service describe and service ls to display nfs services
	mgr/rook: add support for adding NFS gateways
	mgr/orchestrator_cli: add support for adding NFS gateways
	mgr/orchestrator_cli: convert service add/rm commands to be type-specific
	mgr/rook: add decorator for add_stateless_service
	mgr/rook: add a context manager instead of open-coding exception handling

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-01-14 11:32:01 -08:00
Patrick Donnelly
efdd71dcbb
Merge PR #25787 into master
* refs/pull/25787/head:
	mount.fuse.ceph: Fix ambiguous shebang

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-14 11:31:15 -08:00
Marc Schoechlin
fca5ef8aba common: fix for broken rbdmap parameter parsing
This improves the broken parameter parsing discussed in #36327

Test expression for the parsing function:

PARAMS="options='lock_on_read,queue_depth=1024',id=archiv,keyring=/etc/ceph/ceph.client.archiv.keyring"
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

PARAMS="id=archiv,keyring=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024'"
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

PARAMS=""
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

PARAMS=",keyring=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024',id=archiv,"
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

PARAMS="'keyring'=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024',id=archiv,"
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

PARAMS="--keyring=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024',id=archiv, # a comment"
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

Fixes: https://tracker.ceph.com/issues/36327
Signed-off-by: Marc Schoechlin <ms@256bit.org]>
2019-01-14 14:29:59 -05:00
Jason Dillaman
bc26dc3173
Merge pull request #25935 from trociny/wip-37883
test/rbd_mirror: wait for release leader lock fully complete
2019-01-14 10:57:39 -05:00