]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoosd/osd_types: fix pg_t::contains() to check pool id too
Sage Weil [Thu, 13 Sep 2018 18:31:40 +0000 (13:31 -0500)]
osd/osd_types: fix pg_t::contains() to check pool id too

This is used by bluestore fsck to ensure we're looking at the right
collection.  It needs to validate both that the pool id matches the
object (including the temp objects) and that the hash matches; we were
only checking the hash before.

Fixes: http://tracker.ceph.com/issues/32731
Signed-off-by: Sage Weil <sage@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 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 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 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>
6 years agoMerge pull request #24045 from dillaman/wip-35702
Mykola Golub [Wed, 12 Sep 2018 14:48:15 +0000 (17:48 +0300)]
Merge pull request #24045 from dillaman/wip-35702

librbd: fixed assert when flattening clone with zero overlap

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24030 from LenzGr/mgr-dashboard-documentation
Lenz Grimmer [Wed, 12 Sep 2018 14:01:29 +0000 (16:01 +0200)]
Merge pull request #24030 from LenzGr/mgr-dashboard-documentation

doc: Updated Mgr Dashboard documentation

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #24055 from sebastian-philipp/kubejacker-opensuse-mimic
John Spray [Wed, 12 Sep 2018 10:25:44 +0000 (11:25 +0100)]
Merge pull request #24055 from sebastian-philipp/kubejacker-opensuse-mimic

script/kubejacker: Add openSUSE based images

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoscript/kubejacker: Add openSUSE based images 24055/head
Sebastian Wagner [Wed, 12 Sep 2018 08:32:53 +0000 (10:32 +0200)]
script/kubejacker: Add openSUSE based images

* Added executable bit of `kubejacker.sh`.
* Reduced the number of `RUN` commands
* Added zypper commands for SUSE.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/dashboard: Cleanup 24024/head
Patrick Nawracay [Tue, 11 Sep 2018 09:11:49 +0000 (11:11 +0200)]
mgr/dashboard: Cleanup

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agomgr/dashboard: Fix flaky QA tests
Patrick Nawracay [Tue, 11 Sep 2018 06:53:56 +0000 (08:53 +0200)]
mgr/dashboard: Fix flaky QA tests

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agodoc: update mds stat output 24052/head
Jos Collin [Wed, 12 Sep 2018 04:57:22 +0000 (10:27 +0530)]
doc: update mds stat output

Signed-off-by: Jos Collin <jcollin@redhat.com>
6 years agolibrbd: fixed assert when flattening clone with zero overlap 24045/head
Jason Dillaman [Wed, 12 Sep 2018 01:52:05 +0000 (21:52 -0400)]
librbd: fixed assert when flattening clone with zero overlap

Fixes: http://tracker.ceph.com/issues/35702
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agomon/OSDMonitor: reject pg_num -> 0 24025/head
xie xingguo [Tue, 11 Sep 2018 08:29:36 +0000 (16:29 +0800)]
mon/OSDMonitor: reject pg_num -> 0

Otherwise it will finally crash the mgr process:
```
-2> 2018-09-11 16:23:31.272 7ff521d59700 -1 /clove/xxG/ceph/src/osd/osd_types.cc: In function 'pg_t pg_t::get_parent() const'
 thread 7ff521d59700 time 2018-09-11 16:23:31.272096
/clove/xxG/ceph/src/osd/osd_types.cc: 587: FAILED ceph_assert(bits)
```

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23941 from trociny/wip-23445
Jason Dillaman [Wed, 12 Sep 2018 00:49:28 +0000 (20:49 -0400)]
Merge pull request #23941 from trociny/wip-23445

librbd: flatten operation should use object map

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #22675 from nuyhah/fix_block_name_prefix
Jason Dillaman [Wed, 12 Sep 2018 00:48:23 +0000 (20:48 -0400)]
Merge pull request #22675 from nuyhah/fix_block_name_prefix

librbd: block_name_prefix is not created randomly

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23790 from iridescent-rsy/myfix
Jason Dillaman [Wed, 12 Sep 2018 00:48:08 +0000 (20:48 -0400)]
Merge pull request #23790 from iridescent-rsy/myfix

librbd: remove template declaration of a non-template function

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23853 from zy751713126/add_protect_snapshot_list
Jason Dillaman [Wed, 12 Sep 2018 00:47:52 +0000 (20:47 -0400)]
Merge pull request #23853 from zy751713126/add_protect_snapshot_list

rbd: add protected in snap list

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24009 from trociny/wip-test-migration-other-pool
Jason Dillaman [Wed, 12 Sep 2018 00:46:02 +0000 (20:46 -0400)]
Merge pull request #24009 from trociny/wip-test-migration-other-pool

test/librbd: migration tests did not delete additional pool

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoosd: remove stray derr 24042/head
Sage Weil [Tue, 11 Sep 2018 21:25:41 +0000 (16:25 -0500)]
osd: remove stray derr

This was debug output that crept into the final commit.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agolibrbd: block_name_prefix is not created randomly 22675/head
hyun-ha [Fri, 22 Jun 2018 16:10:20 +0000 (01:10 +0900)]
librbd: block_name_prefix is not created randomly

fixes: http://tracker.ceph.com/issues/24634
Signed-off-by: hyun ha hyun.ha@navercorp.com
6 years agomon/PGMap: allow 'pg ls unknown' 24032/head
Sage Weil [Tue, 11 Sep 2018 18:36:39 +0000 (13:36 -0500)]
mon/PGMap: allow 'pg ls unknown'

"unknown" is annoying because it is 0 and needs a special case.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23702 from Rubab-Syed/rgw-orchestrator-rook
John Spray [Tue, 11 Sep 2018 18:36:26 +0000 (19:36 +0100)]
Merge pull request #23702 from Rubab-Syed/rgw-orchestrator-rook

mgr/orchestrator: Add RGW service support

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agomon/PGMap: include unknown PGs in 'pg ls [all]'
Sage Weil [Tue, 11 Sep 2018 14:29:58 +0000 (09:29 -0500)]
mon/PGMap: include unknown PGs in 'pg ls [all]'

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #23908 into master
Patrick Donnelly [Tue, 11 Sep 2018 18:27:23 +0000 (11:27 -0700)]
Merge PR #23908 into master

* refs/pull/23908/head:
client: retry remount on dcache invalidation failure

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #23691 into master
Patrick Donnelly [Tue, 11 Sep 2018 18:26:31 +0000 (11:26 -0700)]
Merge PR #23691 into master

* refs/pull/23691/head:
client:two ceph-fuse client, one can not list out files created by another.

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #23323 into master
Patrick Donnelly [Tue, 11 Sep 2018 18:24:50 +0000 (11:24 -0700)]
Merge PR #23323 into master

* refs/pull/23323/head:
client: set f_files to the total number of files in the filesystem

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #23314 into master
Patrick Donnelly [Tue, 11 Sep 2018 18:22:40 +0000 (11:22 -0700)]
Merge PR #23314 into master

* refs/pull/23314/head:
mds: include session uptime when diplaying session list
mds: track average uptime of sessions

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23954 from zy751713126/clear_snap_limit
Jason Dillaman [Tue, 11 Sep 2018 18:22:14 +0000 (14:22 -0400)]
Merge pull request #23954 from zy751713126/clear_snap_limit

rbd: simplified code to remove do_clear_limit function

6 years agoMerge PR #23198 into master
Patrick Donnelly [Tue, 11 Sep 2018 18:15:44 +0000 (11:15 -0700)]
Merge PR #23198 into master

* refs/pull/23198/head:
mds: optimize acquiring locks
mds: reduce memory fragments of EMetaBlob
mds: optimize memory allocation in CInode::encode_inodestat
mds: convert MDSCacheObject::ref_map to flat_map

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #23199 into master
Patrick Donnelly [Tue, 11 Sep 2018 17:56:22 +0000 (10:56 -0700)]
Merge PR #23199 into master

* refs/pull/23199/head:
script: backport-create-issue: optionally take list of issue numbers

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #23728 into master
Patrick Donnelly [Tue, 11 Sep 2018 17:44:04 +0000 (10:44 -0700)]
Merge PR #23728 into master

* refs/pull/23728/head:
doc: suppored features of kernel client

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agocommon: drop the unused buffer::raw_mmap_pages. 24040/head
Radoslaw Zarzynski [Tue, 11 Sep 2018 17:25:39 +0000 (19:25 +0200)]
common: drop the unused buffer::raw_mmap_pages.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge PR #23824 into master
Patrick Donnelly [Tue, 11 Sep 2018 17:14:20 +0000 (10:14 -0700)]
Merge PR #23824 into master

* refs/pull/23824/head:
doc/cephfs: add notes on application best practices

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoscript: backport-create-issue: optionally take list of issue numbers 23199/head
Nathan Cutler [Tue, 24 Jul 2018 08:11:35 +0000 (10:11 +0200)]
script: backport-create-issue: optionally take list of issue numbers

Make the script optionally take a comma-separated list of issue numbers.
(Could be just one issue.)

Before this patch, backport-create-issue script insisted on looping over all
issues in Pending Backport status. This was cumbersome in cases when only
one issue (or a couple issues) needed to be processed.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agoosd/PG: avoid choose_acting picking want with > pool size items 24035/head
Sage Weil [Tue, 11 Sep 2018 16:12:22 +0000 (11:12 -0500)]
osd/PG: avoid choose_acting picking want with > pool size items

If the pool size recently changed, we might see an up that is larger than
the pool size.  Or, we might already have selected a primary that is not
part of up, and then add all up osds and end up with a want that is too
big.

Fixes: http://tracker.ceph.com/issues/35924
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #21379 from pritha-srivastava/wip-rgw-user-policy
Matt Benjamin [Tue, 11 Sep 2018 16:10:28 +0000 (12:10 -0400)]
Merge pull request #21379 from pritha-srivastava/wip-rgw-user-policy

rgw: User Policy

6 years agoceph-volume lvm.batch.bluestore allow osds-per-device with SingleType
Alfredo Deza [Mon, 10 Sep 2018 21:01:57 +0000 (17:01 -0400)]
ceph-volume lvm.batch.bluestore allow osds-per-device with SingleType

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch add --osds-per-device flag, defaulting to 1
Alfredo Deza [Mon, 10 Sep 2018 20:12:59 +0000 (16:12 -0400)]
ceph-volume lvm.batch add --osds-per-device flag, defaulting to 1

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23497 from noahdesu/insights
John Spray [Tue, 11 Sep 2018 14:56:10 +0000 (15:56 +0100)]
Merge pull request #23497 from noahdesu/insights

mgr/insights: insights reporting module

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #23146 from jcsp/wip-progress
John Spray [Tue, 11 Sep 2018 14:37:51 +0000 (15:37 +0100)]
Merge pull request #23146 from jcsp/wip-progress

mgr/progress: improve+test OSD out handling

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
6 years agoMerge pull request #23897 from votdev/improve_delete_modal
Lenz Grimmer [Tue, 11 Sep 2018 14:37:15 +0000 (16:37 +0200)]
Merge pull request #23897 from votdev/improve_delete_modal

mgr/dashboard: Make deletion dialog more touch device friendly

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #24016 from votdev/bug_35907
Lenz Grimmer [Tue, 11 Sep 2018 14:28:16 +0000 (16:28 +0200)]
Merge pull request #24016 from votdev/bug_35907

mgr/dashboard: Progress bar does not stop in TableKeyValueComponent

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge PR #22987 into master
Sage Weil [Tue, 11 Sep 2018 14:27:51 +0000 (09:27 -0500)]
Merge PR #22987 into master

* refs/pull/22987/head:
common,rgw: rename sha1_digest_t
osd: decrement old chunk's reference count if the chunk has a reference.
src/test: add a unit test
osd: using fingerprint OID if fingerprint is set
osd: add flag interfaces in chunk_info_t
common/buffer.cc: add sha1 fingerprint
osd: add fingerprint property
mon: add a command to set fingerprint algorithm

6 years agoMerge PR #24006 into master
Sage Weil [Tue, 11 Sep 2018 14:27:34 +0000 (09:27 -0500)]
Merge PR #24006 into master

* refs/pull/24006/head:
osd/OSD: clear ping_history on heartbeat_reset
mon/OSDMonitor: share new maps with even non-active osds

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24010 into master
Sage Weil [Tue, 11 Sep 2018 14:27:17 +0000 (09:27 -0500)]
Merge PR #24010 into master

* refs/pull/24010/head:
osd/OSD: kick right merge source
mgr/DaemonServer: split should respect inflight creating pgs

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agorun-make-check,do_cmake: set BOOST_J if !WITH_SYSTEM_BOOS 23995/head
Kefu Chai [Sun, 9 Sep 2018 08:07:07 +0000 (16:07 +0800)]
run-make-check,do_cmake: set BOOST_J if !WITH_SYSTEM_BOOS

it's also more readable if we can set the number of make jobs
in a single place.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: always add ${Boost_INCLUDE_DIRS} to include dirs
Kefu Chai [Sun, 9 Sep 2018 07:48:14 +0000 (15:48 +0800)]
cmake: always add ${Boost_INCLUDE_DIRS} to include dirs

we need to -I${Boost_INCLUDE_DIRS} if WITH_SYSTEM_BOOST=ON and boost is
found by FindBoost.cmake.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: support multi-arch lib directory used along with BOOST_ROOT
Kefu Chai [Sun, 9 Sep 2018 07:20:01 +0000 (15:20 +0800)]
cmake: support multi-arch lib directory used along with BOOST_ROOT

by default, debian packaging creates ${prefix}/lib/x86_64-linux-gnu for
multi-arch support. but FindBoost.cmake does not check in such a
directory if $BOOST_ROOT is set. in this change, this directory is added
to the search path.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoinstall-deps,run-make-check: use ceph-libboost repo
Kefu Chai [Sat, 8 Sep 2018 15:06:45 +0000 (23:06 +0800)]
install-deps,run-make-check: use ceph-libboost repo

ceph-libboost1.67 repo is setup to satisfy the libboost dependencies
used when building ceph. now it offers arm64 and amd64 builds for xenial.

* install-deps.sh: add ceph-libboost1.67 repo hosted on chacra if the
  building host does not have any of the listed ceph-libboost1.67
  packages installed
* run-make-check.sh: add "-DWITH_SYSTEM_BOOST=ON
  -DBOOST_ROOT=/opt/ceph" if include/boost/config.hpp is found
  under /opt/ceph

See-also: http://tracker.ceph.com/issues/25186
Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake/modules: add FindBoost.cmake
Kefu Chai [Sat, 8 Sep 2018 17:31:28 +0000 (01:31 +0800)]
cmake/modules: add FindBoost.cmake

the FindBoost.cmake shipped by cmake 3.5.1 is not new enough to identify
the dependencies of boost 1.63 and up. so we need to copy the
FindBoost.cmake from cmake upstream. it supports up to boost 1.68.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23464 from wido/influx-optimize
John Spray [Tue, 11 Sep 2018 14:16:12 +0000 (15:16 +0100)]
Merge pull request #23464 from wido/influx-optimize

mgr/influx: Use Queue to store points which need to be written

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #24019 from alfredodeza/wip-rm34535
Andrew Schoen [Tue, 11 Sep 2018 14:09:27 +0000 (09:09 -0500)]
Merge pull request #24019 from alfredodeza/wip-rm34535

ceph-volume  batch carve out lvs for bluestore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agodoc: Updated Mgr Dashboard documentation 24030/head
Lenz Grimmer [Tue, 11 Sep 2018 13:43:46 +0000 (15:43 +0200)]
doc: Updated Mgr Dashboard documentation

Fixed a typo, added a note about the embedding of Grafana dashboards
still being WIP.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agodoc: suppored features of kernel client 23728/head
Yan, Zheng [Fri, 24 Aug 2018 09:30:18 +0000 (17:30 +0800)]
doc: suppored features of kernel client

Fixes: http://tracker.ceph.com/issues/27209
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
6 years agoMerge pull request #23957 from tchaikov/wip-crimson-logging
Kefu Chai [Tue, 11 Sep 2018 13:18:17 +0000 (21:18 +0800)]
Merge pull request #23957 from tchaikov/wip-crimson-logging

common,auth,crimson: add logging to crimson

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
6 years agoMerge pull request #23992 from badone/wip-librados-client-unique-ptr-compile-error
Kefu Chai [Tue, 11 Sep 2018 12:27:36 +0000 (20:27 +0800)]
Merge pull request #23992 from badone/wip-librados-client-unique-ptr-compile-error

librados: Include memory for unique_ptr definition

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23723 from xiexingguo/wip-list-missing
Kefu Chai [Tue, 11 Sep 2018 12:25:21 +0000 (20:25 +0800)]
Merge pull request #23723 from xiexingguo/wip-list-missing

osd/PrimaryLogPG: rename list_missing -> list_unfound command

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23921 from croit/fix-35544
Kefu Chai [Tue, 11 Sep 2018 12:23:56 +0000 (20:23 +0800)]
Merge pull request #23921 from croit/fix-35544

osd/OSDMap: add osd status to utilization dumper

Reviewed-by: Sage Weil <sage@redhat.com>