Commit Graph

97405 Commits

Author SHA1 Message Date
Sage Weil
de92bc877e common/options: flag misc ms_* options STARTUP
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-25 16:26:06 -05:00
Sage Weil
0c944c0f51 common/options: flag misc options STARTUP
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-25 16:26:06 -05:00
Sage Weil
5dcf3676a6 common/options: mark cluster log options with FLAG_RUNTIME, use get_val
We already have observers set up for these; switch to using the
runtime-safe accessor and flag them.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-25 16:26:06 -05:00
Sage Weil
07cc5612bf common/options: mark a bunch of options with FLAG_STARTUP
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-17 14:26:22 -05:00
Ricardo Marques
4c79d02f69
Merge pull request #27581 from LenzGr/master-documentation
doc: Improved the dashboard proxy config section

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-04-17 10:03:42 +01:00
Nathan Cutler
c74cffd8a8
Merge pull request #27593 from smithfarm/wip-39291
cmake: revert librados_tp.so version from 3 to 2

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2019-04-17 07:41:59 +02:00
Kefu Chai
73da58a399
Merge pull request #27514 from tchaikov/wip-crimson-auth-client
crimson: enable cephx for v2 msgr

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-04-17 08:17:48 +08:00
Patrick Donnelly
8e250adbfc
Merge PR #27624 into master
* refs/pull/27624/head:
	doc: fixed telemetry module reference link

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-04-16 16:53:47 -07:00
Kefu Chai
2d783eb0d5 crimson/auth: let AuthClient::get_auth_request return a named struct
better readability this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-17 07:14:04 +08:00
Kefu Chai
26635989af crimson/mon: use const reference for Connection::auth_registry
it is not optional now.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-17 07:14:01 +08:00
Kefu Chai
cc65bc948a auth/AuthRegistry: more constness
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-17 07:13:46 +08:00
Kefu Chai
32ebbce815 crimson/mon: remove "#warning" in v1 implementation
since we've implemented the v2 support, these reminders are not needed
anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-17 07:13:46 +08:00
Kefu Chai
21e33ff4e3 crimson/mon: reset promise using {}
better readability, less repeating.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-17 07:13:46 +08:00
Kefu Chai
b46a1d133f mon/MonClient: remove unused AuthMethodList
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-17 07:13:46 +08:00
Kefu Chai
dd1d641d16 crimson/mon: use auth_registry for querying auth_methods
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-17 07:13:42 +08:00
James McClune
18b1b986e4 doc: fixed telemetry module reference link
Used :ref: label for telemetry reference in Nautilus.

Fixes: https://tracker.ceph.com/issues/39337
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-04-16 18:19:38 -04:00
Sage Weil
c2190c1ff8 Merge PR #27519 into master
* refs/pull/27519/head:
	doc/rados/operations/health-checks: document new bluestore warnings
	os/bluestore: alert on fm/bdev size mismatch
	os/bluestore: introduce legacy statfs alert

Reviewed-by: Sage Weil <sage@redhat.com>
2019-04-16 14:31:49 -05:00
Sage Weil
98923d8a21 Merge PR #27556 into master
* refs/pull/27556/head:
	mgr/rook: Remove support for Rook older than v0.9

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
Reviewed-by: Blaine Gardner <bgardner@suse.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-04-16 14:31:30 -05:00
Sage Weil
872590fe83 Merge PR #27563 into master
* refs/pull/27563/head:
	mon/OSDMonitor: respect crush node flags for can_mark_*()
	osd/OSDMap: add get_crush_node_flags(int osd)
	mon/OSDMonitor: make 'osd {add,rm}-{noin,noout,...}' support crush nodes
	osd/OSDMap: raise OSD_FLAGS health alert for crush node flags, too
	osd/OSDMap: add flags for crush nodes

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-04-16 14:30:41 -05:00
Sage Weil
ca140a5001 Merge PR #27568 into master
* refs/pull/27568/head:
	doc/release/nautilus: proscribe minimum hammer tunables and straw2 on upgrade
	common/options: update mon_crush_min_required_version=hammer

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-04-16 14:30:23 -05:00
Casey Bodley
429ee4ee14
Merge pull request #26461 from adamemerson/wip-aio-aio-aio-aio-queue-like-an-egyptian
♪ Ai-o Ai-o Ai-o Ai-o… queue like an Egyptian ♪

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-04-16 15:01:13 -04:00
Yuri Weinstein
a7550bd204
Merge pull request #27616 from yuriw/wip-yuriw-crontab-master
qa/tests: moved some runs from ovh, removed ceph-disk/nautilus
2019-04-16 10:18:24 -07:00
Neha Ojha
884d0de639
Merge pull request #27381 from markhpc/wip-prioritycache-manager
common/PriorityCache: Implement a Cache Manager

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-16 09:49:06 -07:00
Yuri Weinstein
036e50f9dc qa/tests: moved some runs from ovh, removed ceph-disk/nautilus
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-04-16 09:39:31 -07:00
Matt Benjamin
ffdf7c1658
Merge pull request #26089 from taoCH/wip-librgw-create-bucket-bug
rgw: unexpected crash when creating bucket in librgw
2019-04-16 10:53:13 -04:00
Kefu Chai
435775c536 crimson: use lowres_system_clock for keepalive timestamps
we should use chrono types for representing time_point and duration,
utime_t could be used for the format on wire though.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 22:14:11 +08:00
Kefu Chai
f5f9c5668c crimson/osd: use v2 addresses
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 22:14:11 +08:00
Kefu Chai
f9f3ac91d3 crimson/osd: register monc as an AuthClient
so msgrs will be able to turn to monc when they try to authenticate
themselves.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 22:14:11 +08:00
Kefu Chai
0fcd1a8ac8 crimson/mon: implement AuthClient
for v2 msgr authentication support, let ceph::mon::Client implement
ceph::auth::AuthClient.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 22:14:11 +08:00
Kefu Chai
afdb0b5a56 crimson/mon: rename Connection::authenticate()
rename Connection::authenticate() to Connection::authenticate_v1() to
differentiate it from Connection::authenticate_v2(). the latter will be
added for v2 msgr support.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 22:14:11 +08:00
Kefu Chai
c273eb6c7d crimson/net: add setters for Connections
so we don't directly access its member variables

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 22:14:11 +08:00
Kefu Chai
15b8258efb crimson/mon: refactor Connection::create_auth() so it can be reused
Connection::create_auth() will be shared by v1 and v2 msgrs, so we need
to decouple it from v1 implementation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 22:14:11 +08:00
Kefu Chai
27b5c54f11 crimson/auth: refactor AuthClient interface
* we'd better return value by "return" not by passing output prameters by
  pointers.
* remove unused parameters from AuthClient::handle_auth_done(),
  `session_key` and `connection_secret` are returned by setting
  corresponding member variables of `auth_meta`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 22:14:10 +08:00
Kefu Chai
d87bc2c5d1 crimson/auth: rename auth::auth_error to auth::error
* s/auth::auth_error/auth::error/: less repeating this way
* auth/Errors.{h,cc}: remove them. as we don't need to use error code to
  construct exceptions in this context
* move auth::error into auth::AuthClient

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 22:13:54 +08:00
Sage Weil
3859b35f9c Merge PR #27564 into master
* refs/pull/27564/head:
	ceph-objectstore-tool: Rename dump-import to dump-export
	osd: Fix fast path to use version bumped value

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-04-16 08:38:34 -05:00
Sage Weil
9ee9f787a4 Merge PR #27546 into master
* refs/pull/27546/head:
	mgr/progress: fix typo
	mgr/progress: behave if pgs disappear (due to a racing pg merge)

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-04-16 08:28:24 -05:00
Lenz Grimmer
17c59e3d8b
Merge pull request #27036 from votdev/issue_24453
mgr/dashboard: Manager should complain about wrong dashboard certificate

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-04-16 14:39:05 +02:00
Lenz Grimmer
6a0911d130
Merge pull request #27433 from rhcs-dashboard/wip-36243-master
mgr/dashboard: Add frontend code documentation

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-04-16 14:34:20 +02:00
Nathan Cutler
6cb395cf0b cmake: revert librados_tp.so version from 3 to 2
Post-mortem analysis:

librados.so and librados_tp.so are packaged together in the librados2
RPM.

c680fb10f5 bumped
the librados.so and librados_tp.so versions from 2 to 3.

Later, 7bf6b5ee12 reverted the librados.so
version from 3 to 2, but left the librados_tp.so version at 3.

Fixes: http://tracker.ceph.com/issues/39291
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-04-16 13:56:35 +02:00
Lenz Grimmer
70a28a3e47 doc: Improved the dashboard proxy config section
Added paragraph that explains how standby dashboard instances perform
HTTP redirections to the currently active ceph-mgr node.
Added note about current limitations (see Bug#24662 for details).

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2019-04-16 12:01:42 +02:00
Lenz Grimmer
43c56e1a5a doc: dashboard: refined object gateway configuration
As discussed in BUG#39252, the dashboard currently does not
support all possible RGW configuration possibilities when trying
to obtain hostname and port number. Update the docs to better
reflect this.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2019-04-16 11:59:53 +02:00
Yuval Lifshitz
0b0b89ee08
Merge pull request #27530 from yuvalif/fix_pubsub_duplicates
rgw/pubsub: handle subscription conf errors better
2019-04-16 09:09:45 +03:00
Kefu Chai
3bc3433508
Merge pull request #27552 from tchaikov/wip-corpus.rst
doc/corpus: update to adapt the change from autotools to cmake

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Changcheng Liu <changcheng.liu@intel.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-16 09:15:24 +08:00
Kefu Chai
7f7fdc7211 doc/corpus: update to adapt the change from autotools to cmake
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 00:25:53 +08:00
Sage Weil
b29495954b doc/rados/operations/health-checks: document new bluestore warnings
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-15 17:42:48 +03:00
Yuval Lifshitz
6f646f0db4
Merge pull request #27493 from yuvalif/pubsub_zone_conf_doc
rgw/pubsub: clarify pubsub zone configuration
2019-04-15 16:42:09 +03:00
Sage Weil
c076bb0c7a Merge PR #27585 into master
* refs/pull/27585/head:
	messages: remove MNop

Reviewed-by: Sage Weil <sage@redhat.com>
2019-04-15 08:26:08 -05:00
Casey Bodley
42190676b5
Merge pull request #27578 from cbodley/wip-rgw-pubsub-warning
rgw: silence a -Wunused-function warning in pubsub

Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
2019-04-15 09:03:04 -04:00
Casey Bodley
be4017ef49
Merge pull request #27178 from pritha-srivastava/wip-rgw-iam
rgw: Adding 'iam' namespace for Role and User Policy related REST APIs.

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-04-15 09:00:32 -04:00
Igor Fedotov
a3ab32e765 os/bluestore: alert on fm/bdev size mismatch
Relates to: https://tracker.ceph.com/issues/39151

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-04-15 15:15:00 +03:00