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
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
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
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
Abhishek L
dde34ed1fa
Merge pull request #27553 from theanalyst/doc/releases/12.2.12
...
doc: releases/luminous: release notes for 12.2.12
Reviewed-By: Nathan Cutler <ncutler@suse.com>
2019-04-15 12:53:07 +02:00
Abhishek Lekshmanan
8f6a003285
doc: releases/12.2.12: fix changelog to add issues without trackers
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-04-15 11:16:07 +02:00
Sebastian Wagner
58184d1bd4
Merge pull request #27491 from sebastian-philipp/rook-service-ls-rgw
...
mgr/rook: Added missing `rgw` daemons in `service ls`
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-04-15 10:42:23 +02:00
Sebastian Wagner
b9339ded86
Merge pull request #27462 from sebastian-philipp/rook-fix-rgw
...
mgr/rook: Fix RGW creation
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
2019-04-15 10:41:15 +02:00
Ilya Dryomov
35c8c65f8a
Merge pull request #27339 from david-z/wip-fix-rbd-map-hang
...
krbd: fix rbd map hang due to udev return subsystem unordered
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2019-04-15 10:36:42 +02:00
Kefu Chai
5c00928c1b
messages: remove MNop
...
MNop was introduced along with xio messenger. since we've dropped
xiomessenger in #27021 , there is no need to keep MNop around anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-15 15:03:43 +08:00
Sage Weil
dfee9c1142
Merge PR #27517 into master
...
* refs/pull/27517/head:
mon: make mon_osd_down_out_subtree_limit update at runtime
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-04-14 20:37:21 -05:00
Sage Weil
403a1e2baa
Merge PR #27458 into master
...
* refs/pull/27458/head:
bluestore: fix for FreeBSD iocb structure
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-04-14 15:27:46 -05:00
Sage Weil
2f8cc72b1c
Merge PR #27485 into master
...
* refs/pull/27485/head:
mgr/ActivePyModules: handle_command - fix broken lock
Reviewed-by: Sage Weil <sage@redhat.com>
2019-04-14 15:27:12 -05:00
Sage Weil
deae32d880
Merge PR #27506 into master
...
* refs/pull/27506/head:
src/tests/crushtool: Add test for an empty default
crush/CrushCompiler: Fix __replacement_assert
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-04-14 15:26:44 -05:00
Ilya Dryomov
b56e933373
Merge pull request #27271 from idryomov/wip-krbd-wac-on-dm
...
qa: add device mapper and lvm test cases for stable pages
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-04-14 21:31:00 +02:00
Mykola Golub
c307d34d49
Merge pull request #27533 from dillaman/wip-39257
...
rbd-mirror: periodically flush IO and commit positions
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-04-14 10:09:25 +03:00
Mykola Golub
dbe22a392a
Merge pull request #27229 from dillaman/wip-librbd-writearound
...
librbd: introduce new default write-around cache policy
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-04-14 10:08:37 +03:00
Jason Dillaman
af6dfdbea3
Merge pull request #27446 from trociny/wip-rbd-io-simple-scheduler-improvements
...
librbd: dispatch delayed requests only if read intersects
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-04-13 13:21:09 -04:00
Jason Dillaman
debb52f473
Merge pull request #27513 from ddiss/librados_silence_unused_vars
...
librbd: silence -Wunused-variable warnings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-04-13 13:20:53 -04:00
Casey Bodley
59b9dad1a3
rgw: silence a -Wunused-function warning in pubsub
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-04-13 13:06:23 -04:00
Casey Bodley
be4d819013
Merge pull request #27470 from cbodley/wip-39160
...
rgw: don't recalculate etags for slo/dlo
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-04-12 12:25:34 -04:00
Ali Maredia
e1c1837ffa
Merge pull request #27528 from cbodley/wip-qa-rgw-no-debuginfo
...
qa/rgw: disable debuginfo packages
2019-04-12 12:11:17 -04:00
Jason Dillaman
c4dc8835de
librbd: write-around cache should honor FUA op flag
...
If force unit access is specified, the cache should be bypassed just
like other non-optimized IO through the cache.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-04-12 11:07:31 -04:00
Jason Dillaman
ec2aa0e645
rbd: support new bench 'full-seq' io pattern option
...
This ensures IOs are issued in sequential order regardless of the current
IO thread setting.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-04-12 10:59:37 -04:00
Abhishek Lekshmanan
3cbf19f103
doc: releases/luminous: release notes for 12.2.12
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-04-12 16:57:09 +02:00
Sage Weil
a2e71639da
Merge PR #27473 into master
...
* refs/pull/27473/head:
mgr/DaemonServer: prevent pgp_num reductions from outpacing pg_num merges
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-12 06:57:03 -05:00
Sage Weil
75853f3e30
Merge PR #27477 into master
...
* refs/pull/27477/head:
os/bluestore: check return value of func _open_db_and_around.
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-04-12 06:56:45 -05:00
Sage Weil
dc97651cbd
Merge PR #27499 into master
...
* refs/pull/27499/head:
qa/standalone/osd/osd-markdown: fix dup command disabling
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-12 06:54:58 -05:00
Sage Weil
fd36f2a836
Merge PR #27516 into master
...
* refs/pull/27516/head:
mgr/rook: Fix Python 2 regression
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Gabriel Brascher <gabriel@apache.org>
2019-04-12 06:54:35 -05:00
Kefu Chai
520af8568a
Merge pull request #26816 from iotcg/doc
...
doc: correct example to use vstart to run up cluster
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-04-12 17:59:07 +08:00
Yuri Weinstein
364d7b8c0e
Merge pull request #27535 from yuriw/wip-yuriw-wip-yuriw-crontab-master
...
qa/tests: added rados on master, reduced fs, rbd, multimds
2019-04-11 19:17:36 -07:00
Kefu Chai
7ab81961c1
Merge pull request #27428 from cyx1231st/wip-seastar-msgr-write
...
crimson/net: extract do_write_dispatch_sweep()
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-04-12 09:07:53 +08:00
Yuri Weinstein
041215ca6b
qa/tests: added rados on master, reduced fs, rbd, multimds
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-04-11 17:49:48 -07:00