]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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 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 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 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 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 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 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 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 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>
6 years agoMerge pull request #23488 from xiaomanh/master
Kefu Chai [Tue, 11 Sep 2018 12:23:27 +0000 (20:23 +0800)]
Merge pull request #23488 from xiaomanh/master

tools: correct the description of Allowed options in osdomap tool

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: Updated Mgr Dashboard feature description, added references
Lenz Grimmer [Tue, 11 Sep 2018 12:12:04 +0000 (14:12 +0200)]
doc: Updated Mgr Dashboard feature description, added references

Reworded the description of the user/role management feature, clarified
that it can be configured on both the CLI and the WebUI. Added labels for
referencing the user/role management and SSL configuration sections.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agomgr/dashboard: Make deletion dialog more touch device friendly 23897/head
Volker Theile [Mon, 3 Sep 2018 14:29:29 +0000 (16:29 +0200)]
mgr/dashboard: Make deletion dialog more touch device friendly

* Refactor deletion dialog
* Add directives.module.ts to be able to use 'autofocus' in deletion dialog

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoqa: add task for progress module 23146/head
John Spray [Fri, 20 Jul 2018 17:30:16 +0000 (13:30 -0400)]
qa: add task for progress module

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agoqa: add 4th OSD to mgr test cluster
John Spray [Fri, 20 Jul 2018 17:28:38 +0000 (13:28 -0400)]
qa: add 4th OSD to mgr test cluster

This is useful for testing progress module.

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agoqa: add tests for progress module
John Spray [Fri, 20 Jul 2018 12:22:31 +0000 (08:22 -0400)]
qa: add tests for progress module

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agomgr/progress: no progress event on unmoved pgs
John Spray [Tue, 24 Jul 2018 22:40:41 +0000 (18:40 -0400)]
mgr/progress: no progress event on unmoved pgs

PGs may not be moved on osd out, if there is no suitable
location for them to move to.  In this situation
it doesn't make sense to have a progress event, as the
health warnings adequately communicate the situation.

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agomgr/progress: fix PgRecoveryEvent completion cases
John Spray [Fri, 20 Jul 2018 12:22:23 +0000 (08:22 -0400)]
mgr/progress: fix PgRecoveryEvent completion cases

The event was previously not getting moved to the completed
list.  There are a couple more cases too:
 - When some pgs go away (a pool is removed) during the event
 - When the OSD comes back in after going out

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agomgr: expose osdmap pg_to_up_acting_osds
John Spray [Mon, 9 Oct 2017 16:08:38 +0000 (17:08 +0100)]
mgr: expose osdmap pg_to_up_acting_osds

It's not efficient to have python calling this
O(pg_num) times to find the pgs for an OSD, but
I'm just shooting for something functional for now.

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #23910 from votdev/improve_autofocus_directive
Lenz Grimmer [Tue, 11 Sep 2018 09:56:56 +0000 (11:56 +0200)]
Merge pull request #23910 from votdev/improve_autofocus_directive

mgr/dashboard: Refactor autofocus directive

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agorbd: add protected in snap list 23853/head
zhengyin [Sun, 2 Sep 2018 13:44:32 +0000 (09:44 -0400)]
rbd: add protected in snap list

Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
6 years agoMerge pull request #23752 from ifed01/wip-ifed-fix-garbage-test
Kefu Chai [Tue, 11 Sep 2018 09:10:37 +0000 (17:10 +0800)]
Merge pull request #23752 from ifed01/wip-ifed-fix-garbage-test

os/tests: fix garbageCollection test case from store_test suite.

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24021 from libingyang-zte/master
Xie Xingguo [Tue, 11 Sep 2018 08:47:48 +0000 (16:47 +0800)]
Merge pull request #24021 from libingyang-zte/master

doc: Fix Spelling Error of Radosgw

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agodoc: Fix Spelling Error of Radosgw 24021/head
李丙洋 10208981 [Tue, 11 Sep 2018 02:11:22 +0000 (10:11 +0800)]
doc: Fix Spelling Error of Radosgw

Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
6 years agoqa/tasks/mgr: whitelist insights test health checks 23497/head
Noah Watkins [Mon, 10 Sep 2018 22:02:49 +0000 (15:02 -0700)]
qa/tasks/mgr: whitelist insights test health checks

these drive health history tracking tests.

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
6 years agoMerge pull request #23602 from smanjara/wip-test-netem
vasukulkarni [Mon, 10 Sep 2018 16:57:10 +0000 (09:57 -0700)]
Merge pull request #23602 from smanjara/wip-test-netem

qa: Task to emulate network delay and packet drop between two given h…

6 years agomgr/dashboard: Progress bar does not stop in TableKeyValueComponent 24016/head
Volker Theile [Mon, 10 Sep 2018 15:27:58 +0000 (17:27 +0200)]
mgr/dashboard: Progress bar does not stop in TableKeyValueComponent

Fixes: https://tracker.ceph.com/issues/35907
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoceph-volume tests.util verify Disk objects don't change state with divisions 24019/head
Alfredo Deza [Mon, 10 Sep 2018 16:28:57 +0000 (12:28 -0400)]
ceph-volume tests.util verify Disk objects don't change state with divisions

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util.disk fix an issue where Disk objects would mutate on div operations
Alfredo Deza [Mon, 10 Sep 2018 16:18:49 +0000 (12:18 -0400)]
ceph-volume util.disk fix an issue where Disk objects would mutate on div operations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util.prepare add a helper to get block.db sizes from ceph.conf
Alfredo Deza [Mon, 10 Sep 2018 16:09:50 +0000 (12:09 -0400)]
ceph-volume util.prepare add a helper to get block.db sizes from ceph.conf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.bluestore add TODOs for custom fast/slow devices
Alfredo Deza [Mon, 10 Sep 2018 16:09:15 +0000 (12:09 -0400)]
ceph-volume lvm.batch.bluestore add TODOs for custom fast/slow devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years ago-f ceph-volume lvm.batch.bluestore validation and reporting with VG reuse
Alfredo Deza [Mon, 10 Sep 2018 16:08:35 +0000 (12:08 -0400)]
-f  ceph-volume lvm.batch.bluestore validation and reporting with VG reuse

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agotest: Use a grep pattern that works across releases 24013/head
David Zafman [Mon, 10 Sep 2018 15:20:54 +0000 (08:20 -0700)]
test: Use a grep pattern that works across releases

Fixes: http://tracker.ceph.com/issues/35845
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agodoc/cephfs: add notes on application best practices 23824/head
John Spray [Thu, 30 Aug 2018 13:21:16 +0000 (14:21 +0100)]
doc/cephfs: add notes on application best practices

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #23997 from batrick/multimds-qa-broken-symlink
Sage Weil [Mon, 10 Sep 2018 14:26:12 +0000 (09:26 -0500)]
Merge pull request #23997 from batrick/multimds-qa-broken-symlink

qa: fix symlink

6 years agoMerge PR #23965 into master
Sage Weil [Mon, 10 Sep 2018 14:23:32 +0000 (09:23 -0500)]
Merge PR #23965 into master

* refs/pull/23965/head:
doc/dev/msgr2: better formatting
doc/dev/msgr2: clarify padding alignment
doc/dev/msgr2: tweak message flow handshake
doc/dev/msgr2: remove stream concept, streamline auth

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agocmake: fix version matching for Findfmt 23996/head
Mohamad Gebai [Sat, 8 Sep 2018 15:45:55 +0000 (11:45 -0400)]
cmake: fix version matching for Findfmt

Signed-off-by: Mohamad Gebai <mgebai@suse.com>
6 years agoceph-volume lvm.batch fix error reporting, Device objects aren't strings
Alfredo Deza [Fri, 7 Sep 2018 18:11:33 +0000 (14:11 -0400)]
ceph-volume lvm.batch fix error reporting, Device objects aren't strings

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.bluestore validation and reporting with VG reuse
Alfredo Deza [Fri, 7 Sep 2018 18:06:13 +0000 (14:06 -0400)]
ceph-volume lvm.batch.bluestore validation and reporting with VG reuse

Reworks the bluestore validation and reporting to account for reusable
VGs from fast devices, and adds validation calls to ensure the new way
to calculate this process will work.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.filestore capture SizeAllocationErrors
Alfredo Deza [Fri, 7 Sep 2018 18:04:58 +0000 (14:04 -0400)]
ceph-volume lvm.batch.filestore capture SizeAllocationErrors

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch make sure data devices don't have existing LVs on bluestore
Alfredo Deza [Thu, 6 Sep 2018 17:03:58 +0000 (13:03 -0400)]
ceph-volume lvm.batch make sure data devices don't have existing LVs on bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agolibrbd: flatten operation should use object map 23941/head
Mykola Golub [Wed, 5 Sep 2018 17:24:00 +0000 (20:24 +0300)]
librbd: flatten operation should use object map

If the object is known to exist in the image, the copy-up operation
can be skipped for that object.

Fixes: http://tracker.ceph.com/issues/23445
Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agolibrbd: add object_may_not_exist helper
Mykola Golub [Fri, 7 Sep 2018 11:20:00 +0000 (14:20 +0300)]
librbd: add object_may_not_exist helper

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #21271 from cbodley/wip-rgw-beast-async
Casey Bodley [Mon, 10 Sep 2018 13:05:57 +0000 (09:05 -0400)]
Merge pull request #21271 from cbodley/wip-rgw-beast-async

rgw: beast frontend reworks pause/stop and yields during body io

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoMerge PR #23845 into master
Sage Weil [Mon, 10 Sep 2018 12:45:58 +0000 (07:45 -0500)]
Merge PR #23845 into master

* refs/pull/23845/head:
osd/OSDMap: include age in up and in counts for ceph status
mon/OSDMonitor: set new_last_{up,in}_change
osd/OSDMap: store last_up_change and last_in_change
mgr/MgrMap: include mgr age in map printer
mon/MgrMap: track active_changed timestamp
mon: include mon quorum age in status
include/utime: add utimespan_str helper

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge PR #23949 into master
Sage Weil [Mon, 10 Sep 2018 12:41:44 +0000 (07:41 -0500)]
Merge PR #23949 into master

* refs/pull/23949/head:
mon/OSDMonitor: invalidate max_failed_since on cancel_report

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #23968 into master
Sage Weil [Mon, 10 Sep 2018 12:41:25 +0000 (07:41 -0500)]
Merge PR #23968 into master

* refs/pull/23968/head:
dout: add basic prefix providers
dout: add DoutPrefixPipe for composing prefix providers

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #23971 into master
Sage Weil [Mon, 10 Sep 2018 12:41:03 +0000 (07:41 -0500)]
Merge PR #23971 into master

* refs/pull/23971/head:
cls/numops: fix cls_numops.cc log add to mul

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge PR #23975 into master
Sage Weil [Mon, 10 Sep 2018 12:40:37 +0000 (07:40 -0500)]
Merge PR #23975 into master

* refs/pull/23975/head:
common/buffer.cc: add create_small_page_aligned to avoid mem waste when apply for small mem in big page size(e.g. 64k) OS

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23939 from votdev/bug_35685
Lenz Grimmer [Mon, 10 Sep 2018 12:29:24 +0000 (14:29 +0200)]
Merge pull request #23939 from votdev/bug_35685

mgr/dashboard: Fix bug in user form when changing password

Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoosd/OSD: kick right merge source 24010/head
xie xingguo [Mon, 10 Sep 2018 12:01:24 +0000 (20:01 +0800)]
osd/OSD: kick right merge source

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agotest/librbd: migration tests did not delete additional pool 24009/head
Mykola Golub [Mon, 10 Sep 2018 11:33:53 +0000 (14:33 +0300)]
test/librbd: migration tests did not delete additional pool

Instead of creating an additional pool on every migration test
that needs it, create a pool on the test case setup and reuse.

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #23839 from trociny/wip-migration-commit-race
Jason Dillaman [Mon, 10 Sep 2018 11:27:24 +0000 (07:27 -0400)]
Merge pull request #23839 from trociny/wip-migration-commit-race

librbd: fix potential live migration after commit issues due to not refreshed image header

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoosd/OSD: clear ping_history on heartbeat_reset 24006/head
xie xingguo [Mon, 10 Sep 2018 02:15:23 +0000 (10:15 +0800)]
osd/OSD: clear ping_history on heartbeat_reset

Because the old connections are gone, and hence we should not
leave behind a long list of obsolete ping_history there, which
is misleading...

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agomon/OSDMonitor: share new maps with even non-active osds
xie xingguo [Mon, 10 Sep 2018 07:15:17 +0000 (15:15 +0800)]
mon/OSDMonitor: share new maps with even non-active osds

OSDs may not be aware of their deadness and trapped at
an obsolete map in which they were still marked as up:

```
host        osd     down_at     stuck_at
ceph-03     9       e712        e711
ceph-03     13      e700        e699
ceph-03     28      e697        e696
ceph-03     48      e697        e696
ceph-03     52      e707        e704
ceph-03     61      e710        e708
ceph-03     73      e712        e710
ceph-03     77      e708        e707

ceph-05     12      e711        e710
ceph-05     21      e703        e702
ceph-05     24      e700        e699
ceph-05     29      e703        e699
ceph-05     41      e711        e710
ceph-05     53      e711        e710
ceph-05     72      e712        e711

```

In https://github.com/ceph/ceph/pull/23958 an OSD will ping monitor
periodically now if it is stuck at __wait_for_healthy__. But in the
above case OSDs are still considering themselves as __active__ and
hence should miss that fixer.

Since these OSDs might be still able to contact with monitors (
otherwise there is no way for them to be marked up again) and send
beacons contiguously, we can simply get them out of the trap by
sharing some new maps with them.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: runsisi <runsisi@zte.com.cn>
6 years agomgr/dashboard: Refactor autofocus directive 23910/head
Volker Theile [Tue, 4 Sep 2018 10:03:09 +0000 (12:03 +0200)]
mgr/dashboard: Refactor autofocus directive

Refactor the autofocus directive and add some unit tests.

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Unable to edit user when making an accidental change to the password... 23939/head
Volker Theile [Wed, 5 Sep 2018 12:03:26 +0000 (14:03 +0200)]
mgr/dashboard: Unable to edit user when making an accidental change to the password field

Fixes: https://tracker.ceph.com/issues/35685
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agomgr/DaemonServer: split should respect inflight creating pgs
xie xingguo [Mon, 10 Sep 2018 08:52:05 +0000 (16:52 +0800)]
mgr/DaemonServer: split should respect inflight creating pgs

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23993 from badone/wip-fedora-build-Cython3-error
Kefu Chai [Mon, 10 Sep 2018 08:46:26 +0000 (16:46 +0800)]
Merge pull request #23993 from badone/wip-fedora-build-Cython3-error

rpm: Fix Fedora error "No matching package to install: 'Cython3'"

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