]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agodoc/dev/osd_internals/async_recovery: update cost calculation 28036/head
Neha Ojha [Thu, 9 May 2019 03:19:32 +0000 (20:19 -0700)]
doc/dev/osd_internals/async_recovery: update cost calculation

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #27843 into master
Sage Weil [Wed, 8 May 2019 17:09:47 +0000 (12:09 -0500)]
Merge PR #27843 into master

* refs/pull/27843/head:
os/bluestore: fix missing discard in BlueStore::_kv_sync_thread

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge PR #27716 into master
Patrick Donnelly [Wed, 8 May 2019 16:04:34 +0000 (09:04 -0700)]
Merge PR #27716 into master

* refs/pull/27716/head:
cephfs-shell: fix string decoding for ls command

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #28013 from cbodley/wip-39611
Casey Bodley [Wed, 8 May 2019 15:39:20 +0000 (11:39 -0400)]
Merge pull request #28013 from cbodley/wip-39611

rgw: use explicit to_string() overload for boost::string_ref

Reviewed-by: Nathan Cutler <nculter@suse.com>
6 years agomgr/dashboard: fix help message for minimum blob size in pool form (#28017)
Lenz Grimmer [Wed, 8 May 2019 13:43:39 +0000 (15:43 +0200)]
mgr/dashboard: fix help message for minimum blob size in pool form (#28017)

mgr/dashboard: fix help message for minimum blob size in pool form

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #27813 from ricardoasmarques/do-not-log-iscsi-get-requests
Lenz Grimmer [Wed, 8 May 2019 11:45:08 +0000 (13:45 +0200)]
Merge pull request #27813 from ricardoasmarques/do-not-log-iscsi-get-requests

mgr/dashboard: iSCSI GET requests should not be logged

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #27946 from ricardoasmarques/iscsi-form-ipv6
Lenz Grimmer [Wed, 8 May 2019 11:32:39 +0000 (13:32 +0200)]
Merge pull request #27946 from ricardoasmarques/iscsi-form-ipv6

mgr/dashboard: Fix iSCSI form when using IPv6

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
6 years agomgr/dashboard: iSCSI GET requests should not be logged 27813/head
Ricardo Marques [Fri, 26 Apr 2019 10:13:20 +0000 (11:13 +0100)]
mgr/dashboard: iSCSI GET requests should not be logged

Fixes: https://tracker.ceph.com/issues/39492
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #27873 from rzarzynski/wip-crimson-writes
Kefu Chai [Wed, 8 May 2019 07:59:26 +0000 (15:59 +0800)]
Merge pull request #27873 from rzarzynski/wip-crimson-writes

crimson: add support for basic write path

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/thread: include reactor.hh to avoid linking error. 27873/head
Radoslaw Zarzynski [Tue, 7 May 2019 14:03:37 +0000 (16:03 +0200)]
crimson/thread: include reactor.hh to avoid linking error.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson: add support for basic write path, part 2.
Radoslaw Zarzynski [Mon, 29 Apr 2019 18:59:57 +0000 (20:59 +0200)]
crimson: add support for basic write path, part 2.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson: make ObjectState mutable. Evict mutated state on error.
Radoslaw Zarzynski [Mon, 29 Apr 2019 18:57:24 +0000 (20:57 +0200)]
crimson: make ObjectState mutable. Evict mutated state on error.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson/os: implement bits needed for basic write path.
Radoslaw Zarzynski [Mon, 29 Apr 2019 18:49:23 +0000 (20:49 +0200)]
crimson/os: implement bits needed for basic write path.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #27413 from liu-chunmei/ceph_seastar_io_read
Kefu Chai [Wed, 8 May 2019 04:19:15 +0000 (12:19 +0800)]
Merge pull request #27413 from liu-chunmei/ceph_seastar_io_read

crimson/osd: support write pid_file when osd start

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: fix help message for minimum blob size in pool form 28017/head
Kiefer Chang [Wed, 8 May 2019 04:15:43 +0000 (12:15 +0800)]
mgr/dashboard: fix help message for minimum blob size in pool form

A value less than maximum blob size is required.

Fixes: http://tracker.ceph.com/issues/39624
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
6 years agoMerge pull request #27665 from badone/wip-improve-dump_pgstate_history-json
Brad Hubbard [Wed, 8 May 2019 01:59:37 +0000 (11:59 +1000)]
Merge pull request #27665 from badone/wip-improve-dump_pgstate_history-json

osd: Improve dump_pgstate_history json output

Reviewed-by: Samuel Just <sjust@redhat.com>
6 years agoMerge pull request #28015 from tchaikov/wip-install-deps.sh
Kefu Chai [Wed, 8 May 2019 01:41:20 +0000 (09:41 +0800)]
Merge pull request #28015 from tchaikov/wip-install-deps.sh

install-deps.sh: install libboost-test for seastar

Reviewed-by: Samuel Just <sjust@redhat.com>
6 years agoos/bluestore: fix missing discard in BlueStore::_kv_sync_thread 27843/head
Tang Junhui [Mon, 29 Apr 2019 08:31:55 +0000 (16:31 +0800)]
os/bluestore: fix missing discard in BlueStore::_kv_sync_thread

Discard comand should be issued before space released.

Signed-off-by: Junhui Tang <tangjunhui@sangfor.com.cn>
Fixes: https://tracker.ceph.com/issues/39621
6 years agoinstall-deps.sh: install libboost-test for seastar 28015/head
Kefu Chai [Wed, 8 May 2019 00:21:48 +0000 (08:21 +0800)]
install-deps.sh: install libboost-test for seastar

see
https://github.com/scylladb/seastar/blob/5858fe30c16a1a059200c129d20180ceb0199d99/cmake/SeastarDependencies.cmake#L58-L68

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/osd: support write pid_file when osd start 27413/head
chunmei Liu [Tue, 7 May 2019 20:56:35 +0000 (13:56 -0700)]
crimson/osd: support write pid_file when osd start

Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
6 years agoMerge pull request #27979 from yuriw/wip-yuriw-crontab-master
Yuri Weinstein [Tue, 7 May 2019 19:43:11 +0000 (12:43 -0700)]
Merge pull request #27979 from yuriw/wip-yuriw-crontab-master

qa/test: reduce over all number of runs

6 years agoMerge pull request #27941 from dzafman/wip-39011
Josh Durgin [Tue, 7 May 2019 19:34:18 +0000 (12:34 -0700)]
Merge pull request #27941 from dzafman/wip-39011

doc: Describe recovery and backfill prioritizations

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agorgw: use explicit to_string() overload for boost::string_ref 28013/head
Casey Bodley [Tue, 7 May 2019 18:08:25 +0000 (14:08 -0400)]
rgw: use explicit to_string() overload for boost::string_ref

Fixes: http://tracker.ceph.com/issues/39611
Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27981 from dillaman/wip-39598
Mykola Golub [Tue, 7 May 2019 17:58:01 +0000 (20:58 +0300)]
Merge pull request #27981 from dillaman/wip-39598

qa/workunits/rbd: wait for rbd-nbd unmap to complete

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge PR #27911 into master
Sage Weil [Tue, 7 May 2019 17:48:33 +0000 (12:48 -0500)]
Merge PR #27911 into master

* refs/pull/27911/head:
os/bluestore: dump onode meta before "no spanning blob" assertion.
os/bluestore: move _dump_xxx methods out of BlueStore class

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27929 into master
Sage Weil [Tue, 7 May 2019 17:48:16 +0000 (12:48 -0500)]
Merge PR #27929 into master

* refs/pull/27929/head:
os/bluestore: be verbose about objects that existing on rmcoll
osd/PrimaryLogPG: disallow ops on objects with an empty name
osd/PG: fix cleanup of pgmeta-like objects on PG deletion

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #26488 from mogeb/per-pool-scrub-status
Joao Eduardo Luis [Tue, 7 May 2019 16:50:52 +0000 (17:50 +0100)]
Merge pull request #26488 from mogeb/per-pool-scrub-status

mon: show no[deep-]scrub flags per pool in the status

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
6 years agoqa/test: reduce over all number of runs 27979/head
Yuri Weinstein [Mon, 6 May 2019 15:55:27 +0000 (08:55 -0700)]
qa/test: reduce over all number of runs

We kill thousands of queued jobs every week, so why do we even schedule them ?
Another point was that we run numerous of tests as part of PRs testing on released versions anyway, so it's duplicating effort

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agomgr/dashboard: All RBD features are supported by 'tcmu:runner' (#28000)
Lenz Grimmer [Tue, 7 May 2019 16:04:37 +0000 (18:04 +0200)]
mgr/dashboard: All RBD features are supported by 'tcmu:runner' (#28000)

mgr/dashboard: All RBD features are supported by 'tcmu:runner'

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #27830 from dzafman/wip-38124
David Zafman [Tue, 7 May 2019 15:47:26 +0000 (08:47 -0700)]
Merge pull request #27830 from dzafman/wip-38124

osd: Don't include user changeable flag in snaptrim related assert

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #27841 from richael02/multiNVMESSD
Kefu Chai [Tue, 7 May 2019 15:44:04 +0000 (23:44 +0800)]
Merge pull request #27841 from richael02/multiNVMESSD

vstart.sh: enable creating multiple OSDs backed by spdk backend

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #28008 from tchaikov/wip-seastar
Kefu Chai [Tue, 7 May 2019 15:34:31 +0000 (23:34 +0800)]
Merge pull request #28008 from tchaikov/wip-seastar

seastar: pick up changes for better performance

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocmake: do not build unit test of seastar 28008/head
Kefu Chai [Tue, 7 May 2019 15:05:20 +0000 (23:05 +0800)]
cmake: do not build unit test of seastar

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoseastar: pick up changes for better performance
Kefu Chai [Tue, 7 May 2019 12:57:17 +0000 (20:57 +0800)]
seastar: pick up changes for better performance

to be specific, a78fb44c96e2912c6f39b2151f94a0bb2b5796a6 helps to
improve the performance of future implementation -- with this change
future can always reference its local state without checking its `_promise`
and dereferencing it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard/qa: Fix a few linting issues in dashboard backend tests (#27865)
Lenz Grimmer [Tue, 7 May 2019 13:01:04 +0000 (15:01 +0200)]
mgr/dashboard/qa: Fix a few linting issues in dashboard backend tests (#27865)

mgr/dashboard/qa: Fix a few linting issues in dashboard backend tests

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #27947 from smithfarm/wip-39579
Nathan Cutler [Tue, 7 May 2019 12:02:28 +0000 (14:02 +0200)]
Merge pull request #27947 from smithfarm/wip-39579

pybind/tox: pass additional command line arguments through to tox

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: All RBD features are supported by 'tcmu:runner' 28000/head
Ricardo Marques [Tue, 7 May 2019 11:28:19 +0000 (12:28 +0100)]
mgr/dashboard: All RBD features are supported by 'tcmu:runner'

Fixes: https://tracker.ceph.com/issues/39607
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #27969 from yuvalif/wip-yuval-add-tenant-to-user
Yuval Lifshitz [Tue, 7 May 2019 11:05:46 +0000 (14:05 +0300)]
Merge pull request #27969 from yuvalif/wip-yuval-add-tenant-to-user

rgw: add tenant as parameter to User in multisite tests

6 years agoMerge pull request #27987 from tchaikov/wip-crimson-osd-shutdown
Kefu Chai [Tue, 7 May 2019 10:42:44 +0000 (18:42 +0800)]
Merge pull request #27987 from tchaikov/wip-crimson-osd-shutdown

crimson/osd: shutdown services in the right order

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson: object state can be manually evicted from OSD's cache.
Radoslaw Zarzynski [Mon, 29 Apr 2019 13:19:43 +0000 (15:19 +0200)]
crimson: object state can be manually evicted from OSD's cache.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson: retrieve object state once per MOSDOp.
Radoslaw Zarzynski [Mon, 29 Apr 2019 12:48:27 +0000 (14:48 +0200)]
crimson: retrieve object state once per MOSDOp.

Justification behind the change is behaviour of classical OSD.
It calls PrimaryLogPG::find_object_context() far before going
through OSDOps in ::do_osd_ops().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson: add support for basic write path, part 1.
Radoslaw Zarzynski [Fri, 26 Apr 2019 16:43:05 +0000 (18:43 +0200)]
crimson: add support for basic write path, part 1.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson/os: add inclusion guard in Transaction.h
Radoslaw Zarzynski [Fri, 26 Apr 2019 15:15:07 +0000 (17:15 +0200)]
crimson/os: add inclusion guard in Transaction.h

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson: PG caches ObjectState instead of object_info_t.
Radoslaw Zarzynski [Fri, 26 Apr 2019 14:07:11 +0000 (16:07 +0200)]
crimson: PG caches ObjectState instead of object_info_t.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson: PG::do_osd_op() takes OSDOp by reference, not pointer.
Radoslaw Zarzynski [Fri, 26 Apr 2019 13:33:05 +0000 (15:33 +0200)]
crimson: PG::do_osd_op() takes OSDOp by reference, not pointer.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson: PG::do_osd_op throws about unsupported op.
Radoslaw Zarzynski [Thu, 25 Apr 2019 18:24:21 +0000 (20:24 +0200)]
crimson: PG::do_osd_op throws about unsupported op.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson: handle hot CaynStore exceptions without throwing.
Radoslaw Zarzynski [Thu, 25 Apr 2019 14:39:56 +0000 (16:39 +0200)]
crimson: handle hot CaynStore exceptions without throwing.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #27931 from yuvalif/pubsub_info_update_fix
Yuval Lifshitz [Tue, 7 May 2019 09:18:53 +0000 (12:18 +0300)]
Merge pull request #27931 from yuvalif/pubsub_info_update_fix

rgw/pubsub: fix doc on updates. fix multi-notifications

6 years agorgw: add tenant as parameter to User in multisite tests 27969/head
Yuval Lifshitz [Sun, 5 May 2019 17:54:31 +0000 (20:54 +0300)]
rgw: add tenant as parameter to User in multisite tests

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
6 years agomgr/dashboard: Fix iSCSI form when using IPv6 27946/head
Ricardo Marques [Fri, 3 May 2019 10:23:12 +0000 (11:23 +0100)]
mgr/dashboard: Fix iSCSI form when using IPv6

Fixes: https://tracker.ceph.com/issues/39578
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agocrimson/osd: shutdown services in the right order 27987/head
Kefu Chai [Tue, 7 May 2019 07:06:42 +0000 (15:06 +0800)]
crimson/osd: shutdown services in the right order

we should stop config service *after* osd is stopped, as osd depends on
a working and alive config subsystem when stopping itself. for instance,
the destructor of AuthRegistry unregisters itself from the ObserverMgr,
which is in turn a member variable of ConfigProxy, so if ConfigProxy is
destroyed before we destroy mon::Client, we will have a segfault with
following backtrace

ObserverMgr<ceph::md_config_obs_impl<ceph::common::ConfigProxy>
>::remove_observer(ceph::md_config_obs_impl<ceph::common::ConfigProxy>*)
at /var/ssd/ceph/build/../src/common/config_obs_mgr.h:78
AuthRegistry::~AuthRegistry() at
/var/ssd/ceph/build/../src/crimson/common/config_proxy.h:101
 (inlined by) AuthRegistry::~AuthRegistry() at
/var/ssd/ceph/build/../src/auth/AuthRegistry.cc:28
ceph::mon::Client::~Client() at
/var/ssd/ceph/build/../src/crimson/mon/MonClient.h:44
ceph::mon::Client::~Client() at
/var/ssd/ceph/build/../src/crimson/mon/MonClient.h:44
OSD::~OSD() at /usr/include/c++/9/bits/unique_ptr.h:81

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoosd: Improve dump_pgstate_history json output 27665/head
Brad Hubbard [Wed, 17 Apr 2019 05:31:30 +0000 (15:31 +1000)]
osd: Improve dump_pgstate_history json output

Fixes: http://tracker.ceph.com/issues/38846
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoMerge pull request #27975 from tchaikov/wip-pidfile_write
Kefu Chai [Tue, 7 May 2019 03:19:13 +0000 (11:19 +0800)]
Merge pull request #27975 from tchaikov/wip-pidfile_write

global/pidfile: pass string_view instead of ConfigProxy to pidfile_wr…

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #27932 into master
Sage Weil [Tue, 7 May 2019 02:40:11 +0000 (21:40 -0500)]
Merge PR #27932 into master

* refs/pull/27932/head:
osd: clean up osdmap sharing
osd: minor cleanup in dequeue_op

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agovstart.sh: enable creating multiple OSDs backed by spdk backend 27841/head
Richael Zhuang [Mon, 29 Apr 2019 06:48:44 +0000 (14:48 +0800)]
vstart.sh: enable creating multiple OSDs backed by spdk backend

Currently vstart.sh only support deploying one OSD based on NVMe SSD.
The following two cases will cause errors:
1.There are 2 more NVMe SSDs from the same vendor on the machine
2.Trying to deploy 2 more OSDs if we only get 1 pci_id available

Add the support for allowing deploying multiple OSDs on a machine with
multiple NVME SSDs.

Change-Id: I6016435c1438bb4d16aff31f4575e03ccd3c9b3d

Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
6 years agoMerge pull request #26152 from noonedeadpunk/mgr/zabbix_discovery
Gregory Farnum [Mon, 6 May 2019 20:15:54 +0000 (13:15 -0700)]
Merge pull request #26152 from noonedeadpunk/mgr/zabbix_discovery

mgr/zabbix Added pools discovery and per-pool statistics

Reviewed-by: Wido den Hollander <wido@42on.com>
6 years agorgw/pubsub: revert the RGWSysObjectCtx change 27931/head
Yuval Lifshitz [Mon, 6 May 2019 20:08:48 +0000 (23:08 +0300)]
rgw/pubsub: revert the RGWSysObjectCtx change

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
6 years agoqa/workunits/rbd: wait for rbd-nbd unmap to complete 27981/head
Jason Dillaman [Mon, 6 May 2019 19:16:03 +0000 (15:16 -0400)]
qa/workunits/rbd: wait for rbd-nbd unmap to complete

The "unmap" request is asynchronous, so wait for a short amount
of time for the "rbd-nbd" daemon process to exit.

Fixes: http://tracker.ceph.com/issues/39598
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoApply suggestions from code review 26152/head
Sebastian Wagner [Mon, 6 May 2019 17:19:01 +0000 (20:19 +0300)]
Apply suggestions from code review

Signed-off-by: Dmitriy Rabotjagov <noonedeadpunk@ya.ru>
6 years agoMerge pull request #27967 from liewegas/wip-fix-rgw-bias
Casey Bodley [Mon, 6 May 2019 17:05:54 +0000 (13:05 -0400)]
Merge pull request #27967 from liewegas/wip-fix-rgw-bias

rgw/rgw_tools: fix 'osd pool set' json syntax

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agomgr/dashboard: Allow the decrease of pg's of an existing pool (#27785)
Lenz Grimmer [Mon, 6 May 2019 15:38:34 +0000 (17:38 +0200)]
mgr/dashboard: Allow the decrease of pg's of an existing pool (#27785)

mgr/dashboard: Allow the decrease of pg's of an existing pool

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #27977 from cbodley/wip-39597
Casey Bodley [Mon, 6 May 2019 14:50:07 +0000 (10:50 -0400)]
Merge pull request #27977 from cbodley/wip-39597

doc/rgw: document CreateBucketConfiguration for s3 PUT Bucket api

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
6 years agoMerge pull request #27968 from iotcg/master
Kefu Chai [Mon, 6 May 2019 13:39:16 +0000 (21:39 +0800)]
Merge pull request #27968 from iotcg/master

vstart.sh: correct ceph-run path

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc/rgw: document CreateBucketConfiguration for s3 PUT Bucket api 27977/head
Casey Bodley [Mon, 6 May 2019 13:33:05 +0000 (09:33 -0400)]
doc/rgw: document CreateBucketConfiguration for s3 PUT Bucket api

Fixes: http://tracker.ceph.com/issues/39597
Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoglobal/pidfile: pass string_view instead of ConfigProxy to pidfile_write() 27975/head
Kefu Chai [Mon, 6 May 2019 13:04:25 +0000 (21:04 +0800)]
global/pidfile: pass string_view instead of ConfigProxy to pidfile_write()

there is no need to pass ConfigProxy to this function. and passing a
string_view also make it easier to reuse this function.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27970 from Liuchang0812/duplicate-tags-bl
Casey Bodley [Mon, 6 May 2019 12:43:46 +0000 (08:43 -0400)]
Merge pull request #27970 from Liuchang0812/duplicate-tags-bl

rgw: eliminates duplicated tags_bl var

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agopybind/tox: pass additional command line arguments through to tox 27947/head
Nathan Cutler [Fri, 3 May 2019 10:58:59 +0000 (12:58 +0200)]
pybind/tox: pass additional command line arguments through to tox

Fixes: 9426f1f2045d0ae0f319530c3dc3a9240d838d07
Fixes: https://tracker.ceph.com/issues/39579
Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agodoc: fix small typo in dashboard documentation (#27850)
Lenz Grimmer [Mon, 6 May 2019 08:22:39 +0000 (10:22 +0200)]
doc: fix small typo in dashboard documentation (#27850)

doc: fix small typo in dashboard documentation

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agovstart.sh: correct ceph-run path 27968/head
Changcheng Liu [Mon, 6 May 2019 02:29:11 +0000 (10:29 +0800)]
vstart.sh: correct ceph-run path

ceph-run is in the same directory as vstart.sh. It's often that
vstart.sh is run under build directory. Without giving the right
directory, ceph-run file can't be found.

Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
6 years agorgw: eliminates duplicated tags_bl var 27970/head
Chang Liu [Mon, 6 May 2019 07:05:50 +0000 (15:05 +0800)]
rgw: eliminates duplicated tags_bl var

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
6 years agoMerge pull request #27538 from iotcg/radosgw
Kefu Chai [Mon, 6 May 2019 05:29:46 +0000 (13:29 +0800)]
Merge pull request #27538 from iotcg/radosgw

init-radosgw: use ceph-conf to get cluster configuration value

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoos/bluestore: be verbose about objects that existing on rmcoll 27929/head
Sage Weil [Thu, 2 May 2019 16:39:31 +0000 (11:39 -0500)]
os/bluestore: be verbose about objects that existing on rmcoll

This is always a bug (OSD doesn't try to remove a collection unless it
thinks it is empty), and not seeing it at default debug levels makes it
hard to track down.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/PrimaryLogPG: disallow ops on objects with an empty name
Sage Weil [Thu, 2 May 2019 16:30:09 +0000 (11:30 -0500)]
osd/PrimaryLogPG: disallow ops on objects with an empty name

These may conflict with pgmeta objects.  And are going to cause other
problems later (e.g., https://tracker.ceph.com/issues/38724).

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/PG: fix cleanup of pgmeta-like objects on PG deletion
Sage Weil [Thu, 2 May 2019 16:28:14 +0000 (11:28 -0500)]
osd/PG: fix cleanup of pgmeta-like objects on PG deletion

If an object has an empty 'name' field, it "looks" like a pgmeta object,
and the PG cleanup code was skipping it.  However, we were letting these
objects get created.

Fix by only skipping *our* pgmeta object.  If there are other pgmeta-like
objects in the PG collection, clean them up.

Fixes: https://tracker.ceph.com/issues/38724
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorgw/rgw_tools: fix 'osd pool set' json syntax 27967/head
Sage Weil [Mon, 6 May 2019 01:29:17 +0000 (20:29 -0500)]
rgw/rgw_tools: fix 'osd pool set' json syntax

Fixes af30e3a512dd1e5c51639d1f823b99ed9b43fb50

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorgw/pubsub: cleanup tests for multiple notifications
Yuval Lifshitz [Sun, 5 May 2019 08:31:20 +0000 (11:31 +0300)]
rgw/pubsub: cleanup tests for multiple notifications

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
6 years agorgw: RGWUserPubSub::write invalidates its obj_ctx
Casey Bodley [Thu, 2 May 2019 23:05:35 +0000 (19:05 -0400)]
rgw: RGWUserPubSub::write invalidates its obj_ctx

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27885 from b-ranto/wip-restful-perf-counters
Kefu Chai [Sat, 4 May 2019 05:28:13 +0000 (13:28 +0800)]
Merge pull request #27885 from b-ranto/wip-restful-perf-counters

restful: Expose perf counters

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27891 from tchaikov/wip-mgr-pgp-num-change-throttling
Kefu Chai [Sat, 4 May 2019 05:26:39 +0000 (13:26 +0800)]
Merge pull request #27891 from tchaikov/wip-mgr-pgp-num-change-throttling

mgr/DaemonServer: refactor pgp_num changes throttling

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #27960 from yuriw/wip-yuriw-crontab-master
Yuri Weinstein [Fri, 3 May 2019 20:36:56 +0000 (13:36 -0700)]
Merge pull request #27960 from yuriw/wip-yuriw-crontab-master

qa/tests: removed all runs on ovh

6 years agoMerge pull request #27896 from ivancich/wip-add-rgw-period-comments
J. Eric Ivancich [Fri, 3 May 2019 20:12:48 +0000 (16:12 -0400)]
Merge pull request #27896 from ivancich/wip-add-rgw-period-comments

rgw: add some comments to rgw code to help explain functionality

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27956 from yuriw/wip-yuriw-smoke-master
Yuri Weinstein [Fri, 3 May 2019 20:06:11 +0000 (13:06 -0700)]
Merge pull request #27956 from yuriw/wip-yuriw-smoke-master

qa/tests - cleaned up distro settings

6 years agoqa/tests: removed all runs on ovh 27960/head
Yuri Weinstein [Fri, 3 May 2019 19:39:21 +0000 (12:39 -0700)]
qa/tests: removed all runs on ovh

and consolidated `smoke` runs re: https://github.com/ceph/ceph/pull/27956

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agorgw: add some comments to rgw code to help explain functionality 27896/head
J. Eric Ivancich [Tue, 30 Apr 2019 18:01:19 +0000 (14:01 -0400)]
rgw: add some comments to rgw code to help explain functionality

Comments to explain the role of RGWPeriod and the use of prefixes in
gc log entries are added. Some other comments are reformatted for 80
columns.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoMerge pull request #27838 from yuvalif/wip-yuval-pubsub_teuthology-new
Casey Bodley [Fri, 3 May 2019 18:49:25 +0000 (14:49 -0400)]
Merge pull request #27838 from yuvalif/wip-yuval-pubsub_teuthology-new

rgw/pubsub: add multisite pubsub tests to teuthology

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoqa/tests - cleaned up distro settings 27956/head
Yuri Weinstein [Fri, 3 May 2019 15:21:42 +0000 (08:21 -0700)]
qa/tests - cleaned up distro settings

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #27448 from ricardoasmarques/upgrade-ceph-iscsi-version
Lenz Grimmer [Fri, 3 May 2019 11:10:23 +0000 (13:10 +0200)]
Merge pull request #27448 from ricardoasmarques/upgrade-ceph-iscsi-version

mgr/dashboard: Support ceph-iscsi config v9

Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #27887 from smithfarm/wip-bci-len255plus
Nathan Cutler [Fri, 3 May 2019 11:06:08 +0000 (13:06 +0200)]
Merge pull request #27887 from smithfarm/wip-bci-len255plus

script/backport-create-issue: handle long Redmine issue names

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge pull request #27895 from dillaman/wip-librbd-zero-copy
Mykola Golub [Fri, 3 May 2019 07:19:06 +0000 (10:19 +0300)]
Merge pull request #27895 from dillaman/wip-librbd-zero-copy

librbd: support zero-copy writes via the C API

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #16929 from amitkumar50/cov-rgw-1
Kefu Chai [Fri, 3 May 2019 05:25:42 +0000 (13:25 +0800)]
Merge pull request #16929 from amitkumar50/cov-rgw-1

rgw: Initialize member variables in rgw_sync.h, rgw_rados.h

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agodoc: Describe recovery and backfill prioritizations 27941/head
David Zafman [Fri, 3 May 2019 04:57:51 +0000 (21:57 -0700)]
doc: Describe recovery and backfill prioritizations

Fixes: http://tracker.ceph.com/issues/39011
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoMerge pull request #27927 from tchaikov/wip-util.collect_sys_info-is-optional
Kefu Chai [Fri, 3 May 2019 02:34:49 +0000 (10:34 +0800)]
Merge pull request #27927 from tchaikov/wip-util.collect_sys_info-is-optional

test/common/test_util: skip it if /etc/os-release does not exist

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoosd: clean up osdmap sharing 27932/head
Sage Weil [Thu, 2 May 2019 19:34:53 +0000 (14:34 -0500)]
osd: clean up osdmap sharing

- always use the Session::last_sent_epoch value, both for clients and osds
- get rid of the stl map<> of peer epochs
- consolidate all map sharing into a single maybe_share_map()
- optionally take a lower bound on the peer's epoch, for use when it is
  available (e.g., when we are handling a message that specifies what
  epoch the peer had when it sent the message)
- use const OSDMapRef& where possible
- drop osd->is_active() check, since we no longer have any dependency on
  OSD[Service] state beyond our osdmap

The old callchain was convoluted, partly because it was needlessly
separated into several layers of helpers, and partly because the tracking
for clients and peer OSDs was totally different.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd: minor cleanup in dequeue_op
Sage Weil [Thu, 2 May 2019 19:32:09 +0000 (14:32 -0500)]
osd: minor cleanup in dequeue_op

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #27897 from ivancich/wip-add-editor-comments-rgw-services
Casey Bodley [Thu, 2 May 2019 18:23:33 +0000 (14:23 -0400)]
Merge pull request #27897 from ivancich/wip-add-editor-comments-rgw-services

rgw: add editor directive comments to rgw services source files

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27820 from smithfarm/wip-39361
Abhishek L [Thu, 2 May 2019 17:52:57 +0000 (19:52 +0200)]
Merge pull request #27820 from smithfarm/wip-39361

rgw: drop cloud sync module logs attrs from the log

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
6 years agotest: do not conditionize on GTEST_HAS_PARAM_TEST 27927/head
Kefu Chai [Thu, 2 May 2019 17:29:55 +0000 (01:29 +0800)]
test: do not conditionize on GTEST_HAS_PARAM_TEST

value-parameterized is supported on all platforms, so drop this check

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agotest: s/INSTANTIATE_TEST_CASE_P/INSTANTIATE_TEST_SUITE_P/
Kefu Chai [Thu, 2 May 2019 17:29:21 +0000 (01:29 +0800)]
test: s/INSTANTIATE_TEST_CASE_P/INSTANTIATE_TEST_SUITE_P/

the former is deprecated

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agorgw/pubsub: fix doc on updates. attempt to fix multi-notifications
Yuval Lifshitz [Thu, 2 May 2019 17:33:34 +0000 (20:33 +0300)]
rgw/pubsub: fix doc on updates. attempt to fix multi-notifications

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
6 years agoqa/valgrind.supp: added false-positive in boost::queue::lockfree 27895/head
Jason Dillaman [Thu, 2 May 2019 14:17:51 +0000 (10:17 -0400)]
qa/valgrind.supp: added false-positive in boost::queue::lockfree

Signed-off-by: Jason Dillaman <dillaman@redhat.com>