Radoslaw Zarzynski
e4e7b576b2
rgw: the authorize() method of Swift's handler operates on auth strategy now.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:53 +01:00
Radoslaw Zarzynski
0134241b63
rgw: the Swift's auth strategy is instantiated and injected from rgw_main.cc.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-03-24 16:54:39 +01:00
Radoslaw Zarzynski
da14fd9364
rgw: settle rgw::auth::{IdentityApplier,Completer} in req_state.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:34 +01:00
Radoslaw Zarzynski
58f0df7a17
rgw: port the TempURL auth engine to the new auth infrastructure.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:34 +01:00
Radoslaw Zarzynski
c5f8e8c8c0
rgw: port Swift's Signed and External auth engines.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:34 +01:00
Radoslaw Zarzynski
2fd0a50fa5
rgw: implement rgw::auth::DecoratedApplier.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:33 +01:00
Radoslaw Zarzynski
1f7a802ef1
rgw: implement rgw::auth::swift::DefaultStrategy.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:33 +01:00
Radoslaw Zarzynski
9aa6d17db0
rgw: implement rgw::auth::AnonymousEngine.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:33 +01:00
Radoslaw Zarzynski
d5945e1511
rgw: implement rgw::auth::LocalApplier.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:32 +01:00
Radoslaw Zarzynski
9651b4acbe
rgw: inject token cache as a dependency in rgw::auth::keystone::TokenEngine.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:32 +01:00
Radoslaw Zarzynski
2016d460de
rgw: implement the rgw::auth::KeystoneEngine.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:32 +01:00
Radoslaw Zarzynski
9ddb0494c5
rgw: Keystone implementation can support multiple instances now.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:54:32 +01:00
Radoslaw Zarzynski
f82af9ca95
rgw: only move Keystone-related things into rgw::keystone namespace.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-03-24 16:54:05 +01:00
Radoslaw Zarzynski
a22a7132ac
rgw: add the rgw::auth::TokenExtractor interface.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:31:43 +01:00
Radoslaw Zarzynski
41403c2092
rgw: introduce the rgw::auth::RemoteApplier interface.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 16:31:43 +01:00
Radoslaw Zarzynski
4d03f7b637
rgw: introduce the rgw::auth::Applier interface.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 15:57:25 +01:00
Radoslaw Zarzynski
f799efe02e
rgw: implement the rgw::auth::Strategy.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 15:57:24 +01:00
Radoslaw Zarzynski
b560d98431
rgw: introduce and document new interfaces to the auth subsystem.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-24 15:57:24 +01:00
Mykola Golub
9804468266
Merge pull request #13986 from dillaman/wip-19081
...
librbd: image create validates that pool supports overwrites
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-03-16 13:38:28 +02:00
Haomai Wang
98a14c369e
Merge pull request #13905 from yuyuyu101/wip-fix-assert
...
msg/async/rdma: fix outstanding queuepair when destruct RDMAStack
Reviewed-by: Adir lev <adirl@mellanox.com>
2017-03-16 16:35:58 +08:00
Nathan Cutler
6e18866b92
Merge pull request #13983 from gaurav36/bug-19273-fix-typo
...
rbd: fix typo in Kernel.cc
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-03-16 05:07:35 +01:00
Jason Dillaman
a16beba784
librbd: image create validates that pool supports overwrites
...
Fixes: http://tracker.ceph.com/issues/19081
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-15 17:30:11 -04:00
Jason Dillaman
d4e27c48aa
librbd: clean up debug messages within image create state machine
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-15 17:30:10 -04:00
John Spray
4b0654f26a
Merge pull request #13628 from jcsp/wip-19075
...
mds: extend 'p' auth cap to cover all vxattr stuff
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-03-15 21:29:48 +00:00
John Spray
5f6fa0e2f7
Merge pull request #13807 from jcsp/wip-19118
...
mds: try to avoid false positive heartbeat timeouts
2017-03-15 21:15:43 +00:00
Jason Dillaman
8d79bf2bcb
librbd: removed legacy state machine callbacks from CreateRequest
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-15 14:12:35 -04:00
Sage Weil
84de8178c2
Merge pull request #13913 from wangzhengyong/release
...
os/bluestore/Allocator: drop unused return value in release function
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-15 13:09:33 -05:00
Gaurav Kumar Garg
197e4704bb
rbd: fix typo in Kernel.cc
...
Fixes: http://tracker.ceph.com/issues/19273
Reported-by: Shinobu Kinjo <shinobu@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
2017-03-15 17:18:17 +01:00
Casey Bodley
5d231db13b
Merge pull request #13928 from oritwas/wip-rgw-19195
...
rgw: use rgw_zone_root_pool for region_map like is done in hammer
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-15 09:14:42 -04:00
Jason Dillaman
76e08c26b7
Merge pull request #13977 from runsisi/wip-fix-rbd-py
...
pybind: fix docstring for librbd Python binding
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-03-15 09:07:38 -04:00
Kefu Chai
7f1e575316
Merge pull request #13976 from tchaikov/wip-fix-docs-links
...
doc: fix the links to http://ceph.com/docs
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-03-15 18:49:18 +08:00
Kefu Chai
bd36f13163
doc: fix the links to http://ceph.com/docs
...
they should point to http://docs.ceph.com/docs/master/ .. instead
Fixes: http://tracker.ceph.com/issues/19090
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-15 16:40:07 +08:00
runsisi
5703d8ab15
pybind: fix docstring for librbd Python binding
...
Signed-off-by: runsisi <runsisi@zte.com.cn>
2017-03-15 16:36:06 +08:00
Kefu Chai
bd7146e030
Merge pull request #13817 from ceph/wip-vstart-rgw-help
...
vstart: add --help documentation for rgw_num
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-15 16:14:39 +08:00
Kefu Chai
3b65b89500
Merge pull request #13935 from chuang-he/fix_mutex_locker_of_compressor
...
compressor: fix Mutex::Locker used is not correct
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-15 12:28:30 +08:00
Kefu Chai
c8fa9a4b00
Merge pull request #13945 from ceph/wip-selinux-psched
...
selinux: Allow ceph daemons to read net stats
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-15 11:57:11 +08:00
Ali Maredia
6307add5f8
vstart: --help usage for rgw_num, mgr_num, mon, mds, osd
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2017-03-14 15:23:46 -04:00
Casey Bodley
6ba4858772
Merge pull request #13949 from cbodley/wip-15618
...
rgw: clear old zone short ids on period update
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-14 14:26:32 -04:00
Casey Bodley
13e758782f
Merge pull request #13948 from cbodley/wip-rgw-data-sync-versioned
...
rgw: data sync includes instance in rgw_obj_index_key
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-14 14:26:12 -04:00
Casey Bodley
8e77ea4549
Merge pull request #13586 from Liuchang0812/wip-add-override-in-rgw
...
rgw: add override in header files mostly
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-14 13:39:45 -04:00
Casey Bodley
67ffcf895d
Merge pull request #12793 from zhangsw/fix-rgw-abortmultipart
...
rgw: AbortMultipart request returns NoSuchUpload error if the meta obj doesn't exist
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-14 12:19:00 -04:00
Casey Bodley
849589d917
Merge pull request #13900 from oritwas/wip-rgw-19231
...
fix upgrate from hammer when zone doesn't have zoneparams
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-14 12:10:00 -04:00
Casey Bodley
c952e85270
Merge pull request #13354 from Liuchang0812/wip-18828
...
rgw: don't return skew time error in pre-signed url
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2017-03-14 10:43:32 -04:00
Kefu Chai
8a7103e85f
Merge pull request #13798 from tchaikov/wip-brag-count-mds
...
brag: count the number of mds in fsmap not in mdsmap
Reviewed-by: John Spray <john.spray@redhat.com>
2017-03-14 21:17:07 +08:00
John Spray
6586f32f35
Merge branch 'wip-omap-getkeys-mds'
2017-03-14 11:51:51 +00:00
Sage Weil
ecff8c6ce0
qa/suites/fs/basic: vary omap osd-side limit
...
Ensure that the omap looping paths are exercised.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-14 11:51:25 +00:00
Sage Weil
d7baef4ff8
mds/CDir: set sane max keys per op
...
Set default to 16384, which is > than the max frag size of 10000. We will
loop if there are more.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-14 11:51:25 +00:00
Sage Weil
8e740c07a1
mds/CDir: fetch dir omap in batches as needed
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-14 11:51:25 +00:00
Sage Weil
82f162c9e6
mds/SessionMap: use pmore for loading sessions
...
Keep the result size check for a while since older OSDs won't populate
the pmore field for us. Eventually we can remove it.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-14 11:51:24 +00:00
Ilya Dryomov
aa647f43c4
Merge pull request #13812 from idryomov/wip-krbd-feature-disable-msg
...
rbd: spell out image features unsupported by the kernel
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-03-14 10:22:42 +01:00