Javier M. Mellid [Tue, 26 Jul 2016 12:53:44 +0000 (14:53 +0200)]
rgw: multipart uploads copy part support
Add multipart uploads copy part feature.
Fixes: http://tracker.ceph.com/issues/12790 Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
(cherry picked from commit 949480c2e9760855ed6a0501d364d5e766c8207d)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Nathan Cutler [Thu, 23 Mar 2017 08:46:53 +0000 (09:46 +0100)]
Merge branch 'jewel-next' into jewel
Branch "jewel-next" was merged to jewel on Dec 22 (5b402f8a7b), and then PR
https://github.com/ceph/ceph/pull/13143 merged to jewel-next much later (Feb
1st), and then jewel-next was never merged to jewel again before we tagged
v10.2.6.
This merge brings in a single commit, i.e. the one from
https://github.com/ceph/ceph/pull/13143
Reported-by: Ken Dreyer <kdreyer@redhat.com> Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Mon, 20 Feb 2017 10:44:49 +0000 (11:44 +0100)]
tests: reduce stress-split-erasure-code-x86_64 dependency on stress-split
This patch breaks the symlinks for two files from stress-split that
are being changed by https://github.com/ceph/ceph/pull/13222 in a way
that would break this test otherwise.
Nathan Cutler [Mon, 20 Feb 2017 10:44:49 +0000 (11:44 +0100)]
tests: reduce stress-split-erasure-code dependency on stress-split
This patch breaks the symlinks for two files from stress-split that
are being changed by https://github.com/ceph/ceph/pull/13222 in a way
that would break this test otherwise.
Nathan Cutler [Tue, 14 Feb 2017 21:13:37 +0000 (22:13 +0100)]
tests: remove extra indentation in exec block
The exec block was indented by an extra space, causing
line 439, in parse_block_mapping_key
"expected <block end>, but found %r" % token.id, token.start_mark)
yaml.parser.ParserError: while parsing a block mapping
in "<string>", line 111, column 3:
sequential:
^
expected <block end>, but found '<block sequence start>'
in "<string>", line 126, column 4:
- exec:
^
Nathan Cutler [Mon, 13 Feb 2017 21:04:17 +0000 (22:04 +0100)]
tests: add require_jewel_osds to upgrade/hammer-x/tiering
Without this, the test tends to fail, but sometimes passes (apparently because
the "wait-for-healthy: true" in the last ceph.restart is racy - HEALTH_OK is
received before the MONs notice that all OSDs are running jewel without
require_jewel_osds.
Conflicts:
src/librbd/Journal.cc - trivial context difference (master does not
have "class SafeTimerSingleton"),
added "typedef ::journal::Journaler Journaler;" in
C_IsTagOwner template to fix build failure
Conflicts:
src/tools/rbd_mirror/CMakeLists.txt - file doesn't exist in jewel
(ported the patch to src/tools/Makefile-client.am)
src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc - Journal is
implemented by a typedef in jewel
src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.cc -
no compat.h include in jewel, Journal is implemented by a typedef
in jewel
Yehuda Sadeh [Tue, 4 Oct 2016 00:00:41 +0000 (17:00 -0700)]
rgw_admin: add a few admin commands to the usage
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 91ed1216d7465a42d11546cb967c70997ea5b1d8)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
Yehuda Sadeh [Mon, 3 Oct 2016 23:43:44 +0000 (16:43 -0700)]
rgw_admin: add bi purge command
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit aaf0d213eb39192ceb252c9c7db68c1a48ba1272)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit e2b8dc6113e2625bdf65ea6f2c42510229d04c87)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
cls/rgw: bi_list() fix is_truncated returned param
is_truncated was never set. Also, make sure that we don't return
more entries than requested.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 47f422a4e0382d53023af6f651433011606b8625)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
rgw_admin: require --yes-i-really-mean-it for bucket reshard
in the case where num shards are less or equal to current bucket
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 75da4375ee0e36c58f96cbf2920c3b9aadf12733)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit ac88b5d9e6bc3c8b59c500bf79a0e3daa923a47c)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
rgw: limit bucket reshard num shards to max possible
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit d9c88afec4b52848f9ad8957bab5a86fdafecded)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
Changes scoping of json section, and push the --object param in so that
an object can be specified as a filter.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 716d096bbb8e836aefa6a451b799389d3bd85620)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
rgw_admin: use aio operations for bucket resharding
also created shards manager to make things slightly cleaner
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 97e7ee9ca213ccf4b8f537e02125bd0c4ef24103)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit dd712384ffe72ee23cbe0a20d7400aff7fb779a8)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 4cc7d3a33a28602b45ec04ff5384e6bc62b376cb)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
rgw_admin: reshard also links to new bucket instance
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 094fe3f0cfeb27b32abfc93b07054b60de363a20)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
rgw: rgw_link_bucket, use correct bucket structure for entry point
The bucket structure might be different than the one that we were using
before.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit f2d9fc015556d6d70e596f75c382cc7157add411)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
radosgw-admin: bucket reshard needs --num-shards to be specified
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit d0569f913340cb251c1a49f1e470b176d8b34346)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
was filtering entries, even if filter was not specified, and need to
set boundary for plain entries. Also, list_instance_entries() was not
working correctly, and added list_olh_entries().
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit f87c4b2c2a6ecadaf9f0e0cfef4b6061878a023b)
See: http://tracker.ceph.com/issues/17556
See: https://github.com/ceph/ceph/pull/11368 Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>