]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agorgw: rest_client: work towards throttling of http read requests
Yehuda Sadeh [Fri, 3 Nov 2017 22:57:56 +0000 (15:57 -0700)]
rgw: rest_client: work towards throttling of http read requests

Adjust the interfaces to provide the ability for the read callback
to pause the reads. While doing that, define a new class interface
for this instead of RGWGetDataCB. This had a butterfly effect that
required modifications to the obj read filters, but the end result
is a bit cleaner.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: cr rest splice, work towards write throttling
Yehuda Sadeh [Tue, 31 Oct 2017 16:44:15 +0000 (09:44 -0700)]
rgw: cr rest splice, work towards write throttling

Need to throttle writes, so that we don't just accumulate all data read
from source endpoint in memory, in the case where the write endpoint is
too slow.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: cr: introduce io channels
Yehuda Sadeh [Thu, 2 Nov 2017 00:25:02 +0000 (17:25 -0700)]
rgw: cr: introduce io channels

ios can have multiple channels, so that we can differentiate between
waiting on read/write/control events. We can then block on a specific,
any, or multiple events.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: configurable multipart threshold, part size
Yehuda Sadeh [Mon, 30 Oct 2017 23:48:05 +0000 (16:48 -0700)]
rgw: aws sync: configurable multipart threshold, part size

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync conf, consolidate configurables
Yehuda Sadeh [Mon, 30 Oct 2017 23:22:00 +0000 (16:22 -0700)]
rgw: aws sync conf, consolidate configurables

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: http req, guard out_headers
Yehuda Sadeh [Mon, 30 Oct 2017 22:38:23 +0000 (15:38 -0700)]
rgw: http req, guard out_headers

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: check that source object doesn't change
Yehuda Sadeh [Thu, 26 Oct 2017 00:56:57 +0000 (17:56 -0700)]
rgw: aws sync: check that source object doesn't change

Make suret that while syncing the object it doesn't change, which can
be a problem when uploading the object piecemeal.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync, store temp per-object sync info
Yehuda Sadeh [Wed, 25 Oct 2017 00:06:01 +0000 (17:06 -0700)]
rgw: aws sync, store temp per-object sync info

When doing a multipart object sync, need to store the object's info
so that we can either continue if upload is interrupted, and abort
older upload_id in case object changed.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: multipart upload complete
Yehuda Sadeh [Sat, 21 Oct 2017 00:43:32 +0000 (17:43 -0700)]
rgw: aws sync: multipart upload complete

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: don't schedule a cr if already scheduled
Yehuda Sadeh [Thu, 19 Oct 2017 21:04:03 +0000 (14:04 -0700)]
rgw: don't schedule a cr if already scheduled

This can be triggered when multiple IOs return for the same cr. We
don't want to allow it to be scheduled multiple times, as this
might wake up blocking IOs that shouldn't be woken up. If we try to
block on an IO that we already complete, we won't block anyway.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync, initial work on multipart data parts creation
Yehuda Sadeh [Thu, 19 Oct 2017 00:41:00 +0000 (17:41 -0700)]
rgw: aws sync, initial work on multipart data parts creation

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: fix io blocked accounting
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>
7 years agorgw: aws sync, more work on large object sync via multipart upload
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>
7 years agorgw: aws sync module, fix target object naming
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>
7 years agorgw: aws sync module, fix target object naming
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>
7 years agorgw: fix rest read crf handling of extra data
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>
7 years agorgw: recover from empty meta.history object
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>
7 years agorgw: aws sync, add hooks for decoding/encoding rest obj
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>
7 years agorgw: aws sync, in_crf init abstraction
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>
7 years agorgw: aws sync: generate target bucket
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>
7 years agorgw: a bit cleaner interfaces for sending put crf
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>
7 years agorgw: first go at sync to aws splice
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>
7 years agorgw: RGWRESTConn() don't override provided key
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>
7 years agorgw: more streaming crf abstraction
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>
7 years agorgw: separte stream crfs for read and write
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>
7 years agorgw: splice cr drains writes
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>
7 years agorgw: rest cr drains writes, returns errors
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>
7 years agorgw: groundwork for supporting concurrent IOs in single cr
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>
7 years agorgw: initial work for integrating streaming read/write with cr
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>
7 years agorgw: amend http client manager interface
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>
7 years agorgw: http client, simplify interfaces
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>
7 years agorgw: create global http manager
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>
7 years agorgw: restructure http/rest client class hierarchy
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>
7 years agorgw: tweak http client interface
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>
7 years agorgw: add api to finish streaming writes
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>
7 years agorgw: http client, streaming writes api
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>
7 years agorgw: fixes following rebase
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>
7 years agorgw: typo fix during rebase (squash)
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>
7 years agorgw_rest_client: clarify comment on set content length
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>
7 years agoaws: remove comment
Abhishek Lekshmanan [Mon, 27 Feb 2017 16:43:46 +0000 (17:43 +0100)]
aws: remove comment

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoaws: use slashes in obj name
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>
7 years agorgw_sync_module_aws: make conn a unique ptr
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>
7 years agorgw_sync_module_aws: use the readrawrestresource cr
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>
7 years agorgw_cr_rest: have a raw variant of read resource
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>
7 years agosync_module_aws: minor logging improvements
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>
7 years agoset_content_length for streamrw requests
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>
7 years agorgw: aws sync: make bucket name more url friendly
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>
7 years agorgw_aws_sync: untested code for bucket create
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>
7 years agorgw: sync_module_aws implement rm object
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>
7 years agoaws: ws fix
Abhishek Lekshmanan [Thu, 23 Feb 2017 14:58:20 +0000 (15:58 +0100)]
aws: ws fix

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agodelete-me: log path for requests
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>
7 years agorgw_cr_rest: send content length on raw requests
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>
7 years agorgw_aws_module: lets call put object and see what happens
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>
7 years agorgw_cr_rest: allow sending of raw put requests
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>
7 years agorgw: aws sync module: set keys for rest client
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>
7 years agorgw: RGWRestConn allow keys to be initialized
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>
7 years agowell more hacks to get my previous hack working
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>
7 years agoallow cr http client to deal with non json types
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>
7 years agonon working download client
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>
7 years agorgw: sync_module: register aws module
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>
7 years agorgw: make RGWSyncModule classes for AWS
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>
7 years agorgw: sync aws module compiles
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>
7 years agorgw: sync plugin for aws (the humble beginnings!)
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>
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 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 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>