]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoMerge pull request #20658 from majianpeng/cmake-link-error
Kefu Chai [Fri, 13 Apr 2018 07:43:09 +0000 (15:43 +0800)]
Merge pull request #20658 from majianpeng/cmake-link-error

os/CMakeLists: fix link errro when enable WITH_PMEM=ON.

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21332 from cbodley/wip-cmake-lz4
Kefu Chai [Fri, 13 Apr 2018 07:32:55 +0000 (15:32 +0800)]
Merge pull request #21332 from cbodley/wip-cmake-lz4

cmake: enable LZ4 by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge PR #21181 into master
Patrick Donnelly [Fri, 13 Apr 2018 01:22:31 +0000 (18:22 -0700)]
Merge PR #21181 into master

* refs/pull/21181/head:
fuse: wire up fuse_ll_access

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21276 into master
Patrick Donnelly [Fri, 13 Apr 2018 01:22:27 +0000 (18:22 -0700)]
Merge PR #21276 into master

* refs/pull/21276/head:
MDSMonitor: fix mds health printed in bad format

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge PR #21323 into master
Patrick Donnelly [Fri, 13 Apr 2018 01:22:22 +0000 (18:22 -0700)]
Merge PR #21323 into master

* refs/pull/21323/head:
mds: properly dirty sessions opened by journal replay

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21362 from dzafman/wip-hex-digest
David Zafman [Thu, 12 Apr 2018 23:07:36 +0000 (16:07 -0700)]
Merge pull request #21362 from dzafman/wip-hex-digest

osd: Change shard digests to hex like object info digests

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21026 from ivancich/wip-rgw-unordered-listing
Casey Bodley [Thu, 12 Apr 2018 19:35:51 +0000 (15:35 -0400)]
Merge pull request #21026 from ivancich/wip-rgw-unordered-listing

rgw: ability to list bucket contents in unsorted order for efficiency

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
7 years agoMerge pull request #21291 from smithfarm/wip-23596
Casey Bodley [Thu, 12 Apr 2018 15:18:44 +0000 (11:18 -0400)]
Merge pull request #21291 from smithfarm/wip-23596

RGWCivetWeb::read_data: fix arguments to mg_read() call

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #21285 from joke-lee/wip-max_keys_convert
Casey Bodley [Thu, 12 Apr 2018 15:16:47 +0000 (11:16 -0400)]
Merge pull request #21285 from joke-lee/wip-max_keys_convert

rgw: return EINVAL if max_keys can not convert correctly

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21129 from oritwas/wip-rgw-admin-no-cache
Casey Bodley [Thu, 12 Apr 2018 15:14:37 +0000 (11:14 -0400)]
Merge pull request #21129 from oritwas/wip-rgw-admin-no-cache

rgw: radosgw-admin should not use metadata cache for readonly commands

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20834 from linuxbox2/wip-linked
Casey Bodley [Thu, 12 Apr 2018 15:14:05 +0000 (11:14 -0400)]
Merge pull request #20834 from linuxbox2/wip-linked

rgw_file: conditionally unlink handles when direct deleted

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20926 from yehudasa/wip-22963-truncation
Casey Bodley [Thu, 12 Apr 2018 15:13:40 +0000 (11:13 -0400)]
Merge pull request #20926 from yehudasa/wip-22963-truncation

rgw: fix for usage truncated flag

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #20814 from niupengju/master
Casey Bodley [Thu, 12 Apr 2018 15:05:44 +0000 (11:05 -0400)]
Merge pull request #20814 from niupengju/master

rgw: Fix multisite Synchronization failed when read and write delete …

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoosd: Change shard digests to hex like object info digests 21362/head
David Zafman [Thu, 12 Apr 2018 00:36:59 +0000 (17:36 -0700)]
osd: Change shard digests to hex like object info digests

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #21140 from ceph/cv
Sage Weil [Thu, 12 Apr 2018 14:14:43 +0000 (09:14 -0500)]
Merge pull request #21140 from ceph/cv

ceph-volume: remove extra space

7 years agoinstall-deps: add liblz4 to freebsd build dependencies 21332/head
Casey Bodley [Tue, 10 Apr 2018 16:32:46 +0000 (12:32 -0400)]
install-deps: add liblz4 to freebsd build dependencies

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agodebian: add build dependency for lz4
Casey Bodley [Tue, 10 Apr 2018 15:18:47 +0000 (11:18 -0400)]
debian: add build dependency for lz4

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agorpm: add build dependency for lz4
Casey Bodley [Tue, 10 Apr 2018 15:18:37 +0000 (11:18 -0400)]
rpm: add build dependency for lz4

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agolz4: adjusted release notes
Casey Bodley [Tue, 10 Apr 2018 16:28:59 +0000 (12:28 -0400)]
lz4: adjusted release notes

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agocmake: Enable LZ4 if required library is available.
Grant Slater [Tue, 15 Aug 2017 15:58:35 +0000 (16:58 +0100)]
cmake: Enable LZ4 if required library is available.

Signed-off-by: Grant Slater <grant.slater@wearefriday.com>
7 years agoMerge pull request #20962 from ricardoasmarques/wip-task-manager-frontend
Lenz Grimmer [Thu, 12 Apr 2018 12:45:27 +0000 (14:45 +0200)]
Merge pull request #20962 from ricardoasmarques/wip-task-manager-frontend

mgr/dashboard: Asynchronous tasks (frontend)

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #21099 from ricardoasmarques/wip-table-selection-refresh
Lenz Grimmer [Thu, 12 Apr 2018 11:27:56 +0000 (13:27 +0200)]
Merge pull request #21099 from ricardoasmarques/wip-table-selection-refresh

mgr/dashboard: Update selected items on table refresh

Reviewed-by: Volker Theile vtheile@suse.com
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21268 from smithfarm/wip-doc-config-ceph
Nathan Cutler [Thu, 12 Apr 2018 11:25:54 +0000 (13:25 +0200)]
Merge pull request #21268 from smithfarm/wip-doc-config-ceph

doc: some improvements to ceph-conf.rst

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agomgr/dashboard: Asynchronous tasks front-end 20962/head
Ricardo Marques [Mon, 19 Mar 2018 15:06:51 +0000 (15:06 +0000)]
mgr/dashboard: Asynchronous tasks front-end

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #21320 from tchaikov/wip-rocksdb
Kefu Chai [Thu, 12 Apr 2018 02:53:12 +0000 (10:53 +0800)]
Merge pull request #21320 from tchaikov/wip-rocksdb

rocksdb: sync with upstream

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21329 from liewegas/wip-23622-b
Sage Weil [Thu, 12 Apr 2018 02:40:57 +0000 (21:40 -0500)]
Merge pull request #21329 from liewegas/wip-23622-b

mon/ConfigKeyService: dump: print placeholder value for binary blobs

Reviewed-by: John Spray <jspray@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
7 years agoMerge pull request #21357 from gregsfortytwo/wip-doc-remove-naked-repo
Sage Weil [Thu, 12 Apr 2018 02:28:55 +0000 (21:28 -0500)]
Merge pull request #21357 from gregsfortytwo/wip-doc-remove-naked-repo

doc: remove references to unversioned repository addresses

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21325 from xiexingguo/wip-fix-up-seg-error
Xie Xingguo [Thu, 12 Apr 2018 00:26:10 +0000 (08:26 +0800)]
Merge pull request #21325 from xiexingguo/wip-fix-up-seg-error

 crush/CrushWrapper: fix potential invalid use of iterator

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agodoc: remove references to unversioned repository addresses 21357/head
Greg Farnum [Wed, 11 Apr 2018 17:53:07 +0000 (10:53 -0700)]
doc: remove references to unversioned repository addresses

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
7 years agomon/ConfigKeyService: dump: print placeholder value for binary blobs 21329/head
Sage Weil [Tue, 10 Apr 2018 13:31:06 +0000 (08:31 -0500)]
mon/ConfigKeyService: dump: print placeholder value for binary blobs

JSON cannot express arbitrary binary blobs.  Instead of outputting invalid
and unparseable JSON, represent the value of blobs as something like
'<<< binary blob of length 12 >>>'.

Fixes: http://tracker.ceph.com/issues/23622
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21336 from ceph/wip-yuriw-crontab
Yuri Weinstein [Wed, 11 Apr 2018 19:17:19 +0000 (12:17 -0700)]
Merge pull request #21336 from ceph/wip-yuriw-crontab

qa/tests: Changed rhel7.4 to rhel7.5

7 years agoMerge pull request #21311 from liewegas/wip-validate-caps
Gregory Farnum [Wed, 11 Apr 2018 18:14:37 +0000 (11:14 -0700)]
Merge pull request #21311 from liewegas/wip-validate-caps

mon: expand cap validity check for mgr, osd, mds

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge PR #21265 into master
Patrick Donnelly [Wed, 11 Apr 2018 17:25:21 +0000 (10:25 -0700)]
Merge PR #21265 into master

* refs/pull/21265/head:
doc: outline steps to take CephFS fs down

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
7 years agorgw: ability to list bucket contents in unsorted order for efficiency 21026/head
J. Eric Ivancich [Mon, 12 Feb 2018 20:03:14 +0000 (15:03 -0500)]
rgw: ability to list bucket contents in unsorted order for efficiency

Add the ability to list the contents of a bucket without the results
being sorted. This can have performance benefits since all bucket
shards do not need to be queried. This is done by adding a parameter
to the REST query string (i.e., "allow_unordered" [note underscore]
for swift or "allow-unordered" [note hyphen] for s3) to true.

This works with other request parameters such as marker, end_marker,
and prefix. But it does not work when delimeter is used. Also, because
the results are not in order, a subsequent marker may precede an
earlier marker.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoMerge pull request #21236 from jecluis/wip-mon-auth-bootstrap
Sage Weil [Wed, 11 Apr 2018 15:57:20 +0000 (10:57 -0500)]
Merge pull request #21236 from jecluis/wip-mon-auth-bootstrap

mon/AuthMonitor: create bootstrap keys on create_initial()

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21102 from trociny/wip-23487
Sage Weil [Wed, 11 Apr 2018 15:49:09 +0000 (10:49 -0500)]
Merge pull request #21102 from trociny/wip-23487

mon: add  'ceph osd pool get erasure allow_ec_overwrites' command

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #21300 from dillaman/wip-rbd-mirror-active-active
Mykola Golub [Wed, 11 Apr 2018 15:15:11 +0000 (18:15 +0300)]
Merge pull request #21300 from dillaman/wip-rbd-mirror-active-active

rbd-mirror: integrate image map policy as incremental step to active-active

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21314 from badone/wip-ms_inject_socket_failures-SIGFPE
Kefu Chai [Wed, 11 Apr 2018 15:09:49 +0000 (23:09 +0800)]
Merge pull request #21314 from badone/wip-ms_inject_socket_failures-SIGFPE

msg/async/AsyncConnection: Fix FPE in process_connection

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21308 from dillaman/wip-23597
Mykola Golub [Wed, 11 Apr 2018 15:09:01 +0000 (18:09 +0300)]
Merge pull request #21308 from dillaman/wip-23597

librbd: disable ENOENT tracking within the object cacher

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21318 from badone/wip-qa-mon-misc-add-osdmap-prune-tests
Kefu Chai [Wed, 11 Apr 2018 15:08:33 +0000 (23:08 +0800)]
Merge pull request #21318 from badone/wip-qa-mon-misc-add-osdmap-prune-tests

qa/standalone/mon/misc.sh: Add osdmap-prune tests

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21306 from rzarzynski/wip-bs-bug23333-allow-eio
Kefu Chai [Wed, 11 Apr 2018 15:05:46 +0000 (23:05 +0800)]
Merge pull request #21306 from rzarzynski/wip-bs-bug23333-allow-eio

os/bluestore: alter the allow_eio policy regarding kernel's error list.

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21288 from jcsp/wip-23584
Kefu Chai [Wed, 11 Apr 2018 15:03:06 +0000 (23:03 +0800)]
Merge pull request #21288 from jcsp/wip-23584

mgr/prometheus: fix PG state names

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #21281 from zealoussnow/wip-leozhang-0407
Kefu Chai [Wed, 11 Apr 2018 15:01:54 +0000 (23:01 +0800)]
Merge pull request #21281 from zealoussnow/wip-leozhang-0407

common: retry_sys_call no need take address of a function pointer

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21297 from tchaikov/wip-ceph-w-utf-8
Kefu Chai [Wed, 11 Apr 2018 15:01:07 +0000 (23:01 +0800)]
Merge pull request #21297 from tchaikov/wip-ceph-w-utf-8

ceph: print output of "status" as string not as bytes

Reviewed-by: Tim Serong <tserong@suse.com>
7 years agoMerge pull request #21275 from smithfarm/wip-23296
Kefu Chai [Wed, 11 Apr 2018 14:59:07 +0000 (22:59 +0800)]
Merge pull request #21275 from smithfarm/wip-23296

osdc/Objecter: add ignore overlay flag if got redirect reply

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #21259 from rzarzynski/wip-common-hint-dout
Kefu Chai [Wed, 11 Apr 2018 14:58:24 +0000 (22:58 +0800)]
Merge pull request #21259 from rzarzynski/wip-common-hint-dout

common: hint the main branch of dout() accordingly to default verbosity.

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20186 from jecluis/wip-codingstyle
Sage Weil [Wed, 11 Apr 2018 13:49:50 +0000 (08:49 -0500)]
Merge pull request #20186 from jecluis/wip-codingstyle

CodingStyle: add python and javascript/typescript

7 years agoCodingStyle: add python and javascript/typescript 20186/head
Joao Eduardo Luis [Tue, 30 Jan 2018 15:19:53 +0000 (15:19 +0000)]
CodingStyle: add python and javascript/typescript

As we are rapidly expanding our code base beyond C++ and C, it is a good
idea to enforce coding styles for other languages.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #21334 from batrick/i23643
Sage Weil [Wed, 11 Apr 2018 13:25:55 +0000 (08:25 -0500)]
Merge pull request #21334 from batrick/i23643

qa: fix typo in test_full

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21349 from wjwithagen/wjw-freebsd-deps
Casey Bodley [Wed, 11 Apr 2018 12:49:54 +0000 (08:49 -0400)]
Merge pull request #21349 from wjwithagen/wjw-freebsd-deps

FreeBSD: add new required packages to be installed

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21258 from votdev/rgw_proxy
Lenz Grimmer [Wed, 11 Apr 2018 12:49:37 +0000 (14:49 +0200)]
Merge pull request #21258 from votdev/rgw_proxy

mgr/dashboard: Implement a RGW proxy

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agoMerge pull request #21347 from SUSE/wip-doc-mgr-plugin-limitations
John Spray [Wed, 11 Apr 2018 11:39:12 +0000 (12:39 +0100)]
Merge pull request #21347 from SUSE/wip-doc-mgr-plugin-limitations

doc/mgr: Add limitations section to plugin guide

Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoFreeBSD: add new required packages to be installed 21349/head
Willem Jan Withagen [Wed, 11 Apr 2018 11:37:15 +0000 (13:37 +0200)]
FreeBSD: add new required packages to be installed

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agomgr/dashboard: Update selected items on table refresh 21099/head
Ricardo Marques [Wed, 28 Mar 2018 15:53:59 +0000 (16:53 +0100)]
mgr/dashboard: Update selected items on table refresh

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agodoc/mgr: Add limitations section to plugin guide 21347/head
Tim Serong [Wed, 11 Apr 2018 10:33:05 +0000 (20:33 +1000)]
doc/mgr: Add limitations section to plugin guide

Signed-off-by: Tim Serong <tserong@suse.com>
7 years agomgr/dashboard: Takeover PR #20799 and adapt comments. 21258/head
Volker Theile [Mon, 9 Apr 2018 13:26:26 +0000 (15:26 +0200)]
mgr/dashboard: Takeover PR #20799 and adapt comments.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Implement RGW proxy
Patrick Nawracay [Tue, 20 Mar 2018 08:03:30 +0000 (09:03 +0100)]
mgr/dashboard: Implement RGW proxy

This implementation is basically a Rados Gateway reverse proxy.  It
additionally takes care of the authentication to the Rados Gateway, but to use
it you will have to be authenticated against the dashboards RESTful API.

The corresponding credentials can be configured using the following commands:

    dashboard set-rgw-api-secret-key <secret-key>

    dashboard set-rgw-api-access-key <access-key>

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agomgr/dashboard: RGW proxy: Include `python-requests-aws`
Patrick Nawracay [Tue, 20 Mar 2018 08:01:32 +0000 (09:01 +0100)]
mgr/dashboard: RGW proxy: Include `python-requests-aws`

This commit will include the `python-requests-aws` [1] library.  This library
extends the `requests` library by an authentication mechanism to S3 gateways.

[1] https://github.com/tax/python-requests-aws

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agoMerge pull request #21022 from sebastian-philipp/dashboard_get_range
Lenz Grimmer [Wed, 11 Apr 2018 10:22:00 +0000 (12:22 +0200)]
Merge pull request #21022 from sebastian-philipp/dashboard_get_range

mgr/dashboard: Refactor multiple duplicates of `get_rate()`

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #20920 from sebastian-philipp/dashboard_v2-erasure-code-profile
Lenz Grimmer [Wed, 11 Apr 2018 10:19:40 +0000 (12:19 +0200)]
Merge pull request #20920 from sebastian-philipp/dashboard_v2-erasure-code-profile

mgr/dashboard: Add ErasureCodeProfile controller

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #21086 from ricardoasmarques/fix-table-without-fetch-data
Lenz Grimmer [Wed, 11 Apr 2018 09:55:32 +0000 (11:55 +0200)]
Merge pull request #21086 from ricardoasmarques/fix-table-without-fetch-data

mgr/dashboard: Fix table without fetchData

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile vtheile@suse.com
7 years agoMerge pull request #21041 from votdev/custom_validators
Lenz Grimmer [Wed, 11 Apr 2018 09:11:09 +0000 (11:11 +0200)]
Merge pull request #21041 from votdev/custom_validators

mgr/dashboard: Add custom validators

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21078 from tspmelo/wip-notifications
Lenz Grimmer [Wed, 11 Apr 2018 09:08:04 +0000 (11:08 +0200)]
Merge pull request #21078 from tspmelo/wip-notifications

mgr/dashboard: Add notification service/component

Reviewed-by: Volker Theile vtheile@suse.com
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard: Loading indicator only if fechData provided 21086/head
Ricardo Marques [Wed, 28 Mar 2018 06:44:55 +0000 (07:44 +0100)]
mgr/dashboard: Loading indicator only if fechData provided

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Hide refresh button if no fetchData provided
Ricardo Marques [Wed, 28 Mar 2018 06:43:47 +0000 (07:43 +0100)]
mgr/dashboard: Hide refresh button if no fetchData provided

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Add custom validators. 21041/head
Volker Theile [Mon, 26 Mar 2018 09:24:29 +0000 (11:24 +0200)]
mgr/dashboard: Add custom validators.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge PR #19220 into master
Patrick Donnelly [Wed, 11 Apr 2018 05:13:29 +0000 (22:13 -0700)]
Merge PR #19220 into master

* refs/pull/19220/head:
mds: limit run time of load balancer
mds: add list to track recently used sub-directories
mds: calculate other mds' last_epoch_under locally
mds: cleanup mds_load map access/update
mds: check export pin when choosing dirfrags for exporting
mds: optimize MDBalancer::find_exports()
mds: avoid creating unnecessary subtrees during load balance
mds: mds: optimize MDBalancer::try_rebalance()
mds: don't try exporting subdir if dirfrag is already being exported
mds: don't try exporting dirfrags under mds's own mdsdir
mds: cleanup MDBalancer::try_rebalance()
mds: always pass current time to MDBalancer::{hit_inode,hit_dir}
mds: remove unused MDBalancer::export_empties()
mds: don't decay load counters when printing load
mds: adjust pop_nested when importing subtree
mds: adjust subtree popularity when import fails
mds: adjust subtree popularity after rename
mds: fix request rate calculation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21310 from tchaikov/wip-23610
Kefu Chai [Wed, 11 Apr 2018 05:00:01 +0000 (13:00 +0800)]
Merge pull request #21310 from tchaikov/wip-23610

osd: resend osd_pgtemp if it's not acked

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20947 from dzafman/wip-23364
David Zafman [Tue, 10 Apr 2018 23:32:09 +0000 (16:32 -0700)]
Merge pull request #20947 from dzafman/wip-23364

Special scrub handling of hinfo_key errors

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agocommon: hint the main branch of dout() accordingly to default verbosity. 21259/head
Radoslaw Zarzynski [Thu, 5 Apr 2018 14:55:27 +0000 (16:55 +0200)]
common: hint the main branch of dout() accordingly to default verbosity.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoqa/tests: Changed rhel7.4 to rhel7.5 21336/head
Yuri Weinstein [Tue, 10 Apr 2018 20:05:12 +0000 (13:05 -0700)]
qa/tests: Changed rhel7.4 to rhel7.5

Note: This is a temp fix till we get $ implementaion

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agodoc: Add release notes for the output format changes 20947/head
David Zafman [Tue, 10 Apr 2018 18:07:48 +0000 (11:07 -0700)]
doc: Add release notes for the output format changes

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Be smarter about when jsonschema can be used
David Zafman [Mon, 9 Apr 2018 22:09:38 +0000 (15:09 -0700)]
test: Be smarter about when jsonschema can be used

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Show snapset in list-inconsistent-snapset
David Zafman [Wed, 4 Apr 2018 23:09:39 +0000 (16:09 -0700)]
osd rados command: Show snapset in list-inconsistent-snapset

Add SnapSet bufferlist to inconsistent_snapset_t

Partial fix for http://tracker.ceph.com/issues/23428

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agorbd-mirror: image map shut down should reset task context 21300/head
Jason Dillaman [Mon, 9 Apr 2018 04:33:32 +0000 (00:33 -0400)]
rbd-mirror: image map shut down should reset task context

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: wire image map between pool watcher and instance watcher
Jason Dillaman [Fri, 9 Mar 2018 15:44:09 +0000 (10:44 -0500)]
rbd-mirror: wire image map between pool watcher and instance watcher

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: wire instance notifications through to pool replayer
Jason Dillaman [Fri, 9 Mar 2018 02:55:48 +0000 (21:55 -0500)]
rbd-mirror: wire instance notifications through to pool replayer

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: integrate image map init/shut down into pool replayer
Jason Dillaman [Thu, 8 Mar 2018 22:49:55 +0000 (17:49 -0500)]
rbd-mirror: integrate image map init/shut down into pool replayer

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: initial policy instance update should detect dead instances
Jason Dillaman [Mon, 9 Apr 2018 03:19:48 +0000 (23:19 -0400)]
rbd-mirror: initial policy instance update should detect dead instances

At initial promotion to the leader position, it can be nearly always
assumed that at least one instance has died and needs to have its images
shuffled to another instance (i.e. the old leader).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: simplify the interface between image mapper and policy
Jason Dillaman [Wed, 14 Mar 2018 16:54:53 +0000 (12:54 -0400)]
rbd-mirror: simplify the interface between image mapper and policy

The context callbacks between the image map and its policy required
too many hooks between the two classes. Additionally, the original
implementation didn't support re-sending of acquire messages after
initializing (to close a potential race condition).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: image map listener should provide a callback context
Jason Dillaman [Fri, 9 Mar 2018 15:25:32 +0000 (10:25 -0500)]
rbd-mirror: image map listener should provide a callback context

The context wraps the necessary data and provides a pass-through chain
to the instance notification helpers.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: moved policy inner-types to common types header
Jason Dillaman [Wed, 14 Mar 2018 13:45:13 +0000 (09:45 -0400)]
rbd-mirror: moved policy inner-types to common types header

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: convert PoolReplayer to templated class
Jason Dillaman [Thu, 8 Mar 2018 22:13:38 +0000 (17:13 -0500)]
rbd-mirror: convert PoolReplayer to templated class

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: block instance add/remove notifications until post-locked
Jason Dillaman [Fri, 9 Mar 2018 21:16:34 +0000 (16:16 -0500)]
rbd-mirror: block instance add/remove notifications until post-locked

Avoid a possible race condition with instances being detected before the
pool replayer leader handling is fully initialized.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: new add/remove instances listener
Jason Dillaman [Fri, 9 Mar 2018 02:46:17 +0000 (21:46 -0500)]
rbd-mirror: new add/remove instances listener

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: batch peer instances ack and timeout handlers
Jason Dillaman [Fri, 9 Mar 2018 04:18:35 +0000 (23:18 -0500)]
rbd-mirror: batch peer instances ack and timeout handlers

This throttles the on-disk updates and also will eventually help to
throttle the shuffling of images between alive peer instances.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: removed declared but undefined leader watcher methods
Jason Dillaman [Fri, 9 Mar 2018 01:51:57 +0000 (20:51 -0500)]
rbd-mirror: removed declared but undefined leader watcher methods

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: leader watcher should always initialize status watcher
Jason Dillaman [Fri, 9 Mar 2018 01:12:37 +0000 (20:12 -0500)]
rbd-mirror: leader watcher should always initialize status watcher

In the case of active/active, both the leader and the followers will be
sending status updates for their images. Therefore, all rbd-mirror daemons
should be registered.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: moved leader watcher listener interface out of templated class
Jason Dillaman [Thu, 8 Mar 2018 21:53:00 +0000 (16:53 -0500)]
rbd-mirror: moved leader watcher listener interface out of templated class

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: moved pool watcher listener interface out of templated class
Jason Dillaman [Thu, 8 Mar 2018 21:49:07 +0000 (16:49 -0500)]
rbd-mirror: moved pool watcher listener interface out of templated class

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd_mirror: document the basic state flow for pool watcher
Jason Dillaman [Thu, 8 Mar 2018 21:28:11 +0000 (16:28 -0500)]
rbd_mirror: document the basic state flow for pool watcher

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosd: SnapSet::dump() handle snapid_t not in clone_overlap or clone_size
David Zafman [Wed, 4 Apr 2018 23:07:09 +0000 (16:07 -0700)]
osd: SnapSet::dump() handle snapid_t not in clone_overlap or clone_size

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Add getjson variable to save output
David Zafman [Wed, 4 Apr 2018 23:04:41 +0000 (16:04 -0700)]
test: Add getjson variable to save output

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Change error name snapset_mismatch to snapset_error
David Zafman [Wed, 4 Apr 2018 22:58:57 +0000 (15:58 -0700)]
osd rados command: Change error name snapset_mismatch to snapset_error

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Clean-up test and use local values for number of objects and osds
David Zafman [Tue, 20 Mar 2018 23:07:49 +0000 (16:07 -0700)]
test: Clean-up test and use local values for number of objects and osds

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: Without snapdir we don't have a head mismatch error anymore
David Zafman [Wed, 21 Mar 2018 02:05:53 +0000 (19:05 -0700)]
osd: Without snapdir we don't have a head mismatch error anymore

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: list-inconsistent-obj attribute improvements
David Zafman [Fri, 16 Mar 2018 06:59:52 +0000 (23:59 -0700)]
osd rados command: list-inconsistent-obj attribute improvements

System attributes shown as "object_info", "snapset" and "hashinfo"
Only output user attributes as "attrs"
Drop leading undescore "_" for user attribute keys
Improve logic as to when to show user attributes or specific system attributes

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Change "oi" to "info" in scrub handling errors
David Zafman [Fri, 16 Mar 2018 04:50:30 +0000 (21:50 -0700)]
osd rados command: Change "oi" to "info" in scrub handling errors

data_digest_mismatch_oi -> data_digest_mismatch_info
omap_digest_mismatch_oi -> omap_digest_mismatch_info
size_mismatch_oi -> size_mismatch_info
obj_size_oi_mismatch -> obj_size_info_mismatch

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Change "oi_attr" to "info" in scrub handling errors
David Zafman [Fri, 16 Mar 2018 00:09:43 +0000 (17:09 -0700)]
osd rados command: Change "oi_attr" to "info" in scrub handling errors

oi_attr_missing -> info_missing
oi_attr_corrupted -> info_corrupted

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Rename ss_attr_missing/ss_attr_corrupted to snapset_missing/snapse...
David Zafman [Thu, 15 Mar 2018 21:29:54 +0000 (14:29 -0700)]
osd rados command: Rename ss_attr_missing/ss_attr_corrupted to snapset_missing/snapset_corrupted

Signed-off-by: David Zafman <dzafman@redhat.com>