]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Lenz Grimmer [Mon, 16 Apr 2018 11:21:30 +0000 (13:21 +0200)]
doc: Improved dashboard documentation
Moved content (RGW access configuration) from the dashboard `README.rst`
into the reference manual. Made various textual improvements to both the
README and the documentation.
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
Lenz Grimmer [Mon, 16 Apr 2018 08:58:05 +0000 (10:58 +0200)]
Merge pull request #21402 from tspmelo/wip-module-cleanup
mgr/dashboard: Angular modules cleanup
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile vtheile@suse.com
Kefu Chai [Mon, 16 Apr 2018 07:46:07 +0000 (15:46 +0800)]
Merge pull request #21398 from ivancich/wip-revert-dmclock-feature-bit-plus
osd: Revert use of dmclock message feature bit since not yet finalized
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Mon, 16 Apr 2018 04:45:12 +0000 (07:45 +0300)]
Merge pull request #21403 from dillaman/wip-rbd-mirror-dead-instances
test/rbd-mirror: improve coverage for dead instance handling
Reviewed-by: Mykola Golub <mgolub@suse.com>
Patrick Donnelly [Mon, 16 Apr 2018 03:26:46 +0000 (20:26 -0700)]
Merge PR #21322 into master
* refs/pull/21322/head:
osdc: cleanup code.
osdc: Remove useless condition.
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Patrick Donnelly [Mon, 16 Apr 2018 03:26:41 +0000 (20:26 -0700)]
Merge PR #21341 into master
* refs/pull/21341/head:
client: Fix the gid_count check
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 16 Apr 2018 03:26:36 +0000 (20:26 -0700)]
Merge PR #21370 into master
* refs/pull/21370/head:
client: Take reference for operator= function parameter
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Mon, 16 Apr 2018 03:26:31 +0000 (20:26 -0700)]
Merge PR #21391 into master
* refs/pull/21391/head:
qa: fix log typo
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Patrick Donnelly [Mon, 16 Apr 2018 03:26:26 +0000 (20:26 -0700)]
Merge PR #21396 into master
* refs/pull/21396/head:
ceph-fuse: exit with failure on failed mount
common: ignore errors during preforker exit
client: do not overload system errnos
Reviewed-by: Zheng Yan <zyan@redhat.com>
Kefu Chai [Sun, 15 Apr 2018 15:02:35 +0000 (23:02 +0800)]
Merge pull request #20398 from wjwithagen/wip-posix_fallocate
common: posix_fallocate on ZFS returns EINVAL
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 15 Apr 2018 15:01:35 +0000 (23:01 +0800)]
Merge pull request #20752 from jcsp/wip-dashboard-build-tweak
mgr/dashboard: build tweaks
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Sun, 15 Apr 2018 15:00:21 +0000 (23:00 +0800)]
Merge pull request #21108 from xiexingguo/wip-kill-subset-of
interval_set: kill subset_of()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 15 Apr 2018 14:59:09 +0000 (22:59 +0800)]
Merge pull request #21369 from majianpeng/test-objectstore_bench-usage
test/objectstore_bench: Don't forget judging whether call usage.
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 15 Apr 2018 14:58:16 +0000 (22:58 +0800)]
Merge pull request #20100 from mogeb/iostat-plugin
mgr/iostat: implement 'ceph iostat' as a mgr plugin
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 15 Apr 2018 14:56:53 +0000 (22:56 +0800)]
Merge pull request #21373 from ovh/bp-hb-divbyzero
osd: fix crash caused by divide by zero in heartbeat code
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 15 Apr 2018 14:55:46 +0000 (22:55 +0800)]
Merge pull request #21395 from liewegas/wip-log-channels
mon/LogMonitor: separate out summary by channel
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Sun, 15 Apr 2018 14:52:22 +0000 (22:52 +0800)]
Merge pull request #19935 from myoungwon/wip-manifest-ref-count
osd: refcount for manifest object (redirect, chunked)
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 15 Apr 2018 14:49:50 +0000 (22:49 +0800)]
Merge pull request #19117 from jan--f/jan-object-counts-decimal
include/types: format decimal numbers with decimal factor
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 15 Apr 2018 14:48:49 +0000 (22:48 +0800)]
Merge pull request #21427 from liewegas/wip-balancer-roots
mgr/balancer: improve error message
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sun, 15 Apr 2018 14:47:13 +0000 (22:47 +0800)]
Merge pull request #21401 from liewegas/wip-mgr-help
ceph-mgr: exit after usage
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Sun, 15 Apr 2018 14:45:56 +0000 (22:45 +0800)]
Merge pull request #21430 from tchaikov/wip-osdmap-prune
mon/OSDMonitor: txsize should be greater or eq to prune_interval - 1
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Kefu Chai [Sat, 14 Apr 2018 00:58:53 +0000 (08:58 +0800)]
mon/OSDMonitor: txsize should be greater or eq to prune_interval - 1
so we can prune 1 or more intervals in a single iteration. and in each
interval, we prune (prune_interval - 1) versions of osdmap.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 14 Apr 2018 01:23:22 +0000 (09:23 +0800)]
Merge pull request #21404 from tchaikov/wip-cmake-boost
cmake: changes of BuildBoost.cmake to ready seastar
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Josh Durgin [Sat, 14 Apr 2018 00:54:21 +0000 (17:54 -0700)]
Merge pull request #21410 from badone/wip-test_large_omap_detection-scrub-pgs-instead-of-osds
qa/workunits/rados/test_large_omap_detection: Scrub pgs instead of OSDs
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 13 Apr 2018 22:52:24 +0000 (17:52 -0500)]
mgr/balancer: identify roots that osds overlap in
This error message isn't very informative; tell the user which osds
appear in mulitple roots, and which roots those are!
Signed-off-by: Sage Weil <sage@redhat.com>
Abhishek L [Fri, 13 Apr 2018 22:28:51 +0000 (00:28 +0200)]
Merge pull request #20853 from theanalyst/rgw/recalc-stats
rgw: add an option to recalculate user stats
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Sage Weil [Fri, 13 Apr 2018 21:16:28 +0000 (16:16 -0500)]
Merge pull request #21421 from liewegas/wip-doc-balancer
doc/mgr/balancer: document
Reviewed-by: Dan van der Ster <daniel.vanderster@cern.ch>
Matt Benjamin [Fri, 13 Apr 2018 20:37:03 +0000 (16:37 -0400)]
Merge pull request #21425 from cbodley/wip-rgw-fix-set_threaded
rgw: fix sync status conflict with cloud sync
Casey Bodley [Fri, 13 Apr 2018 20:29:21 +0000 (16:29 -0400)]
rgw: fix conflict with cloud sync
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 13 Apr 2018 20:30:20 +0000 (16:30 -0400)]
Merge pull request #20027 from Leeshine/wip-rgw-sync-bucket-shards
rgw: improve sync status: display behind bucket shards
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Matt Benjamin [Fri, 13 Apr 2018 18:50:46 +0000 (14:50 -0400)]
Merge pull request #21123 from theanalyst/wip-civetweb-1.1
rgw: civetweb fixes for v1.1 upgrade
Sage Weil [Fri, 13 Apr 2018 17:40:17 +0000 (12:40 -0500)]
doc/mgr/balancer: document
Not sure how we missed this for luminous!
Signed-off-by: Sage Weil <sage@redhat.com>
myoungwon oh [Mon, 19 Mar 2018 07:20:18 +0000 (16:20 +0900)]
cls/refcount: add chunk_refcount_client()
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
myoungwon oh [Wed, 7 Mar 2018 14:12:56 +0000 (23:12 +0900)]
src/test: add a unit test for manifest refcount
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
myoungwon oh [Fri, 12 Jan 2018 11:19:57 +0000 (20:19 +0900)]
osd: decrease refcount when object is deleted (has manifest) if the object is referenced
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
myoungwon oh [Fri, 12 Jan 2018 08:39:16 +0000 (17:39 +0900)]
osd: increase refcount if redirect or chunked object is enabled
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
myoungwon oh [Fri, 12 Jan 2018 08:24:51 +0000 (17:24 +0900)]
osd: add refcount_manifest() for the object that has manifest
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
myoungwon oh [Tue, 27 Feb 2018 15:18:59 +0000 (00:18 +0900)]
osd/osd_types.h: add HAS_REFERENCE flag
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
myoungwon oh [Tue, 27 Feb 2018 14:33:22 +0000 (23:33 +0900)]
librados: add with_reference flag when redirect or chunk is enabled
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
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>
Abhishek Lekshmanan [Fri, 13 Apr 2018 17:03:11 +0000 (19:03 +0200)]
rgw: update civetweb submodule sha1 to track ceph-master
Updating the sha1 to track ceph-master which currently updates civetweb to 1.1
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Fri, 13 Apr 2018 15:25:54 +0000 (17:25 +0200)]
cmake: set OPENSSL_API_1_1 in civetweb conditionally
While not ideal, we set the civetweb openssl 1.1 conditional compile based on
the openssl version that cmake reports. In future we should make civetweb itself
do this based on OPENSSL_VERSION_COMPAT
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Thu, 5 Apr 2018 17:06:16 +0000 (19:06 +0200)]
qa: drop rfc2616 checking on civetweb
Since newer versions of civetweb are also strict on rfc2616 checks let's enforce
strict rfc2616 checks in s3tests
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Tue, 27 Mar 2018 14:19:47 +0000 (16:19 +0200)]
rgw: update civetweb to 1.1
Introduces the following additions in rgw:
- allow_unicode_in_urls introduced with a corresponding downstream commit in
civetweb, as the newer version of civetweb validates that urls are url encoded
which swifttests do not follow, so introduce this as a configurable which we set
as true
- mg header struct changes in civetweb update, use auto here
- drop info->uri and use local_uri instead as the former is deprecated
wip: rgw: civetweb fixes for v1.1 upgrade
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Jan Fajerski [Mon, 9 Apr 2018 10:21:34 +0000 (12:21 +0200)]
common/options: change mon_data_size_warn type to TYPE_SIZE
As the option represents a byte count, TYPE_SIZE is appropriate and the
correct IEC unit prefixes will be parsed.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Jan Fajerski [Mon, 9 Apr 2018 10:00:31 +0000 (12:00 +0200)]
qa/workunits/cephtool/test.sh: fix SI unit test, add IEC unit test
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
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>
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>
J. Eric Ivancich [Tue, 10 Apr 2018 18:28:39 +0000 (14:28 -0400)]
osd: Revert use of dmclock message feature bit since not yet finalized
Because the updated use of dmclock is not yet finalized and the
unfinished functionality uses a valuable messaging feature bit that we
don't want to waste, we're removing it for the mimic release and from
master.
Reverts most of the following commits for mimic:
de8110ebb39401d3e09cb871f843776421ccd56f
739d7e462f3a03c4e188fcfa48eb05c0063970c9
2361e9c790306e789393323ef349d8b4a20bc70d
9b702cf8fc2ff881ca16edc78874f2118a2e4641
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Brad Hubbard [Fri, 13 Apr 2018 01:10:22 +0000 (11:10 +1000)]
qa/workunits/rados/test_large_omap_detection: Scrub pgs instead of OSDs
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
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>
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>
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>
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>
Willem Jan Withagen [Sun, 11 Feb 2018 21:06:46 +0000 (22:06 +0100)]
common: posix_fallocate on ZFS returns EINVAL
But even still it would not work on any COW FS.
So reorganised the code to have a common routine
that in the end will allocate a file on disk if needed
FileStore would not build when there was no HAVE_POSIX_FALLOCATE
other than on Apple. With ceph_posix_fallocate FileStore will also
fallback to manually allocating the required file.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Sun, 18 Mar 2018 08:07:09 +0000 (16:07 +0800)]
cmake: expose Boost_VERSION
to appease the consumers of FindBoost.cmake, they are expecting this
variable.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 18 Mar 2018 08:08:34 +0000 (16:08 +0800)]
cmake: rename the boost header target to Boost::boost
because FindBoost.cmake defines Boost::boost as the target for header
only dependencies.
due to the limit of cmake < 3.1, this only applies to cmake > 3.1
Signed-off-by: Kefu Chai <kchai@redhat.com>
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>
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>
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>
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>
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>
Tiago Melo [Fri, 13 Apr 2018 00:21:01 +0000 (01:21 +0100)]
mgr/dashboard: Angular modules cleanup
Removed the import of modules that were already being imported through the
Shared module.
Removed duplicated providers, those services were already provided in the api
module.
Signed-off-by: Tiago Melo <tmelo@suse.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>