Alfredo Deza
ef09f3996b
ceph-volume tests/functional add 'activate all' in filestore playbook
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-09 20:03:36 -04:00
Jianpeng Ma
59f69643c7
doc: remove unused config: "osd op threads"
...
This option already removed.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-04-10 05:39:59 +08:00
Alfredo Deza
797518a546
ceph-volume tests/functional add 'activate all' in bluestore playbook
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-09 17:25:07 -04:00
Yuri Weinstein
94c162a62a
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>
2018-04-09 12:37:57 -07:00
Sage Weil
bfff8ec839
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>
2018-04-09 14:16:49 -05:00
Yuri Weinstein
9a2005d664
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>
2018-04-09 09:17:10 -07:00
Patrick Donnelly
3ab655b55d
Merge PR #21263 into master
...
* refs/pull/21263/head:
doc: outline upgrade procedure for mds cluster
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2018-04-09 08:59:11 -07:00
Tiago Melo
6420e7aedb
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>
2018-04-09 16:52:40 +01:00
Tiago Melo
76ec342d78
mgr/dashboard: Add Api module
...
Moved all the api related services into the new module.
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-04-09 16:52:40 +01:00
Lenz Grimmer
2bf2013b01
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>
2018-04-09 17:43:46 +02:00
Lenz Grimmer
3ddff17b13
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>
2018-04-09 17:32:00 +02:00
Radoslaw Zarzynski
8261e14115
os/bluestore: alter allow_eio policy regarding kernel's error list.
...
Fixes: http://tracker.ceph.com/issues/23333
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-04-09 17:30:22 +02:00
Jason Dillaman
36d8b6438c
librbd: disable ENOENT tracking within the object cacher
...
Now that the in-memory cache has been flattened, we don't want/need
to track the existence of individual objects within an image and
its parent hierarchy.
Fixes: http://tracker.ceph.com/issues/23597
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-09 11:27:58 -04:00
Ricardo Dias
08cee16d0a
pybind/rbd: always parse timestamps in UTC
...
Fixes: http://tracker.ceph.com/issues/23609
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-09 15:55:32 +01:00
Ricardo Dias
e127ec64b4
pybind/rbd: add data_pool_id()
image function
...
Fixes: http://tracker.ceph.com/issues/23609
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-09 15:55:32 +01:00
Ricardo Dias
72dc17ce32
pybind/rbd: fix python 3 str to bytes problems
...
Fixes: http://tracker.ceph.com/issues/23609
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-09 15:55:31 +01:00
Sebastian Wagner
012be1dc86
qa/tasks/mgr/dashboard: Imroved JSON validation
...
Refactored `OsdTest` to make use of `self.assertSchema()`
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-04-09 16:42:33 +02:00
Radoslaw Zarzynski
e18088bce9
os/bluestore: fix and enhance misleading debug message in bdev.
...
Fixes: http://tracker.ceph.com/issues/23333
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-04-09 16:20:30 +02:00
Yehuda Sadeh
bfec9b3204
common/options: add otp to default osd class load list
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:02:17 -07:00
Yehuda Sadeh
0cf3e55c3c
rgw: mfa documentation
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:02:17 -07:00
Yehuda Sadeh
9569cc8278
qa/tasks/s3tests: configure mfa tests
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:02:17 -07:00
Yehuda Sadeh
46fbc9089b
rgw: require mfa only if mfa status actually changes
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:02:17 -07:00
Yehuda Sadeh
ada9b94849
rgw: add distro dependencies for liboath
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:02:17 -07:00
Yehuda Sadeh
3d6c08fb36
rgw: fixes following rebase
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:02:17 -07:00
Yehuda Sadeh
4d8a6b698a
cls/otp: fixes following review
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:02:17 -07:00
Yehuda Sadeh
d4691332c1
rgw, cls/otp: support for base32 seed type
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:02:17 -07:00
Yehuda Sadeh
6976202360
cls/otp, rgw-admin: use older liboath api, parse seed once
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:02:17 -07:00
Yehuda Sadeh
679913512b
cls/otp: preserve otp history when modifying it
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:48 -07:00
Yehuda Sadeh
7210b9dbfc
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>
2018-04-09 07:01:48 -07:00
Yehuda Sadeh
2c16041847
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>
2018-04-09 07:01:48 -07:00
Yehuda Sadeh
dc36ec424c
rgw: cleanup
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:48 -07:00
Yehuda Sadeh
eb812e9393
cls/otp: integrate with liboath
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:48 -07:00
Yehuda Sadeh
85bd4183c3
rgw: set objv_tracker for metadata mutate
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
bcf3432f0a
rgw_admin: use metadata mutate for mfa updates
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
d05bf3ca97
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>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
fbe7c01e00
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>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
45ee591d14
rgw: trivial implementation of otp meta handlers
...
Still not there yet. Need to tie into objv_tracker, and metadata log
tooling.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
0bf1fab731
cls/otp: client api to set multiple keys
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
6ec41bb95b
cls/otp: update header anyway, don't use omap header
...
Update header even if it might have existed. If running within a compound op
we might not identify it correctly.
Also don't use omap header api.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
bba8c519c6
rgw: initial work to add otp as metadata provider
...
To allow transparent multisite sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
2d5d024f27
rgw: fix mfa setting, verify on object deletion
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
0c0046e259
rgw: S3 get bucket versioning returns MFA status
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
981f194355
rgw: functionality to modify mfa entries in user metadata
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
3ab463f9f5
rgw-admin: new mfa control commands
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
956997cff9
rgw: add otp pool, create otp service functionality
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
af36c08871
cls/otp: implement otp_info_t::dump()
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
63924ef625
cls_otp: treat empty header as -ENOENT
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
4fe9f176c0
rgw: send totp check to the otp objclass
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
f8ab2fc1fc
rgw: req_state members init refactor
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00
Yehuda Sadeh
9fe808b683
cls/otp: add client interfaces
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-04-09 07:01:02 -07:00