]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yehuda Sadeh [Thu, 19 Oct 2017 00:39:34 +0000 (17:39 -0700)]
rgw: fix io blocked accounting
Now that we can have multiple IOs per coroutine, need to only decrease
num_blocked one time when switching from io blocked to unblocked. Also,
is_blocked() should not return true if is_done.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 18 Oct 2017 21:44:03 +0000 (14:44 -0700)]
rgw: aws sync, more work on large object sync via multipart upload
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 13 Oct 2017 23:47:38 +0000 (16:47 -0700)]
rgw: aws sync module, fix target object naming
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 13 Oct 2017 23:47:38 +0000 (16:47 -0700)]
rgw: aws sync module, fix target object naming
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 13 Oct 2017 23:46:37 +0000 (16:46 -0700)]
rgw: fix rest read crf handling of extra data
also fix splice coroutine
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 13 Oct 2017 21:40:28 +0000 (14:40 -0700)]
rgw: recover from empty meta.history object
Fixes: http://tracker.ceph.com/issues/21802
Empty meta.history object is problematic, as when reading it when doing
meta log trimming, we'd just initialize it to an empty structure, and
end up asserting because cursor is empty. Cannot just return -ENOENT
here, because it wouldn't solve the issue.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 12 Oct 2017 00:03:44 +0000 (17:03 -0700)]
rgw: aws sync, add hooks for decoding/encoding rest obj
Object sync is now functional. Create abstraction that will later help
with different cloud providers.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 10 Oct 2017 23:26:14 +0000 (16:26 -0700)]
rgw: aws sync, in_crf init abstraction
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 10 Oct 2017 00:52:39 +0000 (17:52 -0700)]
rgw: aws sync: generate target bucket
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 10 Oct 2017 00:23:45 +0000 (17:23 -0700)]
rgw: a bit cleaner interfaces for sending put crf
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 4 Oct 2017 21:12:13 +0000 (14:12 -0700)]
rgw: first go at sync to aws splice
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 6 Oct 2017 18:17:48 +0000 (11:17 -0700)]
rgw: RGWRESTConn() don't override provided key
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 3 Oct 2017 00:26:57 +0000 (17:26 -0700)]
rgw: more streaming crf abstraction
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Oct 2017 22:55:37 +0000 (15:55 -0700)]
rgw: separte stream crfs for read and write
also add a base class
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Oct 2017 21:22:30 +0000 (14:22 -0700)]
rgw: splice cr drains writes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 29 Sep 2017 21:34:05 +0000 (14:34 -0700)]
rgw: rest cr drains writes, returns errors
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 26 Oct 2017 20:35:02 +0000 (13:35 -0700)]
rgw: groundwork for supporting concurrent IOs in single cr
Add io_id field to io operation, allow blocking on a specific IO.
Locking changes in RGWCoroutinesManager::run().
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Sep 2017 12:15:11 +0000 (05:15 -0700)]
rgw: initial work for integrating streaming read/write with cr
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 30 Aug 2017 11:40:02 +0000 (04:40 -0700)]
rgw: amend http client manager interface
s/set_threaded/start
s/is_threaded/is_started
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 28 Aug 2017 12:56:19 +0000 (05:56 -0700)]
rgw: http client, simplify interfaces
work towards removal of duplicate synchronous api
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 28 Aug 2017 09:33:20 +0000 (02:33 -0700)]
rgw: create global http manager
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 28 Aug 2017 09:33:49 +0000 (02:33 -0700)]
rgw: restructure http/rest client class hierarchy
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 24 Aug 2017 13:16:54 +0000 (06:16 -0700)]
rgw: tweak http client interface
RGWHTTPClient now holds the url and method.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 24 Aug 2017 11:21:54 +0000 (04:21 -0700)]
rgw: add api to finish streaming writes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 15 Aug 2017 15:36:19 +0000 (08:36 -0700)]
rgw: http client, streaming writes api
Add a new class that enables streaming writes, that is --
doesn't require having all the data before the start of the
send.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 3 Oct 2017 21:58:08 +0000 (14:58 -0700)]
rgw: fixes following rebase
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Abhishek Lekshmanan [Mon, 27 Mar 2017 13:47:36 +0000 (15:47 +0200)]
rgw: typo fix during rebase (squash)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Feb 2017 16:48:53 +0000 (17:48 +0100)]
rgw_rest_client: clarify comment on set content length
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Feb 2017 16:43:46 +0000 (17:43 +0100)]
aws: remove comment
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Feb 2017 16:43:25 +0000 (17:43 +0100)]
aws: use slashes in obj name
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Feb 2017 16:42:55 +0000 (17:42 +0100)]
rgw_sync_module_aws: make conn a unique ptr
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Feb 2017 16:40:06 +0000 (17:40 +0100)]
rgw_sync_module_aws: use the readrawrestresource cr
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Mar 2017 13:23:05 +0000 (15:23 +0200)]
rgw_cr_rest: have a raw variant of read resource
Useful when we don't have a json formatted input to send and just
sending raw data
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Feb 2017 09:53:23 +0000 (10:53 +0100)]
sync_module_aws: minor logging improvements
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Mar 2017 13:09:41 +0000 (15:09 +0200)]
set_content_length for streamrw requests
Also remove the earlier content length hack
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Fri, 24 Feb 2017 12:50:53 +0000 (13:50 +0100)]
rgw: aws sync: make bucket name more url friendly
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Thu, 23 Feb 2017 16:50:19 +0000 (17:50 +0100)]
rgw_aws_sync: untested code for bucket create
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Thu, 23 Feb 2017 15:10:25 +0000 (16:10 +0100)]
rgw: sync_module_aws implement rm object
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Thu, 23 Feb 2017 14:58:20 +0000 (15:58 +0100)]
aws: ws fix
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Thu, 23 Feb 2017 14:44:17 +0000 (15:44 +0100)]
delete-me: log path for requests
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Mar 2017 13:06:23 +0000 (15:06 +0200)]
rgw_cr_rest: send content length on raw requests
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Thu, 23 Feb 2017 11:54:44 +0000 (12:54 +0100)]
rgw_aws_module: lets call put object and see what happens
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Mar 2017 13:04:30 +0000 (15:04 +0200)]
rgw_cr_rest: allow sending of raw put requests
Modify SendRESTResourceCR to handle when we don't have a json formatted
input class and send raw bufferlists instead.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Thu, 23 Feb 2017 10:13:53 +0000 (11:13 +0100)]
rgw: aws sync module: set keys for rest client
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Thu, 23 Feb 2017 10:12:31 +0000 (11:12 +0100)]
rgw: RGWRestConn allow keys to be initialized
This allows for other s3 clients to be created, we previously only set
the value of S3 system key from rados.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Wed, 22 Feb 2017 18:50:13 +0000 (19:50 +0100)]
well more hacks to get my previous hack working
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 27 Mar 2017 13:03:11 +0000 (15:03 +0200)]
allow cr http client to deal with non json types
I'm quite crossed about this!
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Wed, 22 Feb 2017 16:13:03 +0000 (17:13 +0100)]
non working download client
basically readrestresourcecr has enforced a rule where only Json types
can be parsed :/
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Wed, 22 Feb 2017 12:38:48 +0000 (13:38 +0100)]
rgw: sync_module: register aws module
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Wed, 22 Feb 2017 12:35:28 +0000 (13:35 +0100)]
rgw: make RGWSyncModule classes for AWS
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Tue, 21 Feb 2017 16:46:16 +0000 (17:46 +0100)]
rgw: sync aws module compiles
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Tue, 21 Feb 2017 10:08:45 +0000 (11:08 +0100)]
rgw: sync plugin for aws (the humble beginnings!)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Yehuda Sadeh [Tue, 10 Apr 2018 14:59:10 +0000 (07:59 -0700)]
Merge pull request #19283 from yehudasa/wip-rgw-mfa
rgw: mfa support
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Ricardo Dias [Tue, 10 Apr 2018 14:58:26 +0000 (15:58 +0100)]
Merge pull request #21327 from LenzGr/dashboard-fork-awesome
mgr/dashboard: Replace font-awesome with fork-awesome
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile vtheile@suse.com
Patrick Donnelly [Tue, 10 Apr 2018 14:54:14 +0000 (07:54 -0700)]
Merge PR #21080 into master
* refs/pull/21080/head:
src: Added const references to various function parameters
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Lenz Grimmer [Tue, 10 Apr 2018 14:47:03 +0000 (16:47 +0200)]
Merge pull request #21126 from tspmelo/wip-services
mgr/dashboard: Add Api module
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Lenz Grimmer [Tue, 10 Apr 2018 12:59:46 +0000 (14:59 +0200)]
mgr/dashboard: Replace font-awesome with fork-awesome
Replaces the dependency on Font Awesome with Fork Awesome
(https://forkawesome.github.io/), which is a plug-in replacement
for font-awesome 4.7.0 and adds a few more icons (see
https://forkawesome.github.io/Fork-Awesome/whats-new/ for
background information about this fork).
It is licensed under the following licenses - see
https://forkawesome.github.io/Fork-Awesome/license/ for details:
Fonts: SIL OFL 1.1
Code: MIT License
Documentation: CC BY 3.0
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
Kefu Chai [Tue, 10 Apr 2018 12:12:08 +0000 (20:12 +0800)]
Merge pull request #21319 from majianpeng/doc-remove-osd-op-threads
doc: remove unused config: "osd op threads"
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 10 Apr 2018 10:51:12 +0000 (18:51 +0800)]
Merge pull request #21112 from guzhongyan/fix-vlog
src: fix various log messages
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 10 Apr 2018 10:49:01 +0000 (18:49 +0800)]
Merge pull request #21028 from rzarzynski/wip-osd-get_rw_locks-norefcnt
osd: avoid unnecessary ref-counting across PrimaryLogPG::get_rw_locks.
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 10 Apr 2018 10:47:58 +0000 (18:47 +0800)]
Merge pull request #21235 from xiexingguo/wip-fix-obj-start
osd/osd_types: fix ideal lower bound object-id of pg
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Tue, 10 Apr 2018 05:27:16 +0000 (22:27 -0700)]
Merge pull request #21313 from ceph/wip-pg-clean-timeout
qa/tasks: Add default timeout for wait for pg clean task
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Tue, 10 Apr 2018 05:21:31 +0000 (13:21 +0800)]
Merge pull request #21284 from tchaikov/wip-cmake-libstdcxx
cmake: define HAVE_STDLIB_MAP_SPLICING for both libstdc++ and libc++
Reviewed-by: Zheng Yan <zyan@redhat.com>
Kefu Chai [Tue, 10 Apr 2018 05:19:08 +0000 (13:19 +0800)]
Merge pull request #21290 from rjfd/wip-dashboard-fix-rest-controller
mgr/dashboard: restcontroller: fix detection of id args in element requests
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 10 Apr 2018 04:33:15 +0000 (21:33 -0700)]
Merge PR #21039 into master
* refs/pull/21039/head:
qa/workunits/fs: test for cephfs rstats
mds: make rstat.rctime follow inodes' ctime
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 10 Apr 2018 04:33:10 +0000 (21:33 -0700)]
Merge PR #21040 into master
* refs/pull/21040/head:
mds: mark damaged if sessions' preallocated inos don't match inotable
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 10 Apr 2018 04:33:06 +0000 (21:33 -0700)]
Merge PR #21132 into master
* refs/pull/21132/head:
client: remove getgroups_cb
client: remove _getgrouplist
client: have init_gids just set alloced_gids to true
client: remove init_groups
fuse: handle errors appropriately when getting group list
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Tue, 10 Apr 2018 04:33:00 +0000 (21:33 -0700)]
Merge PR #21144 into master
* refs/pull/21144/head:
mds: fix unhealth heartbeat during rejoin
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 10 Apr 2018 04:32:56 +0000 (21:32 -0700)]
Merge PR #21167 into master
* refs/pull/21167/head:
mds: make stopping mds export strays and subtree at the same time
mds: handle client requests while mds is stopping
mds: check projected linkage before migrating stray dentry
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 10 Apr 2018 04:32:51 +0000 (21:32 -0700)]
Merge PR #21191 into master
* refs/pull/21191/head:
client: fix request send_to_auth was never really used
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 10 Apr 2018 04:32:47 +0000 (21:32 -0700)]
Merge PR #21255 into master
* refs/pull/21255/head:
mds: automatically create snaprealm for old format quota
client: check if mds create snaprealm when setting quota
mds: remove unused MDCache::snaprealm_create()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Josh Durgin [Tue, 10 Apr 2018 00:44:33 +0000 (17:44 -0700)]
Merge pull request #21295 from badone/wip-large-omap-scrub-big-random-loser-2
qa/suites/rados: Disable scrub backoff
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Vasu Kulkarni [Tue, 10 Apr 2018 00:24:42 +0000 (17:24 -0700)]
qa/tasks: wait_for_clean is called after ceph task as well after osd's are up,
the default timeout is none in that case, there are cases where it can hang forever
due to error cases, since this dumps quite a lot of info the logs grow in GB's, with
default timeout of 1200 we can avoid such huge logs and fail sooner. Any tests needing
higher timeout can pass the required value.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Jianpeng Ma [Mon, 9 Apr 2018 21:39:59 +0000 (05:39 +0800)]
doc: remove unused config: "osd op threads"
This option already removed.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Yuri Weinstein [Mon, 9 Apr 2018 19:37:57 +0000 (12:37 -0700)]
Merge pull request #21309 from ceph/wip-yuriw-crontab
qa/tests - minor clean ups and made perf-suite run 3 times, so we can…
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Mon, 9 Apr 2018 19:16:49 +0000 (14:16 -0500)]
Merge pull request #21282 from liewegas/wip-pgpool-enc
osd/osd_types: fix pg_pool_t encoding for hammer
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ilya Drymov <idryomov@redhat.com>
Yuri Weinstein [Mon, 9 Apr 2018 16:17:10 +0000 (09:17 -0700)]
qa/tests - minor clean ups and made perf-suite run 3 times, so we can have more data points
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Patrick Donnelly [Mon, 9 Apr 2018 15:59:11 +0000 (08:59 -0700)]
Merge PR #21263 into master
* refs/pull/21263/head:
doc: outline upgrade procedure for mds cluster
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Tiago Melo [Thu, 29 Mar 2018 11:35:49 +0000 (12:35 +0100)]
mgr/dashboard: Move services provision to service module
Few services were being declared in the shared module.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Thu, 29 Mar 2018 00:36:41 +0000 (01:36 +0100)]
mgr/dashboard: Add Api module
Moved all the api related services into the new module.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Mon, 9 Apr 2018 15:43:46 +0000 (17:43 +0200)]
Merge pull request #20807 from Devp00l/improve-table-search
mgr/dashboard: Improve table search
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Lenz Grimmer [Mon, 9 Apr 2018 15:32:00 +0000 (17:32 +0200)]
Merge pull request #20943 from tspmelo/fix-e2e
mgr/dashboard: fix frontend e2e tests
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Yehuda Sadeh [Thu, 5 Apr 2018 02:23:08 +0000 (19:23 -0700)]
common/options: add otp to default osd class load list
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 4 Apr 2018 21:29:23 +0000 (14:29 -0700)]
rgw: mfa documentation
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 4 Apr 2018 18:31:37 +0000 (11:31 -0700)]
qa/tasks/s3tests: configure mfa tests
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 23 Mar 2018 17:24:35 +0000 (10:24 -0700)]
rgw: require mfa only if mfa status actually changes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 21 Mar 2018 22:33:45 +0000 (15:33 -0700)]
rgw: add distro dependencies for liboath
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Feb 2018 23:18:03 +0000 (15:18 -0800)]
rgw: fixes following rebase
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 13:58:43 +0000 (05:58 -0800)]
cls/otp: fixes following review
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 13:42:51 +0000 (05:42 -0800)]
rgw, cls/otp: support for base32 seed type
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 12:28:37 +0000 (04:28 -0800)]
cls/otp, rgw-admin: use older liboath api, parse seed once
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Dec 2017 07:30:21 +0000 (23:30 -0800)]
cls/otp: preserve otp history when modifying it
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sun, 3 Dec 2017 14:31:18 +0000 (06:31 -0800)]
rgw-admin, cls/otp: get current time for otp resync from osd
add a new method to the otp objclass that returns the
current time.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sun, 3 Dec 2017 13:53:22 +0000 (05:53 -0800)]
rgw-admin: add mfa resync command
$ radosgw-admin mfa resync --uid=<uid> --totp=serial=<serial> \
--totp-pin=<pin1> --totp-pin=<pin2>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 1 Dec 2017 15:06:36 +0000 (07:06 -0800)]
rgw: cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 1 Dec 2017 15:05:51 +0000 (07:05 -0800)]
cls/otp: integrate with liboath
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 1 Dec 2017 11:24:28 +0000 (03:24 -0800)]
rgw: set objv_tracker for metadata mutate
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 30 Nov 2017 13:49:15 +0000 (05:49 -0800)]
rgw_admin: use metadata mutate for mfa updates
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 30 Nov 2017 10:29:41 +0000 (02:29 -0800)]
rgw: better api for metadata mutation
Unlike the regular user and bucket metadata that are plain
raw rados objects, the otp info is controlled by object
class operations. The metadata manager mutate operation
will deal with the metadata related work that is needed
to happen (objv_tracker, update meta log), and call to
the operation that modifies the otp info.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 23 Nov 2017 02:14:00 +0000 (18:14 -0800)]
rgw: tie otp meta get/put to meta log, objv_tracker
still need to have the radosgw-admin mfa tools to go through meta
instrumentation.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>