]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agorgw: pubsub: send missing http headers in certain rest requests
Yehuda Sadeh [Tue, 23 Oct 2018 20:32:20 +0000 (13:32 -0700)]
rgw: pubsub: send missing http headers in certain rest requests

PUT and DELETE requests still need to make sure http status code
is returned.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: dump topics as array
Yehuda Sadeh [Fri, 19 Oct 2018 22:23:57 +0000 (15:23 -0700)]
rgw: pubsub: dump topics as array

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: some added logging
Yehuda Sadeh [Fri, 19 Oct 2018 22:18:12 +0000 (15:18 -0700)]
rgw: some added logging

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: api adjustment following rebase
Yehuda Sadeh [Fri, 19 Oct 2018 00:18:37 +0000 (17:18 -0700)]
rgw: api adjustment following rebase

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: don't use self_ref
Yehuda Sadeh [Mon, 24 Sep 2018 23:54:33 +0000 (16:54 -0700)]
rgw: don't use self_ref

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: list events returns empty list if bucket doesn't exist
Yehuda Sadeh [Mon, 24 Sep 2018 23:53:37 +0000 (16:53 -0700)]
rgw: pubsub: list events returns empty list if bucket doesn't exist

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agocommon: add missing get_str_set() implementation
Yehuda Sadeh [Mon, 24 Sep 2018 23:53:03 +0000 (16:53 -0700)]
common: add missing get_str_set() implementation

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: api adjustments following rebase
Yehuda Sadeh [Mon, 6 Aug 2018 19:15:25 +0000 (12:15 -0700)]
rgw: api adjustments following rebase

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agodocs/rgw: document pubsub
Yehuda Sadeh [Sat, 4 Aug 2018 00:05:55 +0000 (17:05 -0700)]
docs/rgw: document pubsub

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: trivial push notifications
Yehuda Sadeh [Fri, 3 Aug 2018 22:48:53 +0000 (15:48 -0700)]
rgw: pubsub: trivial push notifications

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: filter events
Yehuda Sadeh [Wed, 1 Aug 2018 00:48:34 +0000 (17:48 -0700)]
rgw: pubsub: filter events

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agocommon/str_list: get_str_set(), add second param for template
Yehuda Sadeh [Wed, 1 Aug 2018 00:44:47 +0000 (17:44 -0700)]
common/str_list: get_str_set(), add second param for template

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoceph_json: define second param for std::set encode_json() template
Yehuda Sadeh [Wed, 1 Aug 2018 00:44:08 +0000 (17:44 -0700)]
ceph_json: define second param for std::set encode_json() template

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: fix events distribution
Yehuda Sadeh [Sat, 28 Jul 2018 00:32:32 +0000 (17:32 -0700)]
rgw: pubsub: fix events distribution

check was located in the wrong place

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: remove warning
Yehuda Sadeh [Sat, 28 Jul 2018 00:31:07 +0000 (17:31 -0700)]
rgw: pubsub: remove warning

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: fix encoding of json config
Yehuda Sadeh [Sat, 28 Jul 2018 00:30:24 +0000 (17:30 -0700)]
rgw: pubsub: fix encoding of json config

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw-admin: pubsub topic get command
Yehuda Sadeh [Sat, 28 Jul 2018 00:00:55 +0000 (17:00 -0700)]
rgw-admin: pubsub topic get command

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: dest bucket registers with lifecycle
Yehuda Sadeh [Fri, 27 Jul 2018 23:23:13 +0000 (16:23 -0700)]
rgw: pubsub: dest bucket registers with lifecycle

So that events expire after X days

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: more lifecycle code cleanup and tooling
Yehuda Sadeh [Fri, 27 Jul 2018 23:22:12 +0000 (16:22 -0700)]
rgw: more lifecycle code cleanup and tooling

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: lifecycle utility coroutine
Yehuda Sadeh [Fri, 27 Jul 2018 23:21:33 +0000 (16:21 -0700)]
rgw: lifecycle utility coroutine

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: have sub name as event oid prefix
Yehuda Sadeh [Fri, 27 Jul 2018 23:21:09 +0000 (16:21 -0700)]
rgw: pubsub: have sub name as event oid prefix

dest should be unique for each subscription

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw-admin: add a new lc get command
Yehuda Sadeh [Fri, 27 Jul 2018 23:18:19 +0000 (16:18 -0700)]
rgw-admin: add a new lc get command

Useful for debugging lifecycle issues

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: lifecycle code cleanup
Yehuda Sadeh [Fri, 27 Jul 2018 18:32:38 +0000 (11:32 -0700)]
rgw: lifecycle code cleanup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: create notif via REST api sets dest bucket
Yehuda Sadeh [Thu, 26 Jul 2018 00:50:37 +0000 (17:50 -0700)]
rgw: pubsub: create notif via REST api sets dest bucket

This got lost somewhere in the refactoring work

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: coroutine set_state() also sets retcode
Yehuda Sadeh [Thu, 26 Jul 2018 00:49:43 +0000 (17:49 -0700)]
rgw: coroutine set_state() also sets retcode

Generally recode is needed for the caller, but current might need it too.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: adjust event encoding
Yehuda Sadeh [Wed, 25 Jul 2018 22:41:42 +0000 (15:41 -0700)]
rgw: pubsub: adjust event encoding

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agotest_json_formattable: extend for formattable encoding
Yehuda Sadeh [Wed, 25 Jul 2018 20:35:42 +0000 (13:35 -0700)]
test_json_formattable: extend for formattable encoding

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agocommon/ceph_json: formattable encoding fixes
Yehuda Sadeh [Wed, 25 Jul 2018 20:35:15 +0000 (13:35 -0700)]
common/ceph_json: formattable encoding fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: events hold a generic formattable
Yehuda Sadeh [Mon, 23 Jul 2018 23:43:06 +0000 (16:43 -0700)]
rgw: pubsub: events hold a generic formattable

Instead of encoding specific object store events, make it
hold a generic formattable struct, so that pubsub can be
used in the future for registering other event types.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agocommon/formatter: json formattable is now also a formatter
Yehuda Sadeh [Mon, 23 Jul 2018 23:39:30 +0000 (16:39 -0700)]
common/formatter: json formattable is now also a formatter

This way we can construct a formattable structure by encoding
objects into it.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw-admin: pubsub: use effective conf
Yehuda Sadeh [Mon, 9 Jul 2018 22:20:03 +0000 (15:20 -0700)]
rgw-admin: pubsub: use effective conf

the effective conf has the defaults set if needed

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: cleanups and data structure changes, api changes
Yehuda Sadeh [Fri, 6 Jul 2018 19:53:36 +0000 (12:53 -0700)]
rgw: cleanups and data structure changes, api changes

split user topics and bucket topics, can have multiple buckets per topic
and multiple topics per bucket. Buckets don't hold subscription info.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: override basic rest handler callbacks
Yehuda Sadeh [Fri, 6 Jul 2018 00:41:55 +0000 (17:41 -0700)]
rgw: pubsub: override basic rest handler callbacks

these shouldn't do anything there.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: doesn't support quota
Yehuda Sadeh [Fri, 6 Jul 2018 00:39:58 +0000 (17:39 -0700)]
rgw: pubsub: doesn't support quota

Check if handler supports quota, pubsub doesn't.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: sync module instance specifies whether user writes supported
Yehuda Sadeh [Fri, 6 Jul 2018 00:37:00 +0000 (17:37 -0700)]
rgw: sync module instance specifies whether user writes supported

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: REST api
Yehuda Sadeh [Thu, 5 Jul 2018 04:09:14 +0000 (21:09 -0700)]
rgw: pubsub: REST api

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: add args.get_int()
Yehuda Sadeh [Thu, 5 Jul 2018 18:46:27 +0000 (11:46 -0700)]
rgw: add args.get_int()

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw-admin: pubsub: pull sub, rm event
Yehuda Sadeh [Wed, 4 Jul 2018 00:26:51 +0000 (17:26 -0700)]
rgw-admin: pubsub: pull sub, rm event

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: store event in bucket index
Yehuda Sadeh [Tue, 3 Jul 2018 23:01:16 +0000 (16:01 -0700)]
rgw: pubsub: store event in bucket index

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub config fixes
Yehuda Sadeh [Tue, 3 Jul 2018 22:37:41 +0000 (15:37 -0700)]
rgw: pubsub config fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: multiple fixes
Yehuda Sadeh [Tue, 3 Jul 2018 21:43:44 +0000 (14:43 -0700)]
rgw: pubsub: multiple fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: data sync: add start_sync() callback
Yehuda Sadeh [Tue, 3 Jul 2018 21:43:16 +0000 (14:43 -0700)]
rgw: data sync: add start_sync() callback

The existing init_sync() is only called when the sync is first initialized,
need a call for whenever sync runs.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: fetch user subs
Yehuda Sadeh [Tue, 3 Jul 2018 18:39:39 +0000 (11:39 -0700)]
rgw: pubsub: fetch user subs

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw-admin: pubsub related new commands
Yehuda Sadeh [Tue, 3 Jul 2018 03:31:34 +0000 (20:31 -0700)]
rgw-admin: pubsub related new commands

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: define pubsub user structures
Yehuda Sadeh [Mon, 2 Jul 2018 23:57:23 +0000 (16:57 -0700)]
rgw: define pubsub user structures

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: fetch topics via a cr, other changes
Yehuda Sadeh [Mon, 2 Jul 2018 03:20:01 +0000 (20:20 -0700)]
rgw: fetch topics via a cr, other changes

this will allow fetching topics info from rados, so that we
don't need to hold in in memory.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: more events coverage
Yehuda Sadeh [Mon, 2 Jul 2018 01:07:58 +0000 (18:07 -0700)]
rgw: pubsub: more events coverage

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: introduce cr singleton, use for subscriptions init
Yehuda Sadeh [Sun, 1 Jul 2018 23:46:13 +0000 (16:46 -0700)]
rgw: introduce cr singleton, use for subscriptions init

Prevent concurrent initalizations of the same subscription

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub fixes
Yehuda Sadeh [Sun, 1 Jul 2018 05:07:22 +0000 (22:07 -0700)]
rgw: pubsub fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub config cleanup
Yehuda Sadeh [Sat, 30 Jun 2018 23:39:04 +0000 (16:39 -0700)]
rgw: pubsub config cleanup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: register pubsub sync module
Yehuda Sadeh [Sat, 30 Jun 2018 23:36:09 +0000 (16:36 -0700)]
rgw: register pubsub sync module

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: distribution of events to subscriptions
Yehuda Sadeh [Sat, 30 Jun 2018 04:10:10 +0000 (21:10 -0700)]
rgw: distribution of events to subscriptions

more work required

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: message storage functionality
Yehuda Sadeh [Sat, 30 Jun 2018 03:37:35 +0000 (20:37 -0700)]
rgw: pubsub: message storage functionality

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: new cr for simple object put
Yehuda Sadeh [Sat, 30 Jun 2018 02:16:37 +0000 (19:16 -0700)]
rgw: new cr for simple object put

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw_admin: new object put command
Yehuda Sadeh [Sat, 30 Jun 2018 01:38:08 +0000 (18:38 -0700)]
rgw_admin: new object put command

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: easy data access helper class
Yehuda Sadeh [Fri, 29 Jun 2018 22:40:27 +0000 (15:40 -0700)]
rgw: easy data access helper class

Only does put object right now.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: pubsub: subscription init and more
Yehuda Sadeh [Fri, 29 Jun 2018 04:10:40 +0000 (21:10 -0700)]
rgw: pubsub: subscription init and more

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: new utility crs
Yehuda Sadeh [Fri, 29 Jun 2018 00:23:11 +0000 (17:23 -0700)]
rgw: new utility crs

 - get user info
 - create bucket

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: trivial const changes
Yehuda Sadeh [Fri, 29 Jun 2018 00:22:50 +0000 (17:22 -0700)]
rgw: trivial const changes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: async cr template for crs that return data
Yehuda Sadeh [Fri, 29 Jun 2018 00:22:23 +0000 (17:22 -0700)]
rgw: async cr template for crs that return data

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: create user cr
Yehuda Sadeh [Thu, 28 Jun 2018 22:26:30 +0000 (15:26 -0700)]
rgw: create user cr

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: template helper for async crs
Yehuda Sadeh [Thu, 28 Jun 2018 22:26:07 +0000 (15:26 -0700)]
rgw: template helper for async crs

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: user tools don't require formatter
Yehuda Sadeh [Thu, 28 Jun 2018 22:20:52 +0000 (15:20 -0700)]
rgw: user tools don't require formatter

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: create a dummy flusher
Yehuda Sadeh [Thu, 28 Jun 2018 22:20:30 +0000 (15:20 -0700)]
rgw: create a dummy flusher

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: initial pub sub work
Yehuda Sadeh [Tue, 26 Jun 2018 23:02:14 +0000 (16:02 -0700)]
rgw: initial pub sub work

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoMerge pull request #25404 from ptozys/master
Kefu Chai [Tue, 11 Dec 2018 06:21:22 +0000 (14:21 +0800)]
Merge pull request #25404 from ptozys/master

async/dpdk: when enable dpdk, multiple message queue defect

Reviewed-by: Haomai Wang <haomai@xsky.com>
6 years agoMerge pull request #25460 from tchaikov/wip-krb5-off
Kefu Chai [Tue, 11 Dec 2018 03:48:35 +0000 (11:48 +0800)]
Merge pull request #25460 from tchaikov/wip-krb5-off

auth: do not use GSS/KRB5 if ! HAVE_GSSAPI

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #25298 from smanjara/wip-rgw-import
Kefu Chai [Tue, 11 Dec 2018 01:35:22 +0000 (09:35 +0800)]
Merge pull request #25298 from smanjara/wip-rgw-import

qa/rgw: add missing import line

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25429 from alfredodeza/wip-bz1644847
Alfredo Deza [Mon, 10 Dec 2018 17:27:37 +0000 (12:27 -0500)]
Merge pull request #25429 from alfredodeza/wip-bz1644847

ceph-volume zap devices associated with an OSD ID and/or OSD FSID

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Reviewed-by: Sebastien Han <shan@redhat.com>
6 years agoMerge pull request #25354 from ceph/wip-rm37409
Alfredo Deza [Mon, 10 Dec 2018 16:56:16 +0000 (11:56 -0500)]
Merge pull request #25354 from ceph/wip-rm37409

ceph-volume: test with multiple NVME drives

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #25120 from Devp00l/wip-ecp-api-test-failure
Lenz Grimmer [Mon, 10 Dec 2018 16:25:10 +0000 (17:25 +0100)]
Merge pull request #25120 from Devp00l/wip-ecp-api-test-failure

mgr/dashboard/qa: Fix ECP creation test

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #25363 from zmc/wip-fix-dash-ecp-test
Lenz Grimmer [Mon, 10 Dec 2018 15:19:05 +0000 (16:19 +0100)]
Merge pull request #25363 from zmc/wip-fix-dash-ecp-test

mgr/dashboard: Fix a broken ECP controller test

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #25391 from SUSE/wip-orchestrator-deepsea-cleanup
Sebastian Wagner [Mon, 10 Dec 2018 15:04:56 +0000 (16:04 +0100)]
Merge pull request #25391 from SUSE/wip-orchestrator-deepsea-cleanup

mgr/deepsea: check for inflight completions when starting event reader, cleanup logging and comments

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/dashboard/qa: Fix ECP creation test 25120/head
Stephan Müller [Thu, 15 Nov 2018 15:59:51 +0000 (16:59 +0100)]
mgr/dashboard/qa: Fix ECP creation test

The current solution fails on our CI-system as some outputs can have
more values and some parameters like 'w' can vary in different
environments.

As this was only tested before in a vstart cluster environment it
worked.

Through this commit only the given attributes we know to be there,
will be tested.

Fixes: https://tracker.ceph.com/issues/37275
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #24790 from sileht/doc-fix
Kefu Chai [Mon, 10 Dec 2018 11:16:02 +0000 (19:16 +0800)]
Merge pull request #24790 from sileht/doc-fix

doc/mgr/dashboard: fix typo in mgr ssl setup

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25427 from tspmelo/wip-silent-xi18n
Lenz Grimmer [Mon, 10 Dec 2018 09:05:33 +0000 (10:05 +0100)]
Merge pull request #25427 from tspmelo/wip-silent-xi18n

mgr/dashboard: Disable showing xi18n's progress

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agopybind/rados: silence GCC warning 25460/head
Kefu Chai [Mon, 10 Dec 2018 07:57:30 +0000 (15:57 +0800)]
pybind/rados: silence GCC warning

otherwise we will have following warnings:

[1/1] Cythonizing rados.pyx
warning: rados.pyx:91:4: 'rados_t' redeclared
warning: rados.pyx:92:4: 'rados_config_t' redeclared
warning: rados.pyx:93:4: 'rados_ioctx_t' redeclared

these types are already defined by librados.h, so no need to define them
again in rados.pyx .

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoauth: do not use GSS/KRB5 if ! HAVE_GSSAPI
Kefu Chai [Mon, 10 Dec 2018 07:56:26 +0000 (15:56 +0800)]
auth: do not use GSS/KRB5 if ! HAVE_GSSAPI

WITH_GSSAPI is a configure-time setting, so we should not compile krb5
related sources if this option is disabled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25434 from majianpeng/osd-getpg-reserve
Kefu Chai [Mon, 10 Dec 2018 07:21:23 +0000 (15:21 +0800)]
Merge pull request #25434 from majianpeng/osd-getpg-reserve

osd/OSD: preallocate for _get_pgs/_get_pgids to avoid reallocate.

Reviewed By: Xie Xingguo <xie.xingguo@zte.com.cn>

6 years agoMerge pull request #25420 from majianpeng/buffer-repeated-condtion
Kefu Chai [Mon, 10 Dec 2018 07:18:44 +0000 (15:18 +0800)]
Merge pull request #25420 from majianpeng/buffer-repeated-condtion

common/buffer: remove repeated condtion-check.

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25424 from rzarzynski/wip-bl-c_str_tracker
Kefu Chai [Mon, 10 Dec 2018 07:17:43 +0000 (15:17 +0800)]
Merge pull request #25424 from rzarzynski/wip-bl-c_str_tracker

common: hint bufferlist's buffer_track_c_str accordingly.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25439 from p-na/pna-wip-cleanup
Kefu Chai [Mon, 10 Dec 2018 07:16:09 +0000 (15:16 +0800)]
Merge pull request #25439 from p-na/pna-wip-cleanup

mgr/dashboard: Remove unused code

Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge PR #25425 into master
Sage Weil [Sat, 8 Dec 2018 17:16:57 +0000 (11:16 -0600)]
Merge PR #25425 into master

* refs/pull/25425/head:
test/common/blkdev-udevadm-info-samples: add a few test cases
ceph-volume: Micron SSDs don't include vendor name in ID_SERIAL
common/blkdev: micron SSDs don't include vendor name in ID_SERIAL
ceph-volume: update get_device_id to match in-tree implementation
common/blkdev: improve device_id generation

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
6 years agodoc: fix typo in mgr ssl setup 24790/head
Mehdi Abaakouk [Sat, 27 Oct 2018 06:29:06 +0000 (08:29 +0200)]
doc: fix typo in mgr ssl setup

Unlike `config set`, `config-key set` does not take the <who>
argument.

This change removes it from mgr ssl setup.

Signed-off-by: Mehdi Abaakouk <sileht@sileht.net>
6 years agoMerge pull request #25312 from falcon78921/wip-doc-37451
Jos Collin [Sat, 8 Dec 2018 05:42:50 +0000 (11:12 +0530)]
Merge pull request #25312 from falcon78921/wip-doc-37451

doc: broken link on troubleshooting-mon page

Reviewed-by: Jos Collin <jcollin@redhat.com>
6 years agodoc: broken link on troubleshooting-mon page 25312/head
James McClune [Thu, 29 Nov 2018 03:10:33 +0000 (22:10 -0500)]
doc: broken link on troubleshooting-mon page
Fixes: https://tracker.ceph.com/issues/37451
This fix involves adding :ref: labels to the add-or-rm-mons.rst
page. I also added :ref: labels for other headings within
add-or-rm-mons.rst (for future reference).

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agoMerge pull request #25410 from dragonylffly/rb
Kefu Chai [Sat, 8 Dec 2018 03:57:20 +0000 (11:57 +0800)]
Merge pull request #25410 from dragonylffly/rb

tools/rados: fix memory leak in error path

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25393 from Aran85/fix-agent-state
Kefu Chai [Sat, 8 Dec 2018 03:54:54 +0000 (11:54 +0800)]
Merge pull request #25393 from Aran85/fix-agent-state

osd: avoid using null agent_state

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25370 from majianpeng/sharedlru-addfunc
Kefu Chai [Sat, 8 Dec 2018 03:47:59 +0000 (11:47 +0800)]
Merge pull request #25370 from majianpeng/sharedlru-addfunc

common/shared_cache: bumps it to the front of the LRU if key existed.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge PR #25275 into master
Patrick Donnelly [Fri, 7 Dec 2018 18:57:36 +0000 (10:57 -0800)]
Merge PR #25275 into master

* refs/pull/25275/head:
osdc/Journaler: make try_read_entry store data in contiguous memory

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #25270 into master
Patrick Donnelly [Fri, 7 Dec 2018 18:56:25 +0000 (10:56 -0800)]
Merge PR #25270 into master

* refs/pull/25270/head:
mds: use uniform write handler for PQ

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #24991 into master
Patrick Donnelly [Fri, 7 Dec 2018 18:54:46 +0000 (10:54 -0800)]
Merge PR #24991 into master

* refs/pull/24991/head:
mds: disallow dumping huge caches to formatter

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #24940 into master
Patrick Donnelly [Fri, 7 Dec 2018 18:53:44 +0000 (10:53 -0800)]
Merge PR #24940 into master

* refs/pull/24940/head:
qa: add test for getfattr ceph.dir.pin
client: support getfattr ceph.dir.pin extended attribute

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoceph-volume tests.functional.batch symlink test_zap to all batch scenarios 25429/head
Alfredo Deza [Fri, 7 Dec 2018 17:29:45 +0000 (12:29 -0500)]
ceph-volume tests.functional.batch symlink test_zap to all batch scenarios

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge PR #24748 into master
Patrick Donnelly [Fri, 7 Dec 2018 18:50:57 +0000 (10:50 -0800)]
Merge PR #24748 into master

* refs/pull/24748/head:
qa: use 6h timeout for pjd test

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoceph-volume tests.functional.batch add test_zap yaml to tox.ini
Alfredo Deza [Fri, 7 Dec 2018 17:28:37 +0000 (12:28 -0500)]
ceph-volume tests.functional.batch add test_zap yaml to tox.ini

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.functional.batch create a separate test_zap playbook
Alfredo Deza [Fri, 7 Dec 2018 17:08:44 +0000 (12:08 -0500)]
ceph-volume tests.functional.batch create a separate test_zap playbook

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.zap update success message for OSD IDs
Alfredo Deza [Fri, 7 Dec 2018 12:53:43 +0000 (07:53 -0500)]
ceph-volume lvm.zap update success message for OSD IDs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agodoc/man/ceph-volume add zapping by osd-id examples
Alfredo Deza [Thu, 6 Dec 2018 20:30:38 +0000 (15:30 -0500)]
doc/man/ceph-volume add zapping by osd-id examples

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agodoc/ceph-volume add zapping by osd-id examples
Alfredo Deza [Thu, 6 Dec 2018 20:30:22 +0000 (15:30 -0500)]
doc/ceph-volume add zapping by osd-id examples

Signed-off-by: Alfredo Deza <adeza@redhat.com>