]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoMerge pull request #24103 from b-ranto/wip-dashboard-http
Lenz Grimmer [Tue, 18 Sep 2018 11:40:54 +0000 (13:40 +0200)]
Merge pull request #24103 from b-ranto/wip-dashboard-http

mgr/dashboard: Do not require cert for http

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #24015 from ricardoasmarques/wip-update-selection-on-refresh
Lenz Grimmer [Tue, 18 Sep 2018 09:02:43 +0000 (11:02 +0200)]
Merge pull request #24015 from ricardoasmarques/wip-update-selection-on-refresh

mgr/dashboard: More configs for table `updateSelectionOnRefresh`

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Rename SSLCherryPyConfig 24103/head
Boris Ranto [Tue, 18 Sep 2018 07:33:22 +0000 (09:33 +0200)]
mgr/dashboard: Rename SSLCherryPyConfig

The class does not always set up SSL, dropping the SSL bit.

Fixes: http://tracker.ceph.com/issues/36069
Signed-off-by: Boris Ranto <branto@redhat.com>
6 years agomgr/dashboard: Do not require cert for http
Boris Ranto [Fri, 14 Sep 2018 10:03:23 +0000 (12:03 +0200)]
mgr/dashboard: Do not require cert for http

The ceph dashboard currently requires a SSL certificate even if it is
not running in the SSL mode since it is always querying for the
certificate file/key pair.

This patch fixes the behaviour by querying for the certificate file/key
only if it is running in the SSL mode.

Fixes: http://tracker.ceph.com/issues/36069
Signed-off-by: Boris Ranto <branto@redhat.com>
6 years agoMerge pull request #24031 from rzarzynski/wip-common-bl-drop-0c
Josh Durgin [Mon, 17 Sep 2018 20:48:41 +0000 (13:48 -0700)]
Merge pull request #24031 from rzarzynski/wip-common-bl-drop-0c

common: drop the unused zero-copy facilities in ceph::bufferlist

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24120 into master
Patrick Donnelly [Mon, 17 Sep 2018 18:10:15 +0000 (11:10 -0700)]
Merge PR #24120 into master

* refs/pull/24120/head:
doc: Fix Typos of Developer Guide

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #24105 from dillaman/wip-24516
Mykola Golub [Mon, 17 Sep 2018 17:31:36 +0000 (20:31 +0300)]
Merge pull request #24105 from dillaman/wip-24516

librbd: object map improperly flagged as invalidated

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #23981 from cbodley/wip-35830
Matt Benjamin [Mon, 17 Sep 2018 15:26:50 +0000 (11:26 -0400)]
Merge pull request #23981 from cbodley/wip-35830

rgw: raise debug level on redundant data sync error messages

6 years agoMerge pull request #24088 from dzafman/wip-35982
Kefu Chai [Mon, 17 Sep 2018 14:35:43 +0000 (22:35 +0800)]
Merge pull request #24088 from dzafman/wip-35982

qa/standalone: Standalone test corrections

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocommon: get_data() of buffer_raw isn't virtual anymore. 24031/head
Radoslaw Zarzynski [Thu, 13 Sep 2018 17:14:23 +0000 (19:14 +0200)]
common: get_data() of buffer_raw isn't virtual anymore.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: make the get_data() of buffer_raw interface final.
Radoslaw Zarzynski [Tue, 11 Sep 2018 11:37:11 +0000 (13:37 +0200)]
common: make the get_data() of buffer_raw interface final.

This is just to ensure the just dropped buffer::raw_pipe
was the solely user of this facility. After successful
validation, we can drop `virtual` on the method entirely.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: drop can_zero_copy() from ceph::buffer interfaces.
Radoslaw Zarzynski [Tue, 11 Sep 2018 11:21:50 +0000 (13:21 +0200)]
common: drop can_zero_copy() from ceph::buffer interfaces.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: drop zero_copy_to_fd() from ceph::buffer interfaces.
Radoslaw Zarzynski [Tue, 11 Sep 2018 11:20:23 +0000 (13:20 +0200)]
common: drop zero_copy_to_fd() from ceph::buffer interfaces.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: drop write_fd_zero_copy() from bufferlist.
Radoslaw Zarzynski [Tue, 11 Sep 2018 11:16:28 +0000 (13:16 +0200)]
common: drop write_fd_zero_copy() from bufferlist.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: drop buffer::raw_pipe altogether with its factory method.
Radoslaw Zarzynski [Tue, 11 Sep 2018 10:11:24 +0000 (12:11 +0200)]
common: drop buffer::raw_pipe altogether with its factory method.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: drop buffer::list::read_fd_zero_copy.
Radoslaw Zarzynski [Tue, 11 Sep 2018 10:04:35 +0000 (12:04 +0200)]
common: drop buffer::list::read_fd_zero_copy.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon, test: drop unit tests for 0c in ceph::bufferlist.
Radoslaw Zarzynski [Tue, 11 Sep 2018 09:59:54 +0000 (11:59 +0200)]
common, test: drop unit tests for 0c in ceph::bufferlist.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #24087 from rzarzynski/wip-common-buffer_raw-drop-page-align-getters
Kefu Chai [Mon, 17 Sep 2018 07:55:10 +0000 (15:55 +0800)]
Merge pull request #24087 from rzarzynski/wip-common-buffer_raw-drop-page-align-getters

common: drop/mark-as-final getters of buffer::raw for palign.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24061 from liewegas/wip-35923
Kefu Chai [Mon, 17 Sep 2018 07:52:49 +0000 (15:52 +0800)]
Merge pull request #24061 from liewegas/wip-35923

osd/PG: write pg epoch when resurrecting pg after delete vs merge race

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23306 from penglaiyxy/msg_branch
Kefu Chai [Mon, 17 Sep 2018 07:50:57 +0000 (15:50 +0800)]
Merge pull request #23306 from penglaiyxy/msg_branch

msg: ceph_abort() when there are enough accepter errors in msg server

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23955 from wjwithagen/wjw-fix-ceph-helpers.sh
Kefu Chai [Mon, 17 Sep 2018 07:44:06 +0000 (15:44 +0800)]
Merge pull request #23955 from wjwithagen/wjw-fix-ceph-helpers.sh

test: Start using GNU awk and fix archiving directory

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: Fix Typos of Developer Guide 24120/head
李丙洋 10208981 [Mon, 17 Sep 2018 01:59:24 +0000 (09:59 +0800)]
doc: Fix Typos of Developer Guide

Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
6 years agoMerge PR #24023 into master
Patrick Donnelly [Sun, 16 Sep 2018 22:01:01 +0000 (15:01 -0700)]
Merge PR #24023 into master

* refs/pull/24023/head:
mds: prevent rctime from going back

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24022 into master
Patrick Donnelly [Sun, 16 Sep 2018 21:58:38 +0000 (14:58 -0700)]
Merge PR #24022 into master

* refs/pull/24022/head:
client: update ctime when modifying file content

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24048 into master
Patrick Donnelly [Sun, 16 Sep 2018 21:51:17 +0000 (14:51 -0700)]
Merge PR #24048 into master

* refs/pull/24048/head:
mds: use common send message mechanisms
mds: remove dead code

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #24053 into master
Patrick Donnelly [Sun, 16 Sep 2018 21:33:55 +0000 (14:33 -0700)]
Merge PR #24053 into master

* refs/pull/24053/head:
mds: translate CEPH_MDS_STATE_NULL state name as null

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #21992 into master
Patrick Donnelly [Sun, 16 Sep 2018 21:30:28 +0000 (14:30 -0700)]
Merge PR #21992 into master

* refs/pull/21992/head:
qa: extend timeout for SessionMap flush

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agolibrbd: do not invalidate object map when attempting to delete non-existent snapshot 24105/head
Jason Dillaman [Fri, 14 Sep 2018 15:46:13 +0000 (11:46 -0400)]
librbd: do not invalidate object map when attempting to delete non-existent snapshot

If duplicate snapshot remove requests are received by the lock owner from a peer
client, the first request will remove the object map. If the second request
arrives while the first is in-progress, it will again attempt to remove the
object map but fail to load it since it's already been deleted. This incorrectly
results in the next object map being flagged as invalid.

Fixes: http://tracker.ceph.com/issues/24516
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: converted object map snapshot remove state machine to new style
Jason Dillaman [Fri, 14 Sep 2018 15:21:28 +0000 (11:21 -0400)]
librbd: converted object map snapshot remove state machine to new style

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24029 from smithfarm/wip-35922
Kefu Chai [Sun, 16 Sep 2018 16:04:03 +0000 (00:04 +0800)]
Merge pull request #24029 from smithfarm/wip-35922

cmake: no libradosstriper headers if WITH_LIBRADOSSTRIPER=OFF

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
6 years agoMerge pull request #24036 from dillaman/wip-24688
Mykola Golub [Sun, 16 Sep 2018 08:53:04 +0000 (11:53 +0300)]
Merge pull request #24036 from dillaman/wip-24688

rbd-mirror: optionally extract peer secrets from config-key

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24063 from dillaman/wip-24140
Mykola Golub [Sun, 16 Sep 2018 08:52:32 +0000 (11:52 +0300)]
Merge pull request #24063 from dillaman/wip-24140

rbd-mirror: prevent creation of clones when parents are syncing

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24108 from clebergnu/rm_qa_btrfs_binary
Kefu Chai [Sat, 15 Sep 2018 02:17:58 +0000 (10:17 +0800)]
Merge pull request #24108 from clebergnu/rm_qa_btrfs_binary

qa/btrfs/test_rmdir_async_snap: remove binary file

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23989 from dzafman/wip-35846
Josh Durgin [Fri, 14 Sep 2018 23:07:09 +0000 (16:07 -0700)]
Merge pull request #23989 from dzafman/wip-35846

tools: ceph-objectstore-tool: Allow target level as first positional argument

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoqa/btrfs/test_rmdir_async_snap: remove binary file 24108/head
Cleber Rosa [Fri, 14 Sep 2018 17:26:32 +0000 (13:26 -0400)]
qa/btrfs/test_rmdir_async_snap: remove binary file

On a quick look at the source code, I noticed this binary file, which
looks like was committed by mistake.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
6 years agoMerge pull request #23650 from tchaikov/wip-dpdk-cmake 24043/head
Kefu Chai [Fri, 14 Sep 2018 15:44:01 +0000 (23:44 +0800)]
Merge pull request #23650 from tchaikov/wip-dpdk-cmake

cmake: fix the build WITH_DPDK=ON

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agolibrbd: test_flags helper should require snap id parameter
Jason Dillaman [Fri, 14 Sep 2018 13:59:35 +0000 (09:59 -0400)]
librbd: test_flags helper should require snap id parameter

The HEAD and snapshots have potentially different flag states
since object maps get invalidated per revision.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24097 from cyx1231st/fix-seastar-msgr-read-racing
Kefu Chai [Fri, 14 Sep 2018 11:03:54 +0000 (19:03 +0800)]
Merge pull request #24097 from cyx1231st/fix-seastar-msgr-read-racing

crimson/net: Fix racing for promise on_message

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/net: Fix racing for promise on_message 24097/head
Yingxin [Fri, 14 Sep 2018 10:21:07 +0000 (18:21 +0800)]
crimson/net: Fix racing for promise on_message

read_tags_until_next_message() will forward the ready future and create
a new promise for on_message, which assumes there is already a
read_message() holding the previous promise, but it is not true.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agoMerge pull request #23972 from badone/wip-documentation-add-12.2.8-release
Nathan Cutler [Fri, 14 Sep 2018 07:52:59 +0000 (09:52 +0200)]
Merge pull request #23972 from badone/wip-documentation-add-12.2.8-release

doc/releases/schedule: Add Luminous 12.2.8

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #24099 from badone/wip-mimic-13-2-0-date-correction
Nathan Cutler [Fri, 14 Sep 2018 07:52:19 +0000 (09:52 +0200)]
Merge pull request #24099 from badone/wip-mimic-13-2-0-date-correction

doc/releases: Mark Mimic first release as June

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agodoc/releases: Mark Mimic first release as June 24099/head
Brad Hubbard [Fri, 14 Sep 2018 05:05:52 +0000 (15:05 +1000)]
doc/releases: Mark Mimic first release as June

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoMerge pull request #24094 from libingyang-zte/master
Xie Xingguo [Fri, 14 Sep 2018 02:46:48 +0000 (10:46 +0800)]
Merge pull request #24094 from libingyang-zte/master

doc: Fix Typos of Developer Guide

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agodoc: Fix Typos of Developer Guide 24094/head
李丙洋 10208981 [Fri, 14 Sep 2018 01:23:15 +0000 (09:23 +0800)]
doc: Fix Typos of Developer Guide

Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
6 years agocommon: drop is_page_aligned() of buffer::raw entirely. 24087/head
Radoslaw Zarzynski [Thu, 13 Sep 2018 20:54:24 +0000 (22:54 +0200)]
common: drop is_page_aligned() of buffer::raw entirely.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agotest: osd-backfill-stats.sh: Fix subtests to get primary which can change 24088/head
David Zafman [Thu, 13 Sep 2018 20:15:09 +0000 (13:15 -0700)]
test: osd-backfill-stats.sh: Fix subtests to get primary which can change

Fixes: http://tracker.ceph.com/issues/35982
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agotest: Fix for error message changed in ceph-objectstore-tool
David Zafman [Thu, 13 Sep 2018 20:14:15 +0000 (13:14 -0700)]
test: Fix for error message changed in ceph-objectstore-tool

Fixes: http://tracker.ceph.com/issues/35982
Caused by: 6bd682f53dfe0b2f7c31b5c1ba081afb72f1dd6c

Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agocommon: drop/mark-as-final getters of buffer::raw for palign.
Radoslaw Zarzynski [Thu, 13 Sep 2018 19:58:11 +0000 (21:58 +0200)]
common: drop/mark-as-final getters of buffer::raw for palign.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #23896 from Songweibin/wip-group-snap-rollback
Mykola Golub [Thu, 13 Sep 2018 16:35:10 +0000 (19:35 +0300)]
Merge pull request #23896 from Songweibin/wip-group-snap-rollback

rbd: add group snap rollback method

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24077 from alfredodeza/wip-rm35970
Andrew Schoen [Thu, 13 Sep 2018 15:29:54 +0000 (10:29 -0500)]
Merge pull request #24077 from alfredodeza/wip-rm35970

ceph-volume  fix zap not working with LVs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume tests.functional comment why not use --destroy when zapping lvs in filestore 24077/head
Alfredo Deza [Thu, 13 Sep 2018 14:03:06 +0000 (10:03 -0400)]
ceph-volume tests.functional comment why not use --destroy when zapping lvs in filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.functional use --destroy when zapping lvs in bluestore
Alfredo Deza [Thu, 13 Sep 2018 14:00:37 +0000 (10:00 -0400)]
ceph-volume tests.functional use --destroy when zapping lvs in bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoqa/workunits/rbd: new test for rbd-mirror peer config-key secrets 24036/head
Jason Dillaman [Tue, 11 Sep 2018 17:12:24 +0000 (13:12 -0400)]
qa/workunits/rbd: new test for rbd-mirror peer config-key secrets

Fixes: http://tracker.ceph.com/issues/24688
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agodoc/rbd: update mirroring to include new peer secret config-key actions
Jason Dillaman [Tue, 11 Sep 2018 16:01:28 +0000 (12:01 -0400)]
doc/rbd: update mirroring to include new peer secret config-key actions

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agomon: added bootstrap-rbd-mirror/rbd-mirror mon profiles
Jason Dillaman [Tue, 11 Sep 2018 15:55:52 +0000 (11:55 -0400)]
mon: added bootstrap-rbd-mirror/rbd-mirror mon profiles

The rbd-mirror daemon will require permission to read config-keys
from the "rbd/mirror/" prefix. These new profiles (and the new
associated bootstrap-rbd-mirror user) provide the required
permissions.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd: mirror pool peer commands now support mon_host/key overrides
Jason Dillaman [Tue, 11 Sep 2018 14:21:12 +0000 (10:21 -0400)]
rbd: mirror pool peer commands now support mon_host/key overrides

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24024 from p-na/fix-flaky-qa-tests
Kefu Chai [Thu, 13 Sep 2018 13:52:35 +0000 (21:52 +0800)]
Merge pull request #24024 from p-na/fix-flaky-qa-tests

mgr/dashboard: Fix flaky QA tests

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoceph-volume lvm.zap use remove_pv only for physical devices
Alfredo Deza [Thu, 13 Sep 2018 13:34:54 +0000 (09:34 -0400)]
ceph-volume lvm.zap use remove_pv only for physical devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23660 from falcon78921/wip-multisite-docs
Casey Bodley [Thu, 13 Sep 2018 12:53:59 +0000 (08:53 -0400)]
Merge pull request #23660 from falcon78921/wip-multisite-docs

doc: updated multisite documentation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23995 from tchaikov/wip-add-ceph-libboost-repo
Kefu Chai [Thu, 13 Sep 2018 11:40:26 +0000 (19:40 +0800)]
Merge pull request #23995 from tchaikov/wip-add-ceph-libboost-repo

install-deps,run-make-check: use ceph-libboost repo

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Erwan Velu <erwan@redhat.com>
6 years agoMerge pull request #24067 from libingyang-zte/master
Xie Xingguo [Thu, 13 Sep 2018 04:12:47 +0000 (12:12 +0800)]
Merge pull request #24067 from libingyang-zte/master

doc: Fix typos in Developer Guide

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: Fix Spelling Error in Developer Guide 24067/head
李丙洋 10208981 [Thu, 13 Sep 2018 01:17:34 +0000 (09:17 +0800)]
doc: Fix Spelling Error in Developer Guide

Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
6 years agoMerge pull request #23919 from adamemerson/wip-end-to-warnings
Kefu Chai [Thu, 13 Sep 2018 01:04:15 +0000 (09:04 +0800)]
Merge pull request #23919 from adamemerson/wip-end-to-warnings

Clean up warnings

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24018 from dzafman/wip-35912
David Zafman [Wed, 12 Sep 2018 20:15:44 +0000 (13:15 -0700)]
Merge pull request #24018 from dzafman/wip-35912

qa/standalone: Minor test improvements

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24060 from alfredodeza/wip-rm35913
Andrew Schoen [Wed, 12 Sep 2018 19:55:11 +0000 (14:55 -0500)]
Merge pull request #24060 from alfredodeza/wip-rm35913

ceph-volume batch: allow --osds-per-device, default it to 1

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoqa: extend timeout for SessionMap flush 21992/head
Patrick Donnelly [Mon, 14 May 2018 22:19:51 +0000 (15:19 -0700)]
qa: extend timeout for SessionMap flush

Fixes: https://tracker.ceph.com/issues/24129
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoceph-volume tests.lvm.strategies initial filestore validation 24060/head
Alfredo Deza [Wed, 12 Sep 2018 13:44:32 +0000 (09:44 -0400)]
ceph-volume tests.lvm.strategies initial filestore validation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.tests conftest fixtures for custom vgs
Alfredo Deza [Tue, 11 Sep 2018 20:53:54 +0000 (16:53 -0400)]
ceph-volume lvm.tests conftest fixtures for custom vgs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.devices.lvm add bluestore strategy cases
Alfredo Deza [Tue, 11 Sep 2018 20:53:05 +0000 (16:53 -0400)]
ceph-volume tests.devices.lvm add bluestore strategy cases

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests verify strategy validators for minimum size
Alfredo Deza [Tue, 11 Sep 2018 16:57:21 +0000 (12:57 -0400)]
ceph-volume tests verify strategy validators for minimum size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.filestore allow osds-per-device
Alfredo Deza [Tue, 11 Sep 2018 16:12:48 +0000 (12:12 -0400)]
ceph-volume lvm.batch.filestore allow osds-per-device

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agorbd-mirror: connect to remote cluster using optional mon_host/key values
Jason Dillaman [Tue, 11 Sep 2018 12:21:06 +0000 (08:21 -0400)]
rbd-mirror: connect to remote cluster using optional mon_host/key values

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: prevent creation of clones when parents are syncing 24063/head
Jason Dillaman [Wed, 12 Sep 2018 18:04:49 +0000 (14:04 -0400)]
rbd-mirror: prevent creation of clones when parents are syncing

This will prevent a possible race condition where a thrashing rbd-mirror
daemon in mid-sync with a parent image would result in the deletion of
all snapshots when it restarts the sync.

Fixes: http://tracker.ceph.com/issues/24140
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agocls_cas: Fix format string warning 23919/head
Adam C. Emerson [Wed, 12 Sep 2018 17:02:18 +0000 (13:02 -0400)]
cls_cas: Fix format string warning

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoMerge PR #24025 into master
Sage Weil [Wed, 12 Sep 2018 16:51:58 +0000 (11:51 -0500)]
Merge PR #24025 into master

* refs/pull/24025/head:
mon/OSDMonitor: reject pg_num -> 0

Reviewed-by: huangjun <huangjun@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #21611 into master
Sage Weil [Wed, 12 Sep 2018 16:47:13 +0000 (11:47 -0500)]
Merge PR #21611 into master

* refs/pull/21611/head:
osd/ECBackend: don't get result code of subchunk-read overwritten

Reviewed-by: David Zafman <dzafman@redhat.com>
6 years agoMerge PR #23273 into master
Sage Weil [Wed, 12 Sep 2018 16:46:56 +0000 (11:46 -0500)]
Merge PR #23273 into master

* refs/pull/23273/head:
os/bluestore: handle spurious read errors

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge PR #23694 into master
Sage Weil [Wed, 12 Sep 2018 16:46:42 +0000 (11:46 -0500)]
Merge PR #23694 into master

* refs/pull/23694/head:
mon: remove pre-luminous health output compatibility

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agotest: Remove unused variable
Adam C. Emerson [Tue, 4 Sep 2018 18:48:57 +0000 (14:48 -0400)]
test: Remove unused variable

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomds: Remove pessimizing move
Adam C. Emerson [Tue, 4 Sep 2018 18:25:08 +0000 (14:25 -0400)]
mds: Remove pessimizing move

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agotest: Silence unused capture warnings
Adam C. Emerson [Tue, 4 Sep 2018 18:24:31 +0000 (14:24 -0400)]
test: Silence unused capture warnings

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agotest: Fix sprintf overflow warning
Adam C. Emerson [Tue, 4 Sep 2018 17:51:27 +0000 (13:51 -0400)]
test: Fix sprintf overflow warning

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agotest: Quell unused variable warnings
Adam C. Emerson [Thu, 30 Aug 2018 15:27:06 +0000 (11:27 -0400)]
test: Quell unused variable warnings

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agotest: Fix sign comparison warnings
Adam C. Emerson [Wed, 29 Aug 2018 19:39:09 +0000 (15:39 -0400)]
test: Fix sign comparison warnings

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoMerge PR #24035 into master
Sage Weil [Wed, 12 Sep 2018 16:40:20 +0000 (11:40 -0500)]
Merge PR #24035 into master

* refs/pull/24035/head:
osd/PG: avoid choose_acting picking want with > pool size items

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #24052 into master
Patrick Donnelly [Wed, 12 Sep 2018 16:14:28 +0000 (09:14 -0700)]
Merge PR #24052 into master

* refs/pull/24052/head:
doc: update mds stat output

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge pull request #24032 from liewegas/wip-pg-ls
Kefu Chai [Wed, 12 Sep 2018 15:43:50 +0000 (23:43 +0800)]
Merge pull request #24032 from liewegas/wip-pg-ls

mon/PGMap: include unknown PGs in 'pg ls'

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: David Zafman <dzafman@redhat.com>
6 years agoMerge pull request #24040 from rzarzynski/wip-common-bl-drop-raw_mmap_pages
Kefu Chai [Wed, 12 Sep 2018 15:42:52 +0000 (23:42 +0800)]
Merge pull request #24040 from rzarzynski/wip-common-bl-drop-raw_mmap_pages

common: drop the unused buffer::raw_mmap_pages.

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agorbd: sort to display group image by name 23896/head
songweibin [Mon, 3 Sep 2018 07:15:38 +0000 (15:15 +0800)]
rbd: sort to display group image by name

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agopybind/rbd: new group snap rollback Python API
songweibin [Mon, 3 Sep 2018 07:09:46 +0000 (15:09 +0800)]
pybind/rbd: new group snap rollback Python API

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agotools/rbd: support group snap rollback CLI
songweibin [Thu, 23 Aug 2018 03:09:26 +0000 (11:09 +0800)]
tools/rbd: support group snap rollback CLI

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agolibrbd: minor cleanup in api/Group.cc
songweibin [Wed, 12 Sep 2018 12:07:29 +0000 (20:07 +0800)]
librbd: minor cleanup in api/Group.cc

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agolibrbd: add group snap rollback method
songweibin [Tue, 31 Jul 2018 08:53:24 +0000 (16:53 +0800)]
librbd: add group snap rollback method

Fixes: http://tracker.ceph.com/issues/23550
Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agocephfs: Do not catch polymorphic exception by value
Adam C. Emerson [Wed, 29 Aug 2018 19:37:17 +0000 (15:37 -0400)]
cephfs: Do not catch polymorphic exception by value

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agocrush: Quell unused variable warnings
Adam C. Emerson [Wed, 29 Aug 2018 17:25:20 +0000 (13:25 -0400)]
crush: Quell unused variable warnings

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoceph-volume lvm.batch.validators account for osds per device, include collocation
Alfredo Deza [Tue, 11 Sep 2018 16:11:01 +0000 (12:11 -0400)]
ceph-volume lvm.batch.validators account for osds per device, include collocation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.bluestore allow osds-per-device with MixedType
Alfredo Deza [Mon, 10 Sep 2018 21:57:44 +0000 (17:57 -0400)]
ceph-volume lvm.batch.bluestore allow osds-per-device with MixedType

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #24042 from liewegas/wip-merge-derr
Kefu Chai [Wed, 12 Sep 2018 15:34:48 +0000 (23:34 +0800)]
Merge pull request #24042 from liewegas/wip-merge-derr

osd: remove stray derr

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23996 from mogeb/fmt-cmake
Kefu Chai [Wed, 12 Sep 2018 15:32:53 +0000 (23:32 +0800)]
Merge pull request #23996 from mogeb/fmt-cmake

cmake: fix version matching for Findfmt

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24013 from dzafman/wip-35845
Kefu Chai [Wed, 12 Sep 2018 15:00:39 +0000 (23:00 +0800)]
Merge pull request #24013 from dzafman/wip-35845

test: Use a grep pattern that works across releases

Reviewed-by: Kefu Chai <kchai@redhat.com>