]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agocls/refcount: add chunk_refcount
myoungwon oh [Mon, 19 Feb 2018 07:59:55 +0000 (16:59 +0900)]
cls/refcount: add chunk_refcount

refcount() for chunked object is added (based on source id,
pool id and offset)

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agoMerge pull request #21416 from tchaikov/wip-tox-pwd
Kefu Chai [Fri, 13 Apr 2018 14:56:46 +0000 (22:56 +0800)]
Merge pull request #21416 from tchaikov/wip-tox-pwd

test/dashboard: specify workdir using tox.ini

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #18932 from yehudasa/wip-rgw-cloud-sync
Casey Bodley [Fri, 13 Apr 2018 14:42:20 +0000 (10:42 -0400)]
Merge pull request #18932 from yehudasa/wip-rgw-cloud-sync

rgw cloud sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21356 from smithfarm/wip-23657
Nathan Cutler [Fri, 13 Apr 2018 13:59:11 +0000 (15:59 +0200)]
Merge pull request #21356 from smithfarm/wip-23657

rpm,debian: Ensure all ceph-disk runtime dependencies are declared for ceph-base

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agotest/dashboard: specify workdir using tox.ini 21416/head
Kefu Chai [Fri, 13 Apr 2018 13:00:42 +0000 (21:00 +0800)]
test/dashboard: specify workdir using tox.ini

--workdir was introduced in tox v2.4.0, but the tox shipped by
ubuntu/xenial is 2.3.1. also because i removed the step to prepare the
tox using "pip install -r requirements.txt", what we have is the tox
v2.3.1 . so, instead of passing workdir in the command line, we specify
this setting in tox.ini.

also drop the tox in requirements.txt, it's just misleading. and we are
not using the tox installed in the venv.

Fixes: http://tracker.ceph.com/issues/23709
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21342 from SUSE/wip-argparse-fix-validate_command-error
Kefu Chai [Fri, 13 Apr 2018 09:50:26 +0000 (17:50 +0800)]
Merge pull request #21342 from SUSE/wip-argparse-fix-validate_command-error

pybind/ceph_argparse: Fix UnboundLocalError if command doesn't validate

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21331 from liewegas/wip-slow-ops
Kefu Chai [Fri, 13 Apr 2018 09:49:30 +0000 (17:49 +0800)]
Merge pull request #21331 from liewegas/wip-slow-ops

qa/suites/rados/monthrash: whitelist SLOW_OPS

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21317 from liewegas/wip-23622
Kefu Chai [Fri, 13 Apr 2018 09:48:34 +0000 (17:48 +0800)]
Merge pull request #21317 from liewegas/wip-23622

common/Formatter: fix string_view usage for {json,xml}_stream_escaper

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21312 from wjwithagen/wjw-PG-public
Kefu Chai [Fri, 13 Apr 2018 09:47:47 +0000 (17:47 +0800)]
Merge pull request #21312 from wjwithagen/wjw-PG-public

osd: make PG::*Force* event structs public

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21293 from tchaikov/wip-no-venv-for-dashboard
Kefu Chai [Fri, 13 Apr 2018 09:45:18 +0000 (17:45 +0800)]
Merge pull request #21293 from tchaikov/wip-no-venv-for-dashboard

test: only test enabled python bindings

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21287 from yanghonggang/master
Kefu Chai [Fri, 13 Apr 2018 09:43:33 +0000 (17:43 +0800)]
Merge pull request #21287 from yanghonggang/master

os/kstore: fix statfs problem and add vstart.sh support

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21174 from guzhongyan/crush-log-cleanup
Kefu Chai [Fri, 13 Apr 2018 09:42:44 +0000 (17:42 +0800)]
Merge pull request #21174 from guzhongyan/crush-log-cleanup

crush: cleanup update_device_class() log messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21110 from majianpeng/fix-objecter
Kefu Chai [Fri, 13 Apr 2018 09:41:28 +0000 (17:41 +0800)]
Merge pull request #21110 from majianpeng/fix-objecter

osdc: dec num_in_flight for pool_dne case.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #21029 from rzarzynski/wip-osd-close_op_ctx-nohobjcpy
Kefu Chai [Fri, 13 Apr 2018 09:40:27 +0000 (17:40 +0800)]
Merge pull request #21029 from rzarzynski/wip-osd-close_op_ctx-nohobjcpy

osd: don't memcpy hobject_t in PrimaryLogPG::close_op_ctx().

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21018 from ashitakasam/wip-bug-23440
Kefu Chai [Fri, 13 Apr 2018 09:37:34 +0000 (17:37 +0800)]
Merge pull request #21018 from ashitakasam/wip-bug-23440

osd: remove duplicated "commit_queued_for_journal_write" in OpTracker

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20670 from chardan/jfw-wip-rand_migration-core
Kefu Chai [Fri, 13 Apr 2018 09:36:27 +0000 (17:36 +0800)]
Merge pull request #20670 from chardan/jfw-wip-rand_migration-core

Extends random.h: numeric types relaxed to compatible types (with

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #21350 from tspmelo/notifications-improvement
Lenz Grimmer [Fri, 13 Apr 2018 08:57:52 +0000 (10:57 +0200)]
Merge pull request #21350 from tspmelo/notifications-improvement

mgr/dashboard: Notification improvements

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile vtheile@suse.com
7 years agoMerge pull request #20996 from rzarzynski/wip-bs-bug23246
Kefu Chai [Fri, 13 Apr 2018 07:58:08 +0000 (15:58 +0800)]
Merge pull request #20996 from rzarzynski/wip-bs-bug23246

os/bluestore: fix exceeding the max IO queue depth in KernelDevice.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #21345 from ceph/fix_e2fsprogs
Kefu Chai [Fri, 13 Apr 2018 07:51:29 +0000 (15:51 +0800)]
Merge pull request #21345 from ceph/fix_e2fsprogs

specs: require of e2fsprogs

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Erwan Velu <erwan@redhat.com>
7 years agoMerge pull request #20658 from majianpeng/cmake-link-error
Kefu Chai [Fri, 13 Apr 2018 07:43:09 +0000 (15:43 +0800)]
Merge pull request #20658 from majianpeng/cmake-link-error

os/CMakeLists: fix link errro when enable WITH_PMEM=ON.

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21332 from cbodley/wip-cmake-lz4
Kefu Chai [Fri, 13 Apr 2018 07:32:55 +0000 (15:32 +0800)]
Merge pull request #21332 from cbodley/wip-cmake-lz4

cmake: enable LZ4 by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agorgw/tests_http_manager: fix initialization 18932/head
Yehuda Sadeh [Fri, 13 Apr 2018 02:58:32 +0000 (19:58 -0700)]
rgw/tests_http_manager: fix initialization

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agojson_formattable: fix out of bounds array entity removal
Yehuda Sadeh [Fri, 13 Apr 2018 02:23:19 +0000 (19:23 -0700)]
json_formattable: fix out of bounds array entity removal

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge PR #21181 into master
Patrick Donnelly [Fri, 13 Apr 2018 01:22:31 +0000 (18:22 -0700)]
Merge PR #21181 into master

* refs/pull/21181/head:
fuse: wire up fuse_ll_access

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21276 into master
Patrick Donnelly [Fri, 13 Apr 2018 01:22:27 +0000 (18:22 -0700)]
Merge PR #21276 into master

* refs/pull/21276/head:
MDSMonitor: fix mds health printed in bad format

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge PR #21323 into master
Patrick Donnelly [Fri, 13 Apr 2018 01:22:22 +0000 (18:22 -0700)]
Merge PR #21323 into master

* refs/pull/21323/head:
mds: properly dirty sessions opened by journal replay

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agorgw: force last writer wins on marker writes
Yehuda Sadeh [Sat, 7 Apr 2018 00:41:37 +0000 (17:41 -0700)]
rgw: force last writer wins on marker writes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agodoc/radosgw: cloud sync docs
Yehuda Sadeh [Thu, 5 Apr 2018 23:05:48 +0000 (16:05 -0700)]
doc/radosgw: cloud sync docs

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #21362 from dzafman/wip-hex-digest
David Zafman [Thu, 12 Apr 2018 23:07:36 +0000 (16:07 -0700)]
Merge pull request #21362 from dzafman/wip-hex-digest

osd: Change shard digests to hex like object info digests

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agorgw: rename aws tier type to 'cloud'
Yehuda Sadeh [Thu, 5 Apr 2018 00:12:30 +0000 (17:12 -0700)]
rgw: rename aws tier type to 'cloud'

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: etag fixes
Yehuda Sadeh [Thu, 5 Apr 2018 21:31:41 +0000 (14:31 -0700)]
rgw: etag fixes

Use string instead of bufferlist to avoid potential issues.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: fixes following code review
Yehuda Sadeh [Fri, 23 Mar 2018 23:38:51 +0000 (16:38 -0700)]
rgw: fixes following code review

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agotest/rgw/test_multi: fix a few tests to only iterate over rw zones
Yehuda Sadeh [Fri, 23 Mar 2018 00:39:50 +0000 (17:39 -0700)]
test/rgw/test_multi: fix a few tests to only iterate over rw zones

Some of the tests require at least two read-write (regular rgw) zones

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agotest/rgw: zone_cloud: deal with key representation and other fixes
Yehuda Sadeh [Fri, 23 Mar 2018 00:44:48 +0000 (17:44 -0700)]
test/rgw: zone_cloud: deal with key representation and other fixes

Needed to present a key to the tests that reflected its original name
and version_id (and etag), so that the callers don't need to be modified.
However, this can only be achieved if we get the key, which doesn't work
if the caller was just listing the bucket objects. Created a new CloudKey
class to deal with the different issues there.
Also, other test related fixes.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: streaming put also stores content_type and other fields
Yehuda Sadeh [Fri, 23 Mar 2018 00:33:29 +0000 (17:33 -0700)]
rgw: streaming put also stores content_type and other fields

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: fix parse_tier_config_param function
Chang Liu [Tue, 27 Feb 2018 08:48:26 +0000 (16:48 +0800)]
rgw: fix parse_tier_config_param function

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
7 years agorgw: don't call http data callbacks under lock
Yehuda Sadeh [Tue, 20 Mar 2018 18:52:44 +0000 (11:52 -0700)]
rgw: don't call http data callbacks under lock

There is no need to hold req_data->lock when calling into client
callbacks. This removes an unneeded lock dependency (that is a
problem when cancelliing coroutines stack).

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: coroutines: cancel stacks on teardown
Yehuda Sadeh [Tue, 20 Mar 2018 18:47:39 +0000 (11:47 -0700)]
rgw: coroutines: cancel stacks on teardown

If we don't cancel stacks, ops might not be destructed, so ops callbacks
could still be active.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: don't store etag with extra null character at the end
Yehuda Sadeh [Fri, 23 Mar 2018 00:50:40 +0000 (17:50 -0700)]
rgw: don't store etag with extra null character at the end

head objects etag attr doesn't need to store an extra null char.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: cloud sync: store source object info in destination object
Yehuda Sadeh [Fri, 23 Mar 2018 00:49:40 +0000 (17:49 -0700)]
rgw: cloud sync: store source object info in destination object

store extra meta params on target object (original name, version_id, etag,
etc.)

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: cloud sync: store versioned epoch in target object
Yehuda Sadeh [Thu, 15 Mar 2018 22:57:24 +0000 (15:57 -0700)]
rgw: cloud sync: store versioned epoch in target object

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agotest/rgw: initial work on cloud sync test
Yehuda Sadeh [Mon, 12 Mar 2018 21:34:05 +0000 (14:34 -0700)]
test/rgw: initial work on cloud sync test

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: api adjustment following rebase
Yehuda Sadeh [Mon, 19 Feb 2018 23:32:19 +0000 (15:32 -0800)]
rgw: api adjustment following rebase

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: rework cloud sync configuration
Yehuda Sadeh [Fri, 2 Feb 2018 23:51:49 +0000 (15:51 -0800)]
rgw: rework cloud sync configuration

Change the configuration structure to separate between
connections and acl mappings, and other changes.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: fixes following rebase
Yehuda Sadeh [Fri, 2 Feb 2018 00:18:38 +0000 (16:18 -0800)]
rgw: fixes following rebase

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: use different io id when waking up interval wait
Yehuda Sadeh [Fri, 2 Feb 2018 00:06:22 +0000 (16:06 -0800)]
rgw: use different io id when waking up interval wait

Can't use a zero channel id as a wildcard.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: fix compilation warning
Yehuda Sadeh [Fri, 2 Feb 2018 00:05:14 +0000 (16:05 -0800)]
rgw: fix compilation warning

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agovstart: fixes for mstart
Yehuda Sadeh [Thu, 25 Jan 2018 23:38:54 +0000 (15:38 -0800)]
vstart: fixes for mstart

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: apply acl mappings
Yehuda Sadeh [Mon, 22 Jan 2018 21:10:52 +0000 (13:10 -0800)]
rgw: aws sync: apply acl mappings

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: sync acls
Yehuda Sadeh [Wed, 17 Jan 2018 00:53:31 +0000 (16:53 -0800)]
rgw: aws sync: sync acls

still not transforming acls according to configuration

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: acl_mappings config handling
Yehuda Sadeh [Tue, 16 Jan 2018 22:50:04 +0000 (14:50 -0800)]
rgw: aws sync: acl_mappings config handling

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: remove bucket suffix configurable
Yehuda Sadeh [Tue, 16 Jan 2018 03:05:02 +0000 (19:05 -0800)]
rgw: aws sync: remove bucket suffix configurable

No need to have a special suffix, target path can be used instead.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: use configurable target path
Yehuda Sadeh [Tue, 16 Jan 2018 02:01:48 +0000 (18:01 -0800)]
rgw: aws sync: use configurable target path

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: dump config
Yehuda Sadeh [Mon, 15 Jan 2018 21:59:13 +0000 (13:59 -0800)]
rgw: aws sync: dump config

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoformatter: add two utility classes
Yehuda Sadeh [Mon, 15 Jan 2018 22:22:07 +0000 (14:22 -0800)]
formatter: add two utility classes

For automatic section scoping

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: configure different targets
Yehuda Sadeh [Sat, 13 Jan 2018 00:25:48 +0000 (16:25 -0800)]
rgw: aws sync: configure different targets

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: aws sync: new config structure, support multiple connections
Yehuda Sadeh [Fri, 12 Jan 2018 22:57:24 +0000 (14:57 -0800)]
rgw: aws sync: new config structure, support multiple connections

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoformattable: more fixes
Yehuda Sadeh [Tue, 9 Jan 2018 15:40:11 +0000 (07:40 -0800)]
formattable: more fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: sync module tier config fixes
Yehuda Sadeh [Tue, 9 Jan 2018 09:30:46 +0000 (01:30 -0800)]
rgw: sync module tier config fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoformattable: fixes
Yehuda Sadeh [Tue, 9 Jan 2018 09:30:37 +0000 (01:30 -0800)]
formattable: fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: cloud sync, sync object meta
Yehuda Sadeh [Mon, 8 Jan 2018 15:27:30 +0000 (07:27 -0800)]
rgw: cloud sync, sync object meta

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoformattable: adjust array access interface
Yehuda Sadeh [Mon, 8 Jan 2018 09:44:41 +0000 (01:44 -0800)]
formattable: adjust array access interface

appending new entry by providing empty index, setting existing entries
by providing negative index.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoceph_json: formattable, set, erase, unitest
Yehuda Sadeh [Fri, 5 Jan 2018 10:42:06 +0000 (02:42 -0800)]
ceph_json: formattable, set, erase, unitest

Extend the formattable api to provide a mechanism to set and erase
entities by a string key that references them. E.g., "foo.bar[123].xyz"

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: handle the situation that get a 409 response from S3 correctly
lvshanchun [Wed, 29 Nov 2017 13:04:12 +0000 (21:04 +0800)]
rgw: handle the situation that get a 409 response from S3 correctly
pass the http body and use it when creating a bucket

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agorgw: avoid use Chunked transfer encoding in RGW's request
lvshanchun [Wed, 29 Nov 2017 08:49:11 +0000 (16:49 +0800)]
rgw: avoid use Chunked transfer encoding in RGW's request

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agorgw: add a bucket-suffix tier-config
lvshanchun [Wed, 29 Nov 2017 08:43:58 +0000 (16:43 +0800)]
rgw: add a bucket-suffix tier-config

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agorgw: virtual hosted-style support
lvshanchun [Wed, 29 Nov 2017 08:28:05 +0000 (16:28 +0800)]
rgw: virtual hosted-style support

add host-style field in tier-config to specify the related
zone's hosted-style used in request from RGW, if this config
is not specified, path hosted-style will be used as default.

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agorgw: RGWRESTStreamRWRequest::send_prepare(), url encode dest
lvshanchun [Thu, 23 Nov 2017 09:48:41 +0000 (17:48 +0800)]
rgw: RGWRESTStreamRWRequest::send_prepare(), url encode dest

encode the resource in send_prepare(), as a result, all the callers
to do_send_prepare() have do url_encode before calling it.

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agorgw: add encode_slash param in url_encode
lvshanchun [Wed, 29 Nov 2017 03:26:44 +0000 (11:26 +0800)]
rgw: add encode_slash param in url_encode

when sent request to S3, we should not encode the forward
slash character('/') in the object key name, so we need add
a encode_slash param in url_encode to decide whether to encode
the slash or not.

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agorgw: use GMT time format defined by RFC1123 in http request header
lvshanchun [Thu, 23 Nov 2017 08:41:44 +0000 (16:41 +0800)]
rgw: use GMT time format defined by RFC1123 in http request header

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agorgw: sync modules: adapt to formattable based config
Yehuda Sadeh [Wed, 13 Dec 2017 11:43:21 +0000 (03:43 -0800)]
rgw: sync modules: adapt to formattable based config

still need to fix rgw-admin

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agotest/ceph_json_formattable: add unitest
Yehuda Sadeh [Wed, 13 Dec 2017 11:39:24 +0000 (03:39 -0800)]
test/ceph_json_formattable: add unitest

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoceph_json: formattable fix, api changes
Yehuda Sadeh [Wed, 13 Dec 2017 11:38:09 +0000 (03:38 -0800)]
ceph_json: formattable fix, api changes

add implicit casts

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoceph_json: refine Formattable api
Yehuda Sadeh [Tue, 12 Dec 2017 18:10:15 +0000 (10:10 -0800)]
ceph_json: refine Formattable api

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: sync modules, use JSONFormattable
Yehuda Sadeh [Tue, 12 Dec 2017 13:03:54 +0000 (05:03 -0800)]
rgw: sync modules, use JSONFormattable

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: rgw_str_to_bool() should also accept "true"
Yehuda Sadeh [Tue, 12 Dec 2017 12:25:16 +0000 (04:25 -0800)]
rgw: rgw_str_to_bool() should also accept "true"

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agocommon/formattable: initial work
Yehuda Sadeh [Wed, 8 Nov 2017 21:19:31 +0000 (13:19 -0800)]
common/formattable: initial work

initial work on a dict-like api

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #21026 from ivancich/wip-rgw-unordered-listing
Casey Bodley [Thu, 12 Apr 2018 19:35:51 +0000 (15:35 -0400)]
Merge pull request #21026 from ivancich/wip-rgw-unordered-listing

rgw: ability to list bucket contents in unsorted order for efficiency

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
7 years agoMerge pull request #21291 from smithfarm/wip-23596
Casey Bodley [Thu, 12 Apr 2018 15:18:44 +0000 (11:18 -0400)]
Merge pull request #21291 from smithfarm/wip-23596

RGWCivetWeb::read_data: fix arguments to mg_read() call

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #21285 from joke-lee/wip-max_keys_convert
Casey Bodley [Thu, 12 Apr 2018 15:16:47 +0000 (11:16 -0400)]
Merge pull request #21285 from joke-lee/wip-max_keys_convert

rgw: return EINVAL if max_keys can not convert correctly

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21129 from oritwas/wip-rgw-admin-no-cache
Casey Bodley [Thu, 12 Apr 2018 15:14:37 +0000 (11:14 -0400)]
Merge pull request #21129 from oritwas/wip-rgw-admin-no-cache

rgw: radosgw-admin should not use metadata cache for readonly commands

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20834 from linuxbox2/wip-linked
Casey Bodley [Thu, 12 Apr 2018 15:14:05 +0000 (11:14 -0400)]
Merge pull request #20834 from linuxbox2/wip-linked

rgw_file: conditionally unlink handles when direct deleted

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20926 from yehudasa/wip-22963-truncation
Casey Bodley [Thu, 12 Apr 2018 15:13:40 +0000 (11:13 -0400)]
Merge pull request #20926 from yehudasa/wip-22963-truncation

rgw: fix for usage truncated flag

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #20814 from niupengju/master
Casey Bodley [Thu, 12 Apr 2018 15:05:44 +0000 (11:05 -0400)]
Merge pull request #20814 from niupengju/master

rgw: Fix multisite Synchronization failed when read and write delete …

Reviewed-by: Casey Bodley <cbodley@redhat.com>
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 #21140 from ceph/cv
Sage Weil [Thu, 12 Apr 2018 14:14:43 +0000 (09:14 -0500)]
Merge pull request #21140 from ceph/cv

ceph-volume: remove extra space

7 years agoinstall-deps: add liblz4 to freebsd build dependencies 21332/head
Casey Bodley [Tue, 10 Apr 2018 16:32:46 +0000 (12:32 -0400)]
install-deps: add liblz4 to freebsd build dependencies

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agodebian: add build dependency for lz4
Casey Bodley [Tue, 10 Apr 2018 15:18:47 +0000 (11:18 -0400)]
debian: add build dependency for lz4

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agorpm: add build dependency for lz4
Casey Bodley [Tue, 10 Apr 2018 15:18:37 +0000 (11:18 -0400)]
rpm: add build dependency for lz4

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agolz4: adjusted release notes
Casey Bodley [Tue, 10 Apr 2018 16:28:59 +0000 (12:28 -0400)]
lz4: adjusted release notes

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agocmake: Enable LZ4 if required library is available.
Grant Slater [Tue, 15 Aug 2017 15:58:35 +0000 (16:58 +0100)]
cmake: Enable LZ4 if required library is available.

Signed-off-by: Grant Slater <grant.slater@wearefriday.com>
7 years agoMerge pull request #20962 from ricardoasmarques/wip-task-manager-frontend
Lenz Grimmer [Thu, 12 Apr 2018 12:45:27 +0000 (14:45 +0200)]
Merge pull request #20962 from ricardoasmarques/wip-task-manager-frontend

mgr/dashboard: Asynchronous tasks (frontend)

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard: Notification improvements 21350/head
Tiago Melo [Wed, 11 Apr 2018 11:54:07 +0000 (12:54 +0100)]
mgr/dashboard: Notification improvements

Notification list is now using the new CdDate pipe for formating the date and
they are now sorted desc by date.

Fixed the class name of the info icon and changed the max-height so it can work
in smaller screens.

Decreased the size of the icons.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21099 from ricardoasmarques/wip-table-selection-refresh
Lenz Grimmer [Thu, 12 Apr 2018 11:27:56 +0000 (13:27 +0200)]
Merge pull request #21099 from ricardoasmarques/wip-table-selection-refresh

mgr/dashboard: Update selected items on table refresh

Reviewed-by: Volker Theile vtheile@suse.com
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21268 from smithfarm/wip-doc-config-ceph
Nathan Cutler [Thu, 12 Apr 2018 11:25:54 +0000 (13:25 +0200)]
Merge pull request #21268 from smithfarm/wip-doc-config-ceph

doc: some improvements to ceph-conf.rst

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agomgr/dashboard: Asynchronous tasks front-end 20962/head
Ricardo Marques [Mon, 19 Mar 2018 15:06:51 +0000 (15:06 +0000)]
mgr/dashboard: Asynchronous tasks front-end

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #21320 from tchaikov/wip-rocksdb
Kefu Chai [Thu, 12 Apr 2018 02:53:12 +0000 (10:53 +0800)]
Merge pull request #21320 from tchaikov/wip-rocksdb

rocksdb: sync with upstream

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21329 from liewegas/wip-23622-b
Sage Weil [Thu, 12 Apr 2018 02:40:57 +0000 (21:40 -0500)]
Merge pull request #21329 from liewegas/wip-23622-b

mon/ConfigKeyService: dump: print placeholder value for binary blobs

Reviewed-by: John Spray <jspray@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
7 years agoMerge pull request #21357 from gregsfortytwo/wip-doc-remove-naked-repo
Sage Weil [Thu, 12 Apr 2018 02:28:55 +0000 (21:28 -0500)]
Merge pull request #21357 from gregsfortytwo/wip-doc-remove-naked-repo

doc: remove references to unversioned repository addresses

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agobuild/ops: move parted runtime dependency to ceph-base 21356/head
Nathan Cutler [Wed, 11 Apr 2018 17:46:01 +0000 (19:46 +0200)]
build/ops: move parted runtime dependency to ceph-base

Since ceph-disk has been moved from "ceph-osd" to "ceph-base", all of
ceph-disk's dependencies should also be moved, provided they are not
needed by anything else.

Fixes: http://tracker.ceph.com/issues/23657
Signed-off-by: Nathan Cutler <ncutler@suse.com>