]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoosd: Change shard digests to hex like object info digests 21362/head
David Zafman [Thu, 12 Apr 2018 00:36:59 +0000 (17:36 -0700)]
osd: Change shard digests to hex like object info digests

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #20947 from dzafman/wip-23364
David Zafman [Tue, 10 Apr 2018 23:32:09 +0000 (16:32 -0700)]
Merge pull request #20947 from dzafman/wip-23364

Special scrub handling of hinfo_key errors

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agodoc: Add release notes for the output format changes 20947/head
David Zafman [Tue, 10 Apr 2018 18:07:48 +0000 (11:07 -0700)]
doc: Add release notes for the output format changes

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Be smarter about when jsonschema can be used
David Zafman [Mon, 9 Apr 2018 22:09:38 +0000 (15:09 -0700)]
test: Be smarter about when jsonschema can be used

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Show snapset in list-inconsistent-snapset
David Zafman [Wed, 4 Apr 2018 23:09:39 +0000 (16:09 -0700)]
osd rados command: Show snapset in list-inconsistent-snapset

Add SnapSet bufferlist to inconsistent_snapset_t

Partial fix for http://tracker.ceph.com/issues/23428

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: SnapSet::dump() handle snapid_t not in clone_overlap or clone_size
David Zafman [Wed, 4 Apr 2018 23:07:09 +0000 (16:07 -0700)]
osd: SnapSet::dump() handle snapid_t not in clone_overlap or clone_size

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Add getjson variable to save output
David Zafman [Wed, 4 Apr 2018 23:04:41 +0000 (16:04 -0700)]
test: Add getjson variable to save output

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Change error name snapset_mismatch to snapset_error
David Zafman [Wed, 4 Apr 2018 22:58:57 +0000 (15:58 -0700)]
osd rados command: Change error name snapset_mismatch to snapset_error

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Clean-up test and use local values for number of objects and osds
David Zafman [Tue, 20 Mar 2018 23:07:49 +0000 (16:07 -0700)]
test: Clean-up test and use local values for number of objects and osds

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: Without snapdir we don't have a head mismatch error anymore
David Zafman [Wed, 21 Mar 2018 02:05:53 +0000 (19:05 -0700)]
osd: Without snapdir we don't have a head mismatch error anymore

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: list-inconsistent-obj attribute improvements
David Zafman [Fri, 16 Mar 2018 06:59:52 +0000 (23:59 -0700)]
osd rados command: list-inconsistent-obj attribute improvements

System attributes shown as "object_info", "snapset" and "hashinfo"
Only output user attributes as "attrs"
Drop leading undescore "_" for user attribute keys
Improve logic as to when to show user attributes or specific system attributes

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Change "oi" to "info" in scrub handling errors
David Zafman [Fri, 16 Mar 2018 04:50:30 +0000 (21:50 -0700)]
osd rados command: Change "oi" to "info" in scrub handling errors

data_digest_mismatch_oi -> data_digest_mismatch_info
omap_digest_mismatch_oi -> omap_digest_mismatch_info
size_mismatch_oi -> size_mismatch_info
obj_size_oi_mismatch -> obj_size_info_mismatch

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Change "oi_attr" to "info" in scrub handling errors
David Zafman [Fri, 16 Mar 2018 00:09:43 +0000 (17:09 -0700)]
osd rados command: Change "oi_attr" to "info" in scrub handling errors

oi_attr_missing -> info_missing
oi_attr_corrupted -> info_corrupted

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Rename ss_attr_missing/ss_attr_corrupted to snapset_missing/snapse...
David Zafman [Thu, 15 Mar 2018 21:29:54 +0000 (14:29 -0700)]
osd rados command: Rename ss_attr_missing/ss_attr_corrupted to snapset_missing/snapset_corrupted

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Improve scrub handling of HashInfo (hinfo_key xattr)
David Zafman [Wed, 14 Mar 2018 23:07:01 +0000 (16:07 -0700)]
osd rados command: Improve scrub handling of HashInfo (hinfo_key xattr)

Fixes: http://tracker.ceph.com/issues/23364
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: Don't crash in get_hash_info() with a corrupt HashInfo
David Zafman [Wed, 14 Mar 2018 23:29:18 +0000 (16:29 -0700)]
osd: Don't crash in get_hash_info() with a corrupt HashInfo

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Remove check that masks differences (let diff fail)
David Zafman [Wed, 4 Apr 2018 23:05:08 +0000 (16:05 -0700)]
test: Remove check that masks differences (let diff fail)

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge PR #21321 into master
Patrick Donnelly [Tue, 10 Apr 2018 18:33:21 +0000 (11:33 -0700)]
Merge PR #21321 into master

* refs/pull/21321/head:
tools/cephfs: instantiate MDSUtility after global_init()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21130 from ceph/wip-rm23067
Andrew Schoen [Tue, 10 Apr 2018 18:31:56 +0000 (20:31 +0200)]
Merge pull request #21130 from ceph/wip-rm23067

ceph-volume  Implement an 'activate all' to help with dense servers or migrating OSDs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #21304 from rjfd/wip-rbd-pybind-fixes
Mykola Golub [Tue, 10 Apr 2018 17:45:42 +0000 (20:45 +0300)]
Merge pull request #21304 from rjfd/wip-rbd-pybind-fixes

rbd: python bindings fixes and improvements

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21272 from cbodley/wip-rgw-beast-experiment
Casey Bodley [Tue, 10 Apr 2018 17:32:50 +0000 (13:32 -0400)]
Merge pull request #21272 from cbodley/wip-rgw-beast-experiment

rgw: beast frontend no longer experimental

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #21120 from oritwas/wip-rgw-21619
Yehuda Sadeh [Tue, 10 Apr 2018 17:21:52 +0000 (10:21 -0700)]
Merge pull request #21120 from oritwas/wip-rgw-21619

rgw: reshard cancel command should clear bucket resharding flag

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: beast frontend no longer experimental 21272/head
Casey Bodley [Fri, 6 Apr 2018 01:10:40 +0000 (21:10 -0400)]
rgw: beast frontend no longer experimental

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge PR #21302 into wip-sage-testing-20180410.153118
Sage Weil [Tue, 10 Apr 2018 15:31:26 +0000 (10:31 -0500)]
Merge PR #21302 into wip-sage-testing-20180410.153118

* refs/pull/21302/head:
qa/suites/rados/singleton/all/random-eio: whitelist eio error message

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge PR #21315 into wip-sage-testing-20180410.153007
Sage Weil [Tue, 10 Apr 2018 15:30:48 +0000 (10:30 -0500)]
Merge PR #21315 into wip-sage-testing-20180410.153007

* refs/pull/21315/head:
qa/tasks/mgr/test_failover: fix for id -> name rename in mgr metadata

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agogithubmap: update contributors
Sage Weil [Tue, 10 Apr 2018 15:30:47 +0000 (10:30 -0500)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21324 from tchaikov/wip-23495
Josh Durgin [Tue, 10 Apr 2018 15:21:11 +0000 (08:21 -0700)]
Merge pull request #21324 from tchaikov/wip-23495

qa/suites: whitelist SLOW_OPS

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19283 from yehudasa/wip-rgw-mfa
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>
7 years agoMerge pull request #21327 from LenzGr/dashboard-fork-awesome
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
7 years agoMerge PR #21080 into master
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>
7 years agoMerge pull request #21126 from tspmelo/wip-services
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>
7 years agomgr/dashboard: Replace font-awesome with fork-awesome 21327/head
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>
7 years agoMerge pull request #21319 from majianpeng/doc-remove-osd-op-threads
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>
7 years agoqa/suites: whitelist SLOW_OPS 21324/head
Kefu Chai [Tue, 10 Apr 2018 11:24:22 +0000 (19:24 +0800)]
qa/suites: whitelist SLOW_OPS

Fixes: http://tracker.ceph.com/issues/23495
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorgw: warn user about on going resharding when canceling it 21120/head
Orit Wasserman [Thu, 29 Mar 2018 10:57:28 +0000 (13:57 +0300)]
rgw: warn user about on going resharding when canceling it

Fixes: http://tracker.ceph.com/issues/21619
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
7 years agorgw: no need to RGWReshard::get before remove
Orit Wasserman [Thu, 29 Mar 2018 10:34:50 +0000 (13:34 +0300)]
rgw: no need to RGWReshard::get before remove

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #21112 from guzhongyan/fix-vlog
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>
7 years agoMerge pull request #21028 from rzarzynski/wip-osd-get_rw_locks-norefcnt
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>
7 years agoMerge pull request #21235 from xiexingguo/wip-fix-obj-start
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>
7 years agotools/cephfs: instantiate MDSUtility after global_init() 21321/head
Yan, Zheng [Tue, 10 Apr 2018 08:02:18 +0000 (16:02 +0800)]
tools/cephfs: instantiate MDSUtility after global_init()

cephfs-foo-tool from current master crashes immediately it starts.

Introduced by commit 6972273d53d "global: output usage on -h, --help,
or no args before contacting mons"

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/23624
7 years agoMerge pull request #21313 from ceph/wip-pg-clean-timeout
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>
7 years agoMerge pull request #21284 from tchaikov/wip-cmake-libstdcxx
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>
7 years agoMerge pull request #21290 from rjfd/wip-dashboard-fix-rest-controller
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>
7 years agoMerge PR #21039 into master
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>
7 years agoMerge PR #21040 into master
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>
7 years agoMerge PR #21132 into master
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>
7 years agoMerge PR #21144 into master
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>
7 years agoMerge PR #21167 into master
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>
7 years agoMerge PR #21191 into master
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>
7 years agoMerge PR #21255 into master
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>
7 years agoqa/tasks/mgr/test_failover: fix for id -> name rename in mgr metadata 21315/head
Sage Weil [Tue, 10 Apr 2018 02:48:40 +0000 (21:48 -0500)]
qa/tasks/mgr/test_failover: fix for id -> name rename in mgr metadata

This was changed by 428236de8b4155beffb5a4ffa8dd206230325a01

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21295 from badone/wip-large-omap-scrub-big-random-loser-2
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>
7 years agoqa/tasks: wait_for_clean is called after ceph task as well after osd's are up, 21313/head
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>
7 years agoceph-volume lvm.activate error if no bluestore OSDs are found 21130/head
Alfredo Deza [Tue, 10 Apr 2018 00:00:27 +0000 (20:00 -0400)]
ceph-volume lvm.activate error if no bluestore OSDs are found

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests/functional add 'activate all' for xenial/filestore/dmcrypt
Alfredo Deza [Mon, 9 Apr 2018 17:56:45 +0000 (13:56 -0400)]
ceph-volume tests/functional add 'activate all' for xenial/filestore/dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests/functional add 'activate all' for xenial/bluestore/dmcrypt
Alfredo Deza [Mon, 9 Apr 2018 17:56:31 +0000 (13:56 -0400)]
ceph-volume tests/functional add 'activate all' for xenial/bluestore/dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests/functional add 'activate all' for centos7/filestore/dmcrypt
Alfredo Deza [Mon, 9 Apr 2018 17:56:12 +0000 (13:56 -0400)]
ceph-volume tests/functional add 'activate all' for centos7/filestore/dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests/functional add 'activate all' for centos7/bluestore/dmcrypt
Alfredo Deza [Mon, 9 Apr 2018 17:55:59 +0000 (13:55 -0400)]
ceph-volume tests/functional add 'activate all' for centos7/bluestore/dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests/functional add 'activate all' in filestore playbook
Alfredo Deza [Mon, 9 Apr 2018 17:55:15 +0000 (13:55 -0400)]
ceph-volume tests/functional add 'activate all' in filestore playbook

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc: remove unused config: "osd op threads" 21319/head
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>
7 years agoceph-volume tests/functional add 'activate all' in bluestore playbook
Alfredo Deza [Mon, 9 Apr 2018 17:55:05 +0000 (13:55 -0400)]
ceph-volume tests/functional add 'activate all' in bluestore playbook

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #21309 from ceph/wip-yuriw-crontab
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>
7 years agoMerge pull request #21282 from liewegas/wip-pgpool-enc
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>
7 years agoqa/tests - minor clean ups and made perf-suite run 3 times, so we can have more data... 21309/head
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>
7 years agoMerge PR #21263 into master
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>
7 years agomgr/dashboard: Move services provision to service module 21126/head
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>
7 years agomgr/dashboard: Add Api module
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>
7 years agoMerge pull request #20807 from Devp00l/improve-table-search
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>
7 years agoMerge pull request #20943 from tspmelo/fix-e2e
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>
7 years agopybind/rbd: always parse timestamps in UTC 21304/head
Ricardo Dias [Tue, 27 Mar 2018 14:05:01 +0000 (15:05 +0100)]
pybind/rbd: always parse timestamps in UTC

Fixes: http://tracker.ceph.com/issues/23609
Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agopybind/rbd: add `data_pool_id()` image function
Ricardo Dias [Tue, 27 Mar 2018 12:41:26 +0000 (13:41 +0100)]
pybind/rbd: add `data_pool_id()` image function

Fixes: http://tracker.ceph.com/issues/23609
Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agopybind/rbd: fix python 3 str to bytes problems
Ricardo Dias [Fri, 23 Mar 2018 14:51:44 +0000 (14:51 +0000)]
pybind/rbd: fix python 3 str to bytes problems

Fixes: http://tracker.ceph.com/issues/23609
Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agocommon/options: add otp to default osd class load list 19283/head
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>
7 years agorgw: mfa documentation
Yehuda Sadeh [Wed, 4 Apr 2018 21:29:23 +0000 (14:29 -0700)]
rgw: mfa documentation

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoqa/tasks/s3tests: configure mfa tests
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>
7 years agorgw: require mfa only if mfa status actually changes
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>
7 years agorgw: add distro dependencies for liboath
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>
7 years agorgw: fixes following rebase
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>
7 years agocls/otp: fixes following review
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>
7 years agorgw, cls/otp: support for base32 seed type
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>
7 years agocls/otp, rgw-admin: use older liboath api, parse seed once
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>
7 years agocls/otp: preserve otp history when modifying it
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>
7 years agorgw-admin, cls/otp: get current time for otp resync from osd
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>
7 years agorgw-admin: add mfa resync command
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>
7 years agorgw: cleanup
Yehuda Sadeh [Fri, 1 Dec 2017 15:06:36 +0000 (07:06 -0800)]
rgw: cleanup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocls/otp: integrate with liboath
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>
7 years agorgw: set objv_tracker for metadata mutate
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>
7 years agorgw_admin: use metadata mutate for mfa updates
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>
7 years agorgw: better api for metadata mutation
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>
7 years agorgw: tie otp meta get/put to meta log, objv_tracker
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>
7 years agorgw: trivial implementation of otp meta handlers
Yehuda Sadeh [Thu, 23 Nov 2017 00:25:41 +0000 (16:25 -0800)]
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>
7 years agocls/otp: client api to set multiple keys
Yehuda Sadeh [Wed, 22 Nov 2017 23:49:32 +0000 (15:49 -0800)]
cls/otp: client api to set multiple keys

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocls/otp: update header anyway, don't use omap header
Yehuda Sadeh [Wed, 22 Nov 2017 23:47:46 +0000 (15:47 -0800)]
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>
7 years agorgw: initial work to add otp as metadata provider
Yehuda Sadeh [Tue, 21 Nov 2017 23:11:34 +0000 (15:11 -0800)]
rgw: initial work to add otp as metadata provider

To allow transparent multisite sync

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: fix mfa setting, verify on object deletion
Yehuda Sadeh [Tue, 21 Nov 2017 22:50:23 +0000 (14:50 -0800)]
rgw: fix mfa setting, verify on object deletion

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: S3 get bucket versioning returns MFA status
Yehuda Sadeh [Mon, 4 Dec 2017 08:18:31 +0000 (00:18 -0800)]
rgw: S3 get bucket versioning returns MFA status

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: functionality to modify mfa entries in user metadata
Yehuda Sadeh [Mon, 4 Dec 2017 08:06:35 +0000 (00:06 -0800)]
rgw: functionality to modify mfa entries in user metadata

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw-admin: new mfa control commands
Yehuda Sadeh [Mon, 4 Dec 2017 07:54:33 +0000 (23:54 -0800)]
rgw-admin: new mfa control commands

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: add otp pool, create otp service functionality
Yehuda Sadeh [Mon, 4 Dec 2017 07:51:38 +0000 (23:51 -0800)]
rgw: add otp pool, create otp service functionality

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocls/otp: implement otp_info_t::dump()
Yehuda Sadeh [Mon, 4 Dec 2017 07:48:04 +0000 (23:48 -0800)]
cls/otp: implement otp_info_t::dump()

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>