Commit Graph

90515 Commits

Author SHA1 Message Date
Pritha Srivastava
15efabc78d rgw: Adding documentation for STS Lite.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
fa007156aa rgw: Proper result for XML formatting.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
a3b3f26047 rgw: Adding ops for V4 authentication.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
cc2b65fa03 rgw: STS auth failures will return reject.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
d6cba8e8ad rgw: STS auth changes to make sure that other engines are not aware of session token.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
beecdcfa1f rgw: Changes according to session token format change.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
64656600ac rgw: Code for GetSessionToken REST API.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
b09fc4079e rgw: Perm mask.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
c627ef5295 rgw: STS authentication correction.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
001f057713 rgw: Added code for auth using temp credentials returned by STS.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
e0d893c670 rgw: Code for making STS Key configurable.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
a60c46ee75 rgw: Changed session token format.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
e28330343d rgw: Incorporating review comments
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
c9b2c885d1 rgw: Renamed STS related files.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
a541391c9d rgw: Added code to store arn and policy passed as part of assume role.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
168573cb6e rgw: Minor Fixes.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:33 +05:30
Pritha Srivastava
bb043894df rgw: Added code to determine token expiration time using role.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:32 +05:30
Pritha Srivastava
f0ae9cff67 rgw: Added max_session_duration and policy parsing to RGW Roles.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:32 +05:30
Pritha Srivastava
e2873cdfa6 rgw: Adding manager, handler etc for STS.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:09:32 +05:30
Pritha Srivastava
1c17c5c0f3 rgw: Added code for STS AssumeRole.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-09-21 11:08:35 +05:30
Kefu Chai
cc424b95af
Merge pull request #24126 from planetbeing/patch-1
arch/arm: Allow ceph_crc32c_aarch64 to be chosen only if it is compil…

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-21 11:47:03 +08:00
Sage Weil
6be421539d Merge PR #24191 into master
* refs/pull/24191/head:
	src/include:fix unused parameter

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-20 17:30:42 -05:00
Sage Weil
9c9431d955 Merge PR #23979 into master
* refs/pull/23979/head:
	crush/CrushWrapper: fix crush tree json dumper

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-20 17:30:06 -05:00
Sage Weil
db40d73ae6 Merge PR #23978 into master
* refs/pull/23978/head:
	mgr: add get_latest_counter() to C++ -> Python interface.
	mgr: remove PerfCounterInstance::get_current()
	mgr: remove PyFormatter copy constructor; shouldn't be called

Reviewed-by: John Spray <john.spray@redhat.com>
2018-09-20 17:29:47 -05:00
Alfredo Deza
83ee452f4a
Merge pull request #24150 from alfredodeza/wip-rm24794
ceph-volume: earlier detection for --journal and --filestore flag requirements

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-09-20 17:26:54 -04:00
Sage Weil
5322f99370 Merge PR #24107 into master
* refs/pull/24107/head:
	common: Lock -> lock, Unlock -> lock, TryLock -> try_lock
	common: Mutex::Locker -> std::lock_guard<Mutex>
	common/Mutex: typedef lock_guard<Mutex> Locker
	common/Mutex: Lock -> lock, Unlock -> unlock
	common/Mutex: kill mutex_perf_counter

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-09-20 14:29:55 -05:00
Mykola Golub
cd7f2fca17
Merge pull request #24181 from dillaman/wip-36084
rbd-mirror: instantiate the status formatter before changing state

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-09-20 22:26:11 +03:00
Casey Bodley
21cb2b4fd0
Merge pull request #23843 from cbodley/wip-rgw-dpp-datasync
rgw: log refactoring for data sync

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2018-09-20 14:03:19 -04:00
Sage Weil
57c34b1905 Merge PR #24197 into master
* refs/pull/24197/head:
	doc: remove Calamari content from ceph-deploy

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-20 12:16:05 -05:00
Andrew Schoen
0def1a8349
Merge pull request #24201 from alfredodeza/wip-rm36088
ceph-volume  batch: allow journal+block.db sizing on the CLI

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-09-20 11:53:14 -05:00
Patrick Donnelly
3e3b69dbde
Merge PR #24156 into master
* refs/pull/24156/head:
	qa/tests: removed knfs suite

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-20 09:31:50 -07:00
Patrick Donnelly
a14716a533
Merge PR #24153 into master
* refs/pull/24153/head:
	qa/tests: removed knfs from crontab

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-20 09:31:15 -07:00
Ricardo Marques
367c634b82
Merge pull request #23960 from votdev/feature_35695
mgr/dashboard: Refactor role management

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-09-20 17:24:41 +01:00
Mykola Golub
e86898a7f5
Merge pull request #23829 from dillaman/wip-34534
librbd: blacklisted client might not notice it lost the lock

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-09-20 18:52:57 +03:00
Patrick Donnelly
e606e21746
Merge PR #24185 into master
* refs/pull/24185/head:
	qa: install build dependencies for cfuse_workunit_kernel_untar_build.yaml

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-20 08:02:48 -07:00
Alfredo Deza
042c2cbe47 doc/man/ceph-volume update batch command with new sizing flags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-20 11:02:14 -04:00
Alfredo Deza
5df56a09c7 ceph-volume tests.devices update fixture to include new size flags for strategies
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-20 11:02:14 -04:00
Alfredo Deza
2378c282c7 ceph-volume lvm.batch.filestore consume --journal-size
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-20 11:02:13 -04:00
Alfredo Deza
7e52bc559b ceph-volume lvm.batch.bluestore consume --block-db-size
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-20 11:02:13 -04:00
Sage Weil
1bf449cdba Merge PR #23415 into master
* refs/pull/23415/head:
	msgr/async: huge refactoring of protocol V1
	msgr/async: fix forward declaration of DispatchQueue

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-20 09:30:41 -05:00
Xie Xingguo
a3e58900bb
Merge pull request #24175 from xiaomanh/master
doc: Fix Spelling Error In File dynamicresharding.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-20 22:03:14 +08:00
Volker Theile
859b40c8c7 mgr/dashboard: Increase usability of role management by enabling the user to check/uncheck all rows/columns of permissions
Fixes: https://tracker.ceph.com/issues/35695

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-09-20 15:35:16 +02:00
Sage Weil
f302558de4 common: Lock -> lock, Unlock -> lock, TryLock -> try_lock
Use the Lockable convention.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-20 08:11:36 -05:00
Sage Weil
b5c9948e38 common: Mutex::Locker -> std::lock_guard<Mutex>
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-20 08:11:36 -05:00
Sage Weil
ea9a72512d common/Mutex: typedef lock_guard<Mutex> Locker
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-20 08:11:36 -05:00
Sage Weil
145a205c7a common/Mutex: Lock -> lock, Unlock -> unlock
This aligns us with the Lockable concept, which means we can use
lock_guard<>, unique_lock<>, etc.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-20 08:11:35 -05:00
Sage Weil
03b519114e common/Mutex: kill mutex_perf_counter
This has a measurable overhead even when turned off, and we do not use it.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-20 08:11:35 -05:00
Casey Bodley
52054cedc5
Merge pull request #23429 from joke-lee/wip-website-rule-num-limit
rgw: website routing rules num limit

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-09-20 08:50:06 -04:00
Ricardo Marques
7871dc4ee5
Merge pull request #24028 from votdev/fix_rgw_status
mgr/dashboard: Catch LookupError when checking the RGW status

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-09-20 13:44:24 +01:00
John Spray
c25b26c8a5 doc: remove Calamari content from ceph-deploy
Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-20 13:13:04 +01:00