]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agorgw_admin: fix bi list command
Yehuda Sadeh [Tue, 27 Sep 2016 18:55:32 +0000 (11:55 -0700)]
rgw_admin: fix bi list command

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>
8 years agorgw_admin: use aio operations for bucket resharding
Yehuda Sadeh [Mon, 26 Sep 2016 22:49:37 +0000 (15:49 -0700)]
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>
8 years agorgw: bucket reshard updates stats
Yehuda Sadeh [Mon, 26 Sep 2016 17:45:17 +0000 (10:45 -0700)]
rgw: bucket reshard updates stats

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>
8 years agocls/rgw: add bucket_update_stats method
Yehuda Sadeh [Mon, 26 Sep 2016 16:52:29 +0000 (09:52 -0700)]
cls/rgw: add bucket_update_stats method

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>
8 years agorgw_admin: reshard also links to new bucket instance
Yehuda Sadeh [Sat, 24 Sep 2016 17:46:36 +0000 (10:46 -0700)]
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>
8 years agorgw: rgw_link_bucket, use correct bucket structure for entry point
Yehuda Sadeh [Sat, 24 Sep 2016 17:33:57 +0000 (10:33 -0700)]
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>
8 years agoradosgw-admin: bucket reshard needs --num-shards to be specified
Yehuda Sadeh [Sat, 24 Sep 2016 17:01:00 +0000 (10:01 -0700)]
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>
8 years agocls/rgw: fix bi_list objclass command
Yehuda Sadeh [Sat, 24 Sep 2016 12:49:37 +0000 (05:49 -0700)]
cls/rgw: fix bi_list objclass command

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>
8 years agorgw_admin: bucket rehsrading, initial work
Yehuda Sadeh [Mon, 26 Sep 2016 23:09:34 +0000 (16:09 -0700)]
rgw_admin: bucket rehsrading, initial work

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit d8c5931bceaa42ad47ae5ad9b2c32bb6c321484a)
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>
Conflicts:
src/rgw/rgw_admin.cc

8 years agorgw: utilities to support raw bucket index operations
Yehuda Sadeh [Mon, 26 Sep 2016 23:09:15 +0000 (16:09 -0700)]
rgw: utilities to support raw bucket index operations

and other related changes.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit b01e732f3d597670f4f781be3db81786e63d5053)
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>
Conflicts:
src/rgw/rgw_rados.cc

8 years agorgw: use bucket_info.bucket_id instead of marker where needed
Yehuda Sadeh [Mon, 26 Sep 2016 23:06:17 +0000 (16:06 -0700)]
rgw: use bucket_info.bucket_id instead of marker where needed

We used to use these interchangeably, but they actually have diffent meaning.
The marker is the prefix we assign to the objects in this bucket, whereas
the bucket_id is the bucket instance's id. These used to hold the same
value, but with bucket resharding it's not going to be true anymore.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 94afaf722fc8289af6e75025ba7d783f11c4b7d0)
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>
8 years agocls/rgw: utilities to support raw bucket index operations
Yehuda Sadeh [Mon, 26 Sep 2016 23:01:39 +0000 (16:01 -0700)]
cls/rgw: utilities to support raw bucket index operations

New flavour of bi_put() call, and a function to extract key off
a raw bi entry.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 9b3a2a40a5732689be98a940f7e6c3c4a6e73c53)
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>
8 years agoMerge pull request #11872 from dachary/wip-17838-jewel
Nathan Cutler [Wed, 1 Feb 2017 23:08:29 +0000 (00:08 +0100)]
Merge pull request #11872 from dachary/wip-17838-jewel

jewel: leak in RGWFetchAllMetaCR

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13182 from smithfarm/wip-18498-jewel
Nathan Cutler [Wed, 1 Feb 2017 22:58:29 +0000 (23:58 +0100)]
Merge pull request #13182 from smithfarm/wip-18498-jewel

jewel: rgw: Realm set does not create a new period

8 years agoMerge pull request #13180 from smithfarm/wip-18547-jewel
Nathan Cutler [Wed, 1 Feb 2017 22:57:40 +0000 (23:57 +0100)]
Merge pull request #13180 from smithfarm/wip-18547-jewel

jewel: rgw: multisite: segfault after changing value of rgw_data_log_num_shards

8 years agoMerge pull request #13177 from smithfarm/wip-18676-jewel
Nathan Cutler [Wed, 1 Feb 2017 22:56:21 +0000 (23:56 +0100)]
Merge pull request #13177 from smithfarm/wip-18676-jewel

jewel: rgw: librgw: objects created from s3 apis are not visible from nfs mount point

8 years agoMerge pull request #13175 from smithfarm/wip-18684-jewel
Nathan Cutler [Wed, 1 Feb 2017 22:55:25 +0000 (23:55 +0100)]
Merge pull request #13175 from smithfarm/wip-18684-jewel

jewel: rgw: multisite: sync status reports master is on a different period

8 years agoMerge pull request #13173 from smithfarm/wip-18710-jewel
Nathan Cutler [Wed, 1 Feb 2017 22:54:33 +0000 (23:54 +0100)]
Merge pull request #13173 from smithfarm/wip-18710-jewel

jewel: rgw: slave zonegroup cannot enable the bucket versioning

8 years agoMerge pull request #13171 from smithfarm/wip-18712-jewel
Nathan Cutler [Wed, 1 Feb 2017 22:53:39 +0000 (23:53 +0100)]
Merge pull request #13171 from smithfarm/wip-18712-jewel

jewel: rgw: radosgw-admin period update reverts deleted zonegroup

8 years agoMerge pull request #13001 from asheplyakov/jewel-bp/18559
Nathan Cutler [Wed, 1 Feb 2017 22:13:11 +0000 (23:13 +0100)]
Merge pull request #13001 from asheplyakov/jewel-bp/18559

jewel: rgw multisite: fix ref counting of completions

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12997 from asheplyakov/jewel-bp-18569
Nathan Cutler [Wed, 1 Feb 2017 22:10:37 +0000 (23:10 +0100)]
Merge pull request #12997 from asheplyakov/jewel-bp-18569

jewel: radosgw valgrind "invalid read size 4" RGWGetObj

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12764 from SUSE/wip-17342-jewel
Nathan Cutler [Wed, 1 Feb 2017 22:02:14 +0000 (23:02 +0100)]
Merge pull request #12764 from SUSE/wip-17342-jewel

jewel: tests: assertion failure in a radosgw-admin related task

8 years agoMerge pull request #12738 from SUSE/wip-18286-jewel
Nathan Cutler [Wed, 1 Feb 2017 22:01:02 +0000 (23:01 +0100)]
Merge pull request #12738 from SUSE/wip-18286-jewel

jewel: rgw: multisite: coroutine deadlock in RGWMetaSyncCR after ECANCELED errors

8 years agoMerge pull request #12678 from Abhishekvrshny/wip-18348-jewel
Nathan Cutler [Wed, 1 Feb 2017 22:00:12 +0000 (23:00 +0100)]
Merge pull request #12678 from Abhishekvrshny/wip-18348-jewel

jewel: rgw ldap: enforce simple_bind w/LDAPv3 redux

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12622 from wido/jewel-15776
Nathan Cutler [Wed, 1 Feb 2017 21:45:54 +0000 (22:45 +0100)]
Merge pull request #12622 from wido/jewel-15776

jewel: rgw: log name instead of id for SystemMetaObj on failure

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #12542 from dreamhost/wip-17076-jewel
Nathan Cutler [Wed, 1 Feb 2017 21:39:52 +0000 (22:39 +0100)]
Merge pull request #12542 from dreamhost/wip-17076-jewel

jewel: rgw: Replacing '+' with "%20" in canonical uri for s3 v4 auth.

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12428 from SUSE/wip-18216-jewel
Nathan Cutler [Wed, 1 Feb 2017 21:38:17 +0000 (22:38 +0100)]
Merge pull request #12428 from SUSE/wip-18216-jewel

jewel: rgw-admin: missing command to modify placement targets

8 years agoMerge pull request #12426 from SUSE/wip-18214-jewel
Nathan Cutler [Wed, 1 Feb 2017 21:36:19 +0000 (22:36 +0100)]
Merge pull request #12426 from SUSE/wip-18214-jewel

jewel: add max_part and nbds_max options in rbd nbd map, in order to keep consistent with

http://tracker.ceph.com/issues/17851#note-59

8 years agoMerge pull request #12419 from SUSE/wip-18217-jewel
Nathan Cutler [Wed, 1 Feb 2017 21:34:15 +0000 (22:34 +0100)]
Merge pull request #12419 from SUSE/wip-18217-jewel

jewel: rgw sends omap_getvals with (u64)-1 limit

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12405 from jan--f/wip-18199-jewel
Nathan Cutler [Wed, 1 Feb 2017 21:32:24 +0000 (22:32 +0100)]
Merge pull request #12405 from jan--f/wip-18199-jewel

jewel: build/ops: install-deps.sh based on /etc/os-release

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12397 from linuxbox2/jewel-next
Nathan Cutler [Wed, 1 Feb 2017 21:29:24 +0000 (22:29 +0100)]
Merge pull request #12397 from linuxbox2/jewel-next

jewel: rgw: do not abort when accept a CORS request with short origin

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12316 from dachary/wip-18101-jewel
Nathan Cutler [Wed, 1 Feb 2017 21:15:35 +0000 (22:15 +0100)]
Merge pull request #12316 from dachary/wip-18101-jewel

jewel: Add workaround for upgrade issues for older jewel versions

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12890 from dillaman/wip-18453-jewel
Nathan Cutler [Wed, 1 Feb 2017 20:37:45 +0000 (21:37 +0100)]
Merge pull request #12890 from dillaman/wip-18453-jewel

jewel: librbd: new API method to force break a peer's exclusive lock

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12302 from SUSE/wip-18135-jewel
Loic Dachary [Wed, 1 Feb 2017 19:23:36 +0000 (20:23 +0100)]
Merge pull request #12302 from SUSE/wip-18135-jewel

jewel: build/ops: add hostname sanity check to run-{c}make-check.sh

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #12315 from dachary/wip-18102-jewel
Nathan Cutler [Wed, 1 Feb 2017 15:18:04 +0000 (16:18 +0100)]
Merge pull request #12315 from dachary/wip-18102-jewel

jewel: rgw: Unable to commit period zonegroup change

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12314 from dachary/wip-18107-jewel
Nathan Cutler [Wed, 1 Feb 2017 15:14:15 +0000 (16:14 +0100)]
Merge pull request #12314 from dachary/wip-18107-jewel

jewel: multisite: failed assertion in 'radosgw-admin bucket sync status'

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12313 from dachary/wip-18112-jewel
Nathan Cutler [Wed, 1 Feb 2017 15:12:40 +0000 (16:12 +0100)]
Merge pull request #12313 from dachary/wip-18112-jewel

jewel: rgw: multisite requests failing with '400 Bad Request' with civetweb 1.8

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12258 from rzarzynski/wip-rgw-17931-jewel
Nathan Cutler [Wed, 1 Feb 2017 15:02:05 +0000 (16:02 +0100)]
Merge pull request #12258 from rzarzynski/wip-rgw-17931-jewel

jewel: rgw: add support for the prefix parameter in account listing of Swift API

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12156 from dachary/wip-17969-jewel
Nathan Cutler [Wed, 1 Feb 2017 14:56:48 +0000 (15:56 +0100)]
Merge pull request #12156 from dachary/wip-17969-jewel

jewel: rgw: multisite upgrade from hammer -> jewel ignores rgw_region_root_pool

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11990 from asheplyakov/jewel-17908
Nathan Cutler [Wed, 1 Feb 2017 14:34:45 +0000 (15:34 +0100)]
Merge pull request #11990 from asheplyakov/jewel-17908

jewel: rgw: for the create_bucket api, if the input creation_time is zero, we …

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11876 from dachary/wip-17839-jewel
Nathan Cutler [Wed, 1 Feb 2017 14:31:21 +0000 (15:31 +0100)]
Merge pull request #11876 from dachary/wip-17839-jewel

jewel: rgw: the value of total_time is wrong in the result of 'radosgw-admin log show' opt

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11868 from dachary/wip-17512-jewel
Nathan Cutler [Wed, 1 Feb 2017 14:26:21 +0000 (15:26 +0100)]
Merge pull request #11868 from dachary/wip-17512-jewel

jewel: multisite: metadata master can get the wrong value for 'oldest_log_period'

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11866 from dachary/wip-17709-jewel
Nathan Cutler [Wed, 1 Feb 2017 14:24:11 +0000 (15:24 +0100)]
Merge pull request #11866 from dachary/wip-17709-jewel

jewel: rgw: multisite: coroutine deadlock assertion on error in FetchAllMetaCR

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11497 from rzarzynski/wip-rgw-slashinfo-jewel
Nathan Cutler [Wed, 1 Feb 2017 14:21:33 +0000 (15:21 +0100)]
Merge pull request #11497 from rzarzynski/wip-rgw-slashinfo-jewel

jewel: rgw: add suport for Swift-at-root dependent features of Swift API

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11477 from dachary/wip-17119-jewel
Nathan Cutler [Wed, 1 Feb 2017 14:18:42 +0000 (15:18 +0100)]
Merge pull request #11477 from dachary/wip-17119-jewel

jewel: rgw: multisite: assert(next) failed in RGWMetaSyncCR

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11476 from dachary/wip-17162-jewel
Nathan Cutler [Wed, 1 Feb 2017 14:17:03 +0000 (15:17 +0100)]
Merge pull request #11476 from dachary/wip-17162-jewel

jewel: rgw: multisite doesn't retry RGWFetchAllMetaCR on failed lease

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11470 from dachary/wip-17514-jewel
Nathan Cutler [Wed, 1 Feb 2017 14:15:01 +0000 (15:15 +0100)]
Merge pull request #11470 from dachary/wip-17514-jewel

jewel: rgw:bucket check remove _multipart_ prefix

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #10661 from dachary/wip-16871-jewel
Nathan Cutler [Wed, 1 Feb 2017 14:12:51 +0000 (15:12 +0100)]
Merge pull request #10661 from dachary/wip-16871-jewel

jewel: rgw: Have a flavor of bucket deletion in radosgw-admin to bypass garbage collection

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13187 from asheplyakov/jewel-bp-18729
Loic Dachary [Wed, 1 Feb 2017 13:02:56 +0000 (14:02 +0100)]
Merge pull request #13187 from asheplyakov/jewel-bp-18729

jewel: cli: ceph-disk: convert none str to str before printing it

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #13153 from smithfarm/wip-no-firefly-on-centos
Nathan Cutler [Wed, 1 Feb 2017 12:29:50 +0000 (13:29 +0100)]
Merge pull request #13153 from smithfarm/wip-no-firefly-on-centos

jewel: tests: upgrade:hammer-x: install firefly only on Ubuntu 14.04

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #13118 from smithfarm/wip-18274-jewel
Nathan Cutler [Wed, 1 Feb 2017 12:17:48 +0000 (13:17 +0100)]
Merge pull request #13118 from smithfarm/wip-18274-jewel

jewel: Memory leaks in object_list_begin and object_list_end

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13025 from SUSE/wip-18605-jewel
Loic Dachary [Wed, 1 Feb 2017 12:15:09 +0000 (13:15 +0100)]
Merge pull request #13025 from SUSE/wip-18605-jewel

jewel: ceph-disk prepare writes osd log 0 with root owner

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #13106 from ceph/wip-cd-dev-option
Nathan Cutler [Wed, 1 Feb 2017 12:12:57 +0000 (13:12 +0100)]
Merge pull request #13106 from ceph/wip-cd-dev-option

qa/tasks: jewel backport -  ceph-deploy use of dev option

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
8 years agoMerge pull request #13062 from asheplyakov/jewel-bp-18379
Nathan Cutler [Wed, 1 Feb 2017 12:02:54 +0000 (13:02 +0100)]
Merge pull request #13062 from asheplyakov/jewel-bp-18379

jewel: msg/simple: clear_pipe when wait() is mopping up pipes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12978 from asheplyakov/jewel-18581
Nathan Cutler [Wed, 1 Feb 2017 11:53:06 +0000 (12:53 +0100)]
Merge pull request #12978 from asheplyakov/jewel-18581

jewel: ReplicatedBackend: take read locks for clone sources during recovery

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #12755 from Abhishekvrshny/wip-18284-jewel
Nathan Cutler [Wed, 1 Feb 2017 11:33:19 +0000 (12:33 +0100)]
Merge pull request #12755 from Abhishekvrshny/wip-18284-jewel

jewel: Need CLI ability to add, edit and remove omap values with binary keys

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12677 from SUSE/wip-18104-jewel
Nathan Cutler [Wed, 1 Feb 2017 11:31:13 +0000 (12:31 +0100)]
Merge pull request #12677 from SUSE/wip-18104-jewel

jewel: mon: ceph osd down detection behaviour

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12291 from asheplyakov/jewel-18108
Nathan Cutler [Wed, 1 Feb 2017 11:28:50 +0000 (12:28 +0100)]
Merge pull request #12291 from asheplyakov/jewel-18108

jewel: msg/simple/Pipe: error decoding addr

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11998 from Abhishekvrshny/wip-17877-jewel
Nathan Cutler [Wed, 1 Feb 2017 11:27:46 +0000 (12:27 +0100)]
Merge pull request #11998 from Abhishekvrshny/wip-17877-jewel

jewel: FileStore: fiemap cannot be totally retrieved in xfs when the number of extents > 1364

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11991 from asheplyakov/jewel-17909
Nathan Cutler [Wed, 1 Feb 2017 11:26:28 +0000 (12:26 +0100)]
Merge pull request #11991 from asheplyakov/jewel-17909

jewel: osd: limit omap data in push op

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #12045 from Abhishekvrshny/wip-17875-jewel
Matt Benjamin [Tue, 31 Jan 2017 16:40:41 +0000 (11:40 -0500)]
Merge pull request #12045 from Abhishekvrshny/wip-17875-jewel

jewel: rgw: file: remove spurious mount entries for RGW buckets

8 years agoMerge pull request #13161 from smithfarm/wip-lfn-upgrade-hammer
Loic Dachary [Tue, 31 Jan 2017 15:42:14 +0000 (16:42 +0100)]
Merge pull request #13161 from smithfarm/wip-lfn-upgrade-hammer

jewel: tests: add require_jewel_osds before upgrading last hammer node

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #12425 from SUSE/wip-18190-jewel
Nathan Cutler [Tue, 31 Jan 2017 15:36:17 +0000 (16:36 +0100)]
Merge pull request #12425 from SUSE/wip-18190-jewel

jewel: rbd-mirror: gmock warnings in bootstrap request unit tests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13129 from smithfarm/wip-18558-jewel
Nathan Cutler [Tue, 31 Jan 2017 14:16:45 +0000 (15:16 +0100)]
Merge pull request #13129 from smithfarm/wip-18558-jewel

jewel: rbd: bench-write will crash if --io-size is 4G

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13155 from smithfarm/wip-18494-jewel
Nathan Cutler [Tue, 31 Jan 2017 14:15:30 +0000 (15:15 +0100)]
Merge pull request #13155 from smithfarm/wip-18494-jewel

jewel: rbd: [rbd-mirror] sporadic image replayer shut down failure

8 years agoMerge pull request #13128 from smithfarm/wip-18633-jewel
Nathan Cutler [Tue, 31 Jan 2017 14:14:31 +0000 (15:14 +0100)]
Merge pull request #13128 from smithfarm/wip-18633-jewel

jewel: rbd: [qa] crash in journal-enabled fsx run

http://tracker.ceph.com/issues/13512

8 years agoMerge pull request #13104 from idryomov/wip-fio-unmap-devices-jewel
Nathan Cutler [Tue, 31 Jan 2017 14:11:43 +0000 (15:11 +0100)]
Merge pull request #13104 from idryomov/wip-fio-unmap-devices-jewel

qa/tasks: backport rbd_fio fixes to jewel

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13156 from smithfarm/wip-18455-jewel
Nathan Cutler [Tue, 31 Jan 2017 14:10:03 +0000 (15:10 +0100)]
Merge pull request #13156 from smithfarm/wip-18455-jewel

jewel: rbd: Attempting to remove an image w/ incompatible features results in partial removal

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13157 from smithfarm/wip-18434-jewel
Nathan Cutler [Tue, 31 Jan 2017 13:59:56 +0000 (14:59 +0100)]
Merge pull request #13157 from smithfarm/wip-18434-jewel

jewel: rbd: Improve error reporting from rbd feature enable/disable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13168 from trociny/wip-18550-jewel
Nathan Cutler [Tue, 31 Jan 2017 13:59:04 +0000 (14:59 +0100)]
Merge pull request #13168 from trociny/wip-18550-jewel

jewel: librbd: metadata_set API operation should not change global config setting

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12739 from SUSE/wip-18323-jewel
Nathan Cutler [Tue, 31 Jan 2017 13:55:58 +0000 (14:55 +0100)]
Merge pull request #12739 from SUSE/wip-18323-jewel

jewel: JournalMetadata flooding with errors when being blacklisted

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12416 from SUSE/wip-18219-jewel
Nathan Cutler [Tue, 31 Jan 2017 13:54:19 +0000 (14:54 +0100)]
Merge pull request #12416 from SUSE/wip-18219-jewel

jewel: msg: don't truncate message sequence to 32-bits

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13115 from smithfarm/wip-18404-jewel
Nathan Cutler [Tue, 31 Jan 2017 13:52:00 +0000 (14:52 +0100)]
Merge pull request #13115 from smithfarm/wip-18404-jewel

jewel: mon: cache tiering: base pool last_force_resend not respected (racing read got wrong version)

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13045 from SUSE/wip-18553-jewel
Nathan Cutler [Tue, 31 Jan 2017 13:50:52 +0000 (14:50 +0100)]
Merge pull request #13045 from SUSE/wip-18553-jewel

jewel: mon: peon wrongly delete routed pg stats op before receive pg stats ack

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13117 from smithfarm/wip-18280-jewel
Nathan Cutler [Tue, 31 Jan 2017 13:49:56 +0000 (14:49 +0100)]
Merge pull request #13117 from smithfarm/wip-18280-jewel

jewel: mon: osd flag health message is misleading

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12320 from dachary/wip-18061-jewel
Matt Benjamin [Tue, 31 Jan 2017 13:34:22 +0000 (08:34 -0500)]
Merge pull request #12320 from dachary/wip-18061-jewel

jewel: rgw:fix for deleting objects name beginning and ending with underscores of one bucket using POST method of js sdk.

8 years agoMerge pull request #11759 from Abhishekvrshny/wip-17783-jewel
Matt Benjamin [Tue, 31 Jan 2017 13:31:34 +0000 (08:31 -0500)]
Merge pull request #11759 from Abhishekvrshny/wip-17783-jewel

jewel: rgw: json encode/decode of RGWBucketInfo missing index_type field

8 years agoMerge pull request #12153 from dachary/wip-18010-jewel
John Spray [Tue, 31 Jan 2017 13:10:46 +0000 (14:10 +0100)]
Merge pull request #12153 from dachary/wip-18010-jewel

jewel: Cleanly reject session evict command when in replay

8 years agoMerge pull request #12324 from dachary/wip-18103-jewel
John Spray [Tue, 31 Jan 2017 13:10:23 +0000 (14:10 +0100)]
Merge pull request #12324 from dachary/wip-18103-jewel

jewel: truncate can cause unflushed snapshot data lose

8 years agoMerge pull request #12783 from SUSE/wip-18413-jewel
John Spray [Tue, 31 Jan 2017 13:09:59 +0000 (14:09 +0100)]
Merge pull request #12783 from SUSE/wip-18413-jewel

jewel: cephfs: lookup of /.. in jewel returns -ENOENT

8 years agoMerge pull request #12921 from xiaoxichen/wip-18520-jewel
John Spray [Tue, 31 Jan 2017 13:08:56 +0000 (14:08 +0100)]
Merge pull request #12921 from xiaoxichen/wip-18520-jewel

Jewel: speed up readdir by skipping unwanted dn

8 years agoMerge pull request #13119 from smithfarm/wip-18565-jewel
John Spray [Tue, 31 Jan 2017 13:08:30 +0000 (14:08 +0100)]
Merge pull request #13119 from smithfarm/wip-18565-jewel

jewel: MDS crashes on missing metadata object

8 years agoMerge pull request #13120 from smithfarm/wip-18551-jewel
John Spray [Tue, 31 Jan 2017 13:08:20 +0000 (14:08 +0100)]
Merge pull request #13120 from smithfarm/wip-18551-jewel

jewel: ceph-fuse crash during snapshot tests

8 years agoMerge pull request #13123 from smithfarm/wip-18282-jewel
John Spray [Tue, 31 Jan 2017 13:08:01 +0000 (14:08 +0100)]
Merge pull request #13123 from smithfarm/wip-18282-jewel

jewel: monitor cannot start because of FAILED assert(info.state == MDSMap::STATE_STANDBY)

8 years agoMerge pull request #13125 from smithfarm/wip-18195-jewel
John Spray [Tue, 31 Jan 2017 13:07:52 +0000 (14:07 +0100)]
Merge pull request #13125 from smithfarm/wip-18195-jewel

jewel: cephfs: fix missing ll_get for ll_walk

8 years agoMerge pull request #13126 from smithfarm/wip-18192-jewel
John Spray [Tue, 31 Jan 2017 13:07:41 +0000 (14:07 +0100)]
Merge pull request #13126 from smithfarm/wip-18192-jewel

jewel: standby-replay daemons can sometimes miss events

8 years agotests: add require_jewel_osds before upgrading last hammer node 13161/head
Nathan Cutler [Fri, 27 Jan 2017 21:27:18 +0000 (22:27 +0100)]
tests: add require_jewel_osds before upgrading last hammer node

Note: this commit was inspired by
http://github.com/ceph/ceph-qa-suite/commit/50758a4810794d265c5d36a71d1e16799251a00d

As of 10.2.4, when upgrading a cluster from hammer to jewel, after the last
node is upgraded the MON will put the cluster into HEALTH_WARN and say: "all
OSDs are running jewel or later but the 'require_jewel_osds' osdmap flag is not
set". The release notes say:

    This is a signal for the admin to do "ceph osd set require_jewel_osds" – by
    doing this, the upgrade path is complete and no more pre-Jewel OSDs may be
    added to the cluster.

Fixes: http://tracker.ceph.com/issues/18719
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13049 from SUSE/wip-18433-jewel
Nathan Cutler [Tue, 31 Jan 2017 10:19:39 +0000 (11:19 +0100)]
Merge pull request #13049 from SUSE/wip-18433-jewel

jewel: rados bench seq must verify the hostname

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13040 from SUSE/wip-fs-thrash-jewel
Nathan Cutler [Tue, 31 Jan 2017 07:40:52 +0000 (08:40 +0100)]
Merge pull request #13040 from SUSE/wip-fs-thrash-jewel

jewel: tests: run fs/thrash on xfs instead of btrfs

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13029 from SUSE/wip-18611-jewel
Nathan Cutler [Tue, 31 Jan 2017 07:39:35 +0000 (08:39 +0100)]
Merge pull request #13029 from SUSE/wip-18611-jewel

jewel: cephfs: client segfault on ceph_rmdir path /

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12875 from asheplyakov/jewel-bp-18485
Nathan Cutler [Tue, 31 Jan 2017 07:34:46 +0000 (08:34 +0100)]
Merge pull request #12875 from asheplyakov/jewel-bp-18485

jewel: osd/PG: publish PG stats when backfill-related states change

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12789 from SUSE/wip-18417-jewel
Nathan Cutler [Tue, 31 Jan 2017 07:32:58 +0000 (08:32 +0100)]
Merge pull request #12789 from SUSE/wip-18417-jewel

jewel: osd: leveldb corruption leads to Operation not permitted not handled and assert

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12761 from SUSE/wip-18402-jewel
Nathan Cutler [Tue, 31 Jan 2017 07:28:22 +0000 (08:28 +0100)]
Merge pull request #12761 from SUSE/wip-18402-jewel

jewel: tests: objecter_requests workunit fails on wip branches

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11947 from SUSE/wip-17884-jewel
Nathan Cutler [Tue, 31 Jan 2017 07:10:20 +0000 (08:10 +0100)]
Merge pull request #11947 from SUSE/wip-17884-jewel

jewel: mon: OSDs marked OUT wrongly after monitor failover

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11508 from SUSE/wip-17583-jewel
Nathan Cutler [Tue, 31 Jan 2017 07:07:40 +0000 (08:07 +0100)]
Merge pull request #11508 from SUSE/wip-17583-jewel

jewel: utime.h: fix timezone issue in round_to_* funcs.

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoRevert "use the create option during instantiation" 13106/head
Vasu Kulkarni [Thu, 26 Jan 2017 21:21:30 +0000 (13:21 -0800)]
Revert "use the create option during instantiation"

jewel cephfs still uses old Filesystem initializtion method

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agouse dev option instead of dev-commit
Vasu Kulkarni [Thu, 15 Dec 2016 22:11:00 +0000 (14:11 -0800)]
use dev option instead of dev-commit

Fixes: http://tracker.ceph.com/issues/18736
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #13169 from linuxbox2/jewel-mg-errortrans
Matt Benjamin [Mon, 30 Jan 2017 18:25:23 +0000 (13:25 -0500)]
Merge pull request #13169 from linuxbox2/jewel-mg-errortrans

jewel:rgw: fix interface compliance of RGWCivetWeb::write_data()

8 years agolibrbd: ensure owner lock is held before purging cache 12890/head
Jason Dillaman [Mon, 30 Jan 2017 16:38:21 +0000 (11:38 -0500)]
librbd: ensure owner lock is held before purging cache

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrados: blacklist_add should wait for latest OSD map
Jason Dillaman [Fri, 6 Jan 2017 16:17:10 +0000 (11:17 -0500)]
librados: blacklist_add should wait for latest OSD map

This ensures that future operations against the OSDs force
a OSD map update to notice the blacklisted client.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 9242a2e4e1a5a9fcea48d8135b1589493fc28242)