Commit Graph

92716 Commits

Author SHA1 Message Date
Casey Bodley
a74f705336
Merge pull request #17789 from shashalu/fix-bucket-link-dm
rgw: fix version bucket stats

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-12-06 15:31:58 -05:00
Casey Bodley
d29b03dd11
Merge pull request #21622 from tianshan/misc_es_fix
rgw: some fix for es sync

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-12-06 15:31:18 -05:00
Casey Bodley
7f1aa6f754
Merge pull request #24162 from zhangsw/cleanup-rgw-acl_op
rgw: remove repetitive conditional statement in RGWHandler_REST_Obj_S3

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-12-06 15:30:26 -05:00
Casey Bodley
c189b0bafa
Merge pull request #24683 from linuxbox2/wip-v2-url-meta
rgw: handle S3 version 2 pre-signed urls with meta-data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-12-06 15:30:04 -05:00
Casey Bodley
eec7ad2dbb
Merge pull request #25142 from ivancich/wip-rgw-reshard-cleanup
rgw: reshard clean-up and associated commits

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-12-06 15:29:38 -05:00
Casey Bodley
8f254ca79f
Merge pull request #25406 from taoCH/wip-librgw-sync-user-regularly
rgw_file: user info never synced since librgw init

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-12-06 15:28:47 -05:00
Lenz Grimmer
3370095dda
Merge pull request #25423 from p-na/wip-pna-fix-pool-edit
mgr/dashboard: Fix renaming of pools

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2018-12-06 17:16:21 +01:00
Matt Benjamin
6fd2b15f4e
Merge pull request #25208 from cbodley/wip-rgw-getobj-throttle
rgw: adapt AioThrottle for RGWGetObj
yay!
2018-12-06 10:46:03 -05:00
Sage Weil
9ee3ce1ecd Merge PR #25345 into master
* refs/pull/25345/head:
	qa/suites: fix bluestore links
	qa/objectstore: bluestore -> bluestore-{bitmap,stupid}

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-12-06 08:42:04 -06:00
Sage Weil
96ca7ed859 Merge PR #25378 into master
* refs/pull/25378/head:
	mgr/hello: add serve() method

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2018-12-06 08:41:44 -06:00
Sage Weil
fb4bf34370 Merge PR #25382 into master
* refs/pull/25382/head:
	mon/OSDMonitor: include host, container info for 'osd find' command

Reviewed-by: Dan Mick <dmick@redhat.com>
2018-12-06 08:41:27 -06:00
Jason Dillaman
c0b8dab209
Merge pull request #25301 from wjwithagen/wjw-fix-dtor-pair
rbd: workaround for llvm linker problem, avoid std:pair dtor

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-12-06 08:27:33 -05:00
Jason Dillaman
634c659134
Merge pull request #25265 from trociny/wip-rbd-fuse-namespace
rbd-fuse: namespace support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-12-06 08:26:55 -05:00
Volker Theile
ec3cae8fed
Merge pull request #24968 from s0nea/wip-dashboard-osd-recv-speed-profiles
mgr/dashboard: add profiles to set cluster's rebuild performance

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
2018-12-06 13:00:30 +01:00
Patrick Nawracay
8a4936e934 mgr/dashboard: Fix renaming of pools
The validation fails to allow dots in pool names and as such, it wasn't
allowed to create or rename pools with dots in their names.

Fixes: https://tracker.ceph.com/issues/37534

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-12-06 12:59:20 +01:00
Kefu Chai
90ee8b8580
Merge pull request #25409 from tchaikov/wip-public-iterator-traits
buffer: mark the iterator traits "public"

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-12-06 13:49:17 +08:00
Jason Dillaman
6db4c152a6
Merge pull request #25266 from trociny/wip-24608
rbd-ggate: support namespaces

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-12-05 20:25:54 -05:00
Kefu Chai
5c708ece39 buffer: mark the iterator traits "public"
the iterator traits should be accessible from non-dervative classes.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-12-06 08:59:35 +08:00
Gregory Farnum
dca5001b4e
Merge pull request #25230 from runsisi/wip-cleanup-objecter
osdc/Objecter: no need null pointer check for op->session anymore

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-12-05 15:37:53 -08:00
Sage Weil
59d0844c12 Merge PR #23550 into master
* refs/pull/23550/head:
	auth: Kerberos authentication
2018-12-05 13:42:17 -06:00
Jason Dillaman
241896c660
Merge pull request #25166 from kungf/journal_remove_full
journal: allow remove set when jounal pool is full

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-12-05 13:25:31 -05:00
Jason Dillaman
493dc89d08
Merge pull request #25175 from trociny/wip-36710
librbd: restart io if migration parent gone

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-12-05 13:24:55 -05:00
Jason Dillaman
4bc7e0aa84
Merge pull request #25260 from trociny/wip-24609
rbd-nbd: support namespaces

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-12-05 13:24:36 -05:00
Jason Dillaman
74d939799c
Merge pull request #25371 from trociny/wip-osd-query-subkey-types
osd: support more dynamic perf query subkey types

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-12-05 13:24:23 -05:00
Jason Dillaman
bf5b75679e
Merge pull request #25151 from trociny/wip-osd-perf-query-limit
mgr: add limit param to osd perf query

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-12-05 13:24:10 -05:00
Jason Dillaman
2a64af8928
Merge pull request #25379 from tchaikov/wip-37508
librbd: reset snaps in rbd_snap_list()

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-12-05 13:23:33 -05:00
Sage Weil
269910fc8b qa/suites: fix bluestore links
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-05 10:30:14 -06:00
Kefu Chai
2919ada413
Merge pull request #24882 from rzarzynski/wip-bl-hypercombined
common: hypercombined bufferlist

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
2018-12-06 00:16:55 +08:00
Casey Bodley
c7bf1be10e rgw: store ref to librados::IoCtx in rgw::AioResult
the IoCtx has to outlive its aio completions

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-12-05 11:16:54 -05:00
Casey Bodley
7e6c232843 rgw: add const overload of RGWSI_RADOS::Obj::get_ref()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-12-05 11:16:54 -05:00
Casey Bodley
a4d3977cfa rgw: rgw_rados_ref contains rgw_raw_obj
rgw_rados_ref duplicated each of the fields from rgw_raw_obj

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-12-05 11:16:54 -05:00
Casey Bodley
046769848d rgw: use AioThrottle for Object::Read::iterate() ops
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-12-05 11:16:54 -05:00
Casey Bodley
693dfd6b9e rgw: clean up iterate_obj() callbacks
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-12-05 11:16:54 -05:00
Casey Bodley
f5a64fd9b4 rgw: add append_atomic_test() overload for RGWObjState
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-12-05 11:16:54 -05:00
Casey Bodley
e81cedcf73 rgw: add id to distinguish between Aio results
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-12-05 11:16:54 -05:00
Casey Bodley
81e79fe7a7 rgw: Aio reads return bufferlist in result
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-12-05 11:16:54 -05:00
Casey Bodley
85fb04416e rgw: move aio throttles to namespace rgw
they're useful outside of putobj

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-12-05 11:16:54 -05:00
Kefu Chai
8ffe31a6e2
Merge pull request #25365 from xiexingguo/wip-37493
osd/OSDMap: fix upmap mis-killing for erasure-coded PGs
2018-12-06 00:13:28 +08:00
Kefu Chai
d80000fcf0
Merge pull request #25262 from aclamk/wip-kvstore-tool-dump
ceph-kvstore-tool: dump fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2018-12-06 00:13:00 +08:00
Kefu Chai
52e4315c63
Merge pull request #25383 from dmick/wip-container-name
common/util.cc: add CONTAINER_NAME processing for metadata

Reviewed-by: Sage Weil <sage@redhat.com>
2018-12-06 00:02:49 +08:00
Kefu Chai
9a4d0ac754
Merge pull request #25400 from dillaman/wip-ceph-cli
ceph: do not raise StopIteration within generator

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-12-06 00:01:43 +08:00
Willem Jan Withagen
eabeaf5fbc rbd: workaround for llvm linker proplem, avoid std:pair dtor
When linking with llvm linker on FreeBSD:
```
/usr/bin/ld.lld: error: undefined symbol: std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool>::~pair()
>>> referenced by Image.cc:349 (/home/jenkins/workspace/ceph-master/src/librbd/api/Image.cc:349)
>>>               Image.cc.o:(librbd::api::Image<librbd::ImageCtx>::list_children(librbd::ImageCtx*, cls::rbd::ParentImageSpec const&, std::__1::vector<librbd::linked_image_spec_t, std::__1::allocator<librbd::linked_image_spec_t> >*)) in archive ../../../lib/librbd_internal.a
```

Which is probably because the compiler calls a dtor on the just created pair.
But the FreeBSD linker does not find a dtor in the any of the libraries.
This rewrite build and links without the linker error.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-12-05 15:35:37 +01:00
Tatjana Dehler
984164d37a mgr/dashboard: show config option description via cd-helper
Fixes: https://tracker.ceph.com/issues/37406
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-12-05 14:20:36 +01:00
Tatjana Dehler
c7b82c3999 mgr/dashboard: add OSD recovery speed form
Add a form to set the OSD recovery speed. There are three predefined
priorities available: 'Low', 'Default' and 'High'.
By setting the priority the config options 'osd_max_backfills',
'osd_recovery_max_active', 'osd_recovery_max_single_start',
'osd_recovery_sleep' will be updated with predefined values.
It's also possible to set custom values.

Fixes: https://tracker.ceph.com/issues/35540
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-12-05 14:20:33 +01:00
Kefu Chai
6f447d0662
Merge pull request #25392 from majianpeng/async-rdma
msg/async/rdma: Delete duplicate header file

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-12-05 18:47:53 +08:00
taoCH
e611be8dac rgw_file: user info never synced since librgw init
Fixed: https://tracker.ceph.com/issues/37527

Signed-off-by: Tao Chen <chentao@umcloud.com>
2018-12-05 18:20:20 +08:00
Sage Weil
f390704b46 qa/objectstore: bluestore -> bluestore-{bitmap,stupid}
The new default is bitmap, so we were testing bitmap twice.  Instead,
explicitly call out stupid and bitmap cases so a future default change
won't break coverage.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-04 14:05:49 -06:00
Jason Dillaman
4fbb67203a ceph: do not raise StopIteration within generator
This is implicit when a generator exits and under Python 3
it results in a "StopIteration" exception being raised when
"ceph --help" is run.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-12-04 15:00:38 -05:00
Sage Weil
948efa96bb Merge PR #24129 into master
* refs/pull/24129/head:
	common: drop ::length() from other implementations of the OpQueue.
	common, osd: kill OpQueue::length() to minimize inter-core traffic.

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2018-12-04 14:00:06 -06:00
Sage Weil
c5b5847ad3 Merge PR #25388 into master
* refs/pull/25388/head:
	mon/OSDMonitor: do not no_reply on ready_to_merge message

Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-12-04 13:59:01 -06:00