]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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 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>
7 years agocls_otp: treat empty header as -ENOENT
Yehuda Sadeh [Mon, 4 Dec 2017 07:45:31 +0000 (23:45 -0800)]
cls_otp: treat empty header as -ENOENT

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: send totp check to the otp objclass
Yehuda Sadeh [Fri, 17 Nov 2017 23:40:25 +0000 (15:40 -0800)]
rgw: send totp check to the otp objclass

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: req_state members init refactor
Yehuda Sadeh [Fri, 17 Nov 2017 22:49:21 +0000 (14:49 -0800)]
rgw: req_state members init refactor

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocls/otp: add client interfaces
Yehuda Sadeh [Thu, 16 Nov 2017 01:04:22 +0000 (17:04 -0800)]
cls/otp: add client interfaces

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocls/otp: implement totp check logic
Yehuda Sadeh [Wed, 15 Nov 2017 01:47:30 +0000 (17:47 -0800)]
cls/otp: implement totp check logic

Currently checking for bogus results, still need to integrate with
totp library.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocls/otp: initial work
Yehuda Sadeh [Tue, 14 Nov 2017 23:57:07 +0000 (15:57 -0800)]
cls/otp: initial work

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: mfa - initial work
Yehuda Sadeh [Thu, 9 Nov 2017 23:31:26 +0000 (18:31 -0500)]
rgw: mfa - initial work

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #20758 from ceph/wip-cv-doc-typos
Alfredo Deza [Mon, 9 Apr 2018 13:58:56 +0000 (09:58 -0400)]
Merge pull request #20758 from ceph/wip-cv-doc-typos

ceph-volume doc updates

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoMerge pull request #21249 from dillaman/wip-18844
Mykola Golub [Mon, 9 Apr 2018 13:22:03 +0000 (16:22 +0300)]
Merge pull request #21249 from dillaman/wip-18844

rbd: improve 'import-diff' corrupt input error messages

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoqa/suites/rados/singleton/all/random-eio: whitelist eio error message 21302/head
Sage Weil [Mon, 9 Apr 2018 12:40:23 +0000 (07:40 -0500)]
qa/suites/rados/singleton/all/random-eio: whitelist eio error message

"cluster [ERR] 2.1 shard 1: soid 2:8007ad8d:::benchmark_data_smithi115_12935_object2439:head candidate had a read error"

is normal when we're injecting EIO.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/OSDMap: propagate POOL_SNAPS|SELFMANAGED_SNAPS to tiers 21282/head
Sage Weil [Sun, 8 Apr 2018 19:40:45 +0000 (14:40 -0500)]
osd/OSDMap: propagate POOL_SNAPS|SELFMANAGED_SNAPS to tiers

We set this when we add selfmanaged snaps to the base tier.  When those
propagate to the cache tier, propagate the flags, too!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21196 from jeffrey4l/fix_typo
Alfredo Deza [Mon, 9 Apr 2018 11:02:50 +0000 (07:02 -0400)]
Merge pull request #21196 from jeffrey4l/fix_typo

ceph-volume: fix typo in ceph-volume lvm prepare help

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #21270 from Devp00l/ceph-table-action-fix
Lenz Grimmer [Mon, 9 Apr 2018 10:34:25 +0000 (12:34 +0200)]
Merge pull request #21270 from Devp00l/ceph-table-action-fix

mgr/dashboard: Fix the data table action selector

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: restcontroller: fix detection of id args in element requests 21290/head
Ricardo Dias [Sun, 8 Apr 2018 17:37:30 +0000 (18:37 +0100)]
mgr/dashboard: restcontroller: fix detection of id args in element requests

Fixes: https://tracker.ceph.com/issues/23593
Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21269 from b-ranto/wip-mgr-expose-rgw
Boris Ranto [Mon, 9 Apr 2018 08:40:42 +0000 (10:40 +0200)]
Merge pull request #21269 from b-ranto/wip-mgr-expose-rgw

mgr: Expose rgw perf counters

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoqa/suites/rados: Disable scrub backoff 21295/head
Brad Hubbard [Mon, 9 Apr 2018 01:46:32 +0000 (11:46 +1000)]
qa/suites/rados: Disable scrub backoff

A long run of lost coin flips can lead to a timeout in
test_large_omap_detection.py.

Fixes: http://tracker.ceph.com/issues/23578
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
7 years agomisc: fix various log messages 21112/head
Gu Zhongyan [Thu, 29 Mar 2018 07:44:25 +0000 (15:44 +0800)]
misc: fix various log messages

add space between __func__ and following messages

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
7 years agoMerge pull request #21248 from dillaman/wip-23548
Mykola Golub [Sun, 8 Apr 2018 20:22:38 +0000 (23:22 +0300)]
Merge pull request #21248 from dillaman/wip-23548

librbd: potential race between discard and writeback

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #17531 from smithfarm/wip-calamari-tests
Nathan Cutler [Sun, 8 Apr 2018 06:54:27 +0000 (08:54 +0200)]
Merge pull request #17531 from smithfarm/wip-calamari-tests

tests: cleanup: drop calamari tasks

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
7 years agoMerge pull request #21245 from ifed01/wip-ifed-shard-bug-logging
Xie Xingguo [Sun, 8 Apr 2018 05:37:00 +0000 (13:37 +0800)]
Merge pull request #21245 from ifed01/wip-ifed-shard-bug-logging

os/bluestore: be more verbose when hitting unloaded shard in extent map

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocmake: define HAVE_STDLIB_MAP_SPLICING for both libstdc++ and libc++ 21284/head
Kefu Chai [Sun, 8 Apr 2018 01:57:36 +0000 (09:57 +0800)]
cmake: define HAVE_STDLIB_MAP_SPLICING for both libstdc++ and libc++

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd/osd_types: fix pg_pool_t encoding for hammer
Sage Weil [Sat, 7 Apr 2018 18:36:32 +0000 (13:36 -0500)]
osd/osd_types: fix pg_pool_t encoding for hammer

If we are missing the hammer feature, we will also be missing the
luminous feature, but we should still encode like hammer.

Analogous fix to e28e0c617af8825ae92cced5d87cc4f403709e48

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20866 from jan--f/mgr-fix-metadata-return
Kefu Chai [Sat, 7 Apr 2018 09:31:04 +0000 (17:31 +0800)]
Merge pull request #20866 from jan--f/mgr-fix-metadata-return

mon/MonCommands: mgr metadata - improve parameter naming consistency

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21217 from tchaikov/wip-cmp-hobject
Kefu Chai [Sat, 7 Apr 2018 09:29:57 +0000 (17:29 +0800)]
Merge pull request #21217 from tchaikov/wip-cmp-hobject

common/hobject: preserve the order of hobject

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21211 from tchaikov/wip-clang-without-map-merge
Kefu Chai [Sat, 7 Apr 2018 09:29:15 +0000 (17:29 +0800)]
Merge pull request #21211 from tchaikov/wip-clang-without-map-merge

cmake,mds: detect std::map::merge() before using it.

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #21161 from cbodley/wip-mon-config-obs
Kefu Chai [Sat, 7 Apr 2018 09:27:15 +0000 (17:27 +0800)]
Merge pull request #21161 from cbodley/wip-mon-config-obs

config: notify config observers on set_mon_vals()

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21151 from xiexingguo/wip-prune-olr
Kefu Chai [Sat, 7 Apr 2018 09:25:48 +0000 (17:25 +0800)]
Merge pull request #21151 from xiexingguo/wip-prune-olr

osd/PGBackend: drop input "snapid_t" from objects_list_range()

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21150 from xiexingguo/wip-large-omap-obj-counting
Kefu Chai [Sat, 7 Apr 2018 09:24:56 +0000 (17:24 +0800)]
Merge pull request #21150 from xiexingguo/wip-large-omap-obj-counting

osd/PGBackend: fix large_omap_objects checking

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #21119 from Liuchang0812/refine-optracker-history
Kefu Chai [Sat, 7 Apr 2018 09:23:35 +0000 (17:23 +0800)]
Merge pull request #21119 from Liuchang0812/refine-optracker-history

common, osd: duplicated "start" event in OpTracker, improve OpTracker::dump_ops

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21095 from wido/ceph-metadata-version
Kefu Chai [Sat, 7 Apr 2018 09:22:01 +0000 (17:22 +0800)]
Merge pull request #21095 from wido/ceph-metadata-version

common: Add metadata with only Ceph version number and release

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21055 from tchaikov/wip-pr-20994
Kefu Chai [Sat, 7 Apr 2018 09:21:06 +0000 (17:21 +0800)]
Merge pull request #21055 from tchaikov/wip-pr-20994

filestore,rgw: fix types/casts making clang on 32-Bit working

Reviewed-by: Josh Durgin <jdurgin@redhat.com>