Commit Graph

90375 Commits

Author SHA1 Message Date
Patrick Donnelly
da426f6233
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>
2018-09-11 11:22:40 -07:00
Jason Dillaman
640bbd9593
Merge pull request #23954 from zy751713126/clear_snap_limit
rbd: simplified code to remove do_clear_limit function
2018-09-11 14:22:14 -04:00
Patrick Donnelly
a3d27182b8
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>
2018-09-11 11:15:44 -07:00
Patrick Donnelly
63ca9c00e1
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>
2018-09-11 10:56:22 -07:00
Patrick Donnelly
e78115ef3b
Merge PR #23728 into master
* refs/pull/23728/head:
	doc: suppored features of kernel client

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-11 10:44:04 -07:00
Radoslaw Zarzynski
f654edeadc common: drop the unused buffer::raw_mmap_pages.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-09-11 19:25:39 +02:00
Patrick Donnelly
c4c788db31
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>
2018-09-11 10:14:20 -07:00
Nathan Cutler
fd243ee88f 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>
2018-09-11 18:57:51 +02:00
Sage Weil
c3e2990c39 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>
2018-09-11 11:12:22 -05:00
Matt Benjamin
c427b100c8
Merge pull request #21379 from pritha-srivastava/wip-rgw-user-policy
rgw: User Policy
2018-09-11 12:10:28 -04:00
Ricardo Marques
3f36c85e97 mgr/dashboard: More configs for table updateSelectionOnRefresh
Fixes: https://tracker.ceph.com/issues/35904

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-09-11 17:04:46 +01:00
Alfredo Deza
8c0e707110 ceph-volume lvm.batch.bluestore allow osds-per-device with SingleType
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-11 11:56:03 -04:00
Alfredo Deza
fe7c5e0129 ceph-volume lvm.batch add --osds-per-device flag, defaulting to 1
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-11 11:56:03 -04:00
John Spray
0551d0e14b
Merge pull request #23497 from noahdesu/insights
mgr/insights: insights reporting module

Reviewed-by: John Spray <john.spray@redhat.com>
2018-09-11 15:56:10 +01:00
John Spray
b18bee1b19
Merge pull request #23146 from jcsp/wip-progress
mgr/progress: improve+test OSD out handling

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
2018-09-11 15:37:51 +01:00
Lenz Grimmer
f2a4eacf2b
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>
2018-09-11 16:37:15 +02:00
Lenz Grimmer
7f2f16e4c4
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>
2018-09-11 16:28:16 +02:00
Sage Weil
e495ef0268 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
2018-09-11 09:27:51 -05:00
Sage Weil
57f307b682 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>
2018-09-11 09:27:34 -05:00
Sage Weil
ecc9564fbb 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>
2018-09-11 09:27:17 -05:00
Kefu Chai
79b55473ef 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>
2018-09-11 22:22:47 +08:00
Kefu Chai
195470a295 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>
2018-09-11 22:22:47 +08:00
Kefu Chai
a4c396d111 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>
2018-09-11 22:22:47 +08:00
Kefu Chai
f0d7616b37 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>
2018-09-11 22:22:47 +08:00
Kefu Chai
027164e156 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>
2018-09-11 22:22:47 +08:00
John Spray
34e82cb436
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>
2018-09-11 15:16:12 +01:00
Andrew Schoen
716b94d9c7
Merge pull request #24019 from alfredodeza/wip-rm34535
ceph-volume  batch carve out lvs for bluestore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-09-11 09:09:27 -05:00
Lenz Grimmer
44be910c30 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>
2018-09-11 15:43:46 +02:00
Yan, Zheng
f7ace59e53 doc: suppored features of kernel client
Fixes: http://tracker.ceph.com/issues/27209
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-09-11 21:40:20 +08:00
Kefu Chai
296f54d221
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>
2018-09-11 21:18:17 +08:00
Kefu Chai
5e003e573a
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>
2018-09-11 20:27:36 +08:00
Kefu Chai
510d9e1345
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>
2018-09-11 20:25:21 +08:00
Kefu Chai
fb80f5b1b7
Merge pull request #23921 from croit/fix-35544
osd/OSDMap: add osd status to utilization dumper

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-11 20:23:56 +08:00
Kefu Chai
91a7bb431c
Merge pull request #23488 from xiaomanh/master
tools: correct the description of Allowed options in osdomap tool

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-11 20:23:27 +08:00
Lenz Grimmer
4c61c67fa5 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>
2018-09-11 14:12:04 +02:00
Volker Theile
4574407a9e 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>
2018-09-11 13:05:31 +02:00
John Spray
46a74a07d9 qa: add task for progress module
Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-11 11:21:35 +01:00
John Spray
09f5f9e1eb qa: add 4th OSD to mgr test cluster
This is useful for testing progress module.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-11 11:21:35 +01:00
John Spray
5ecd69099d qa: add tests for progress module
Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-11 11:21:35 +01:00
John Spray
dde10a0b6e 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>
2018-09-11 11:21:35 +01:00
John Spray
51691d84b9 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>
2018-09-11 11:21:35 +01:00
John Spray
5c071a61f4 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>
2018-09-11 11:21:35 +01:00
Lenz Grimmer
a0c6b83334
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>
2018-09-11 11:56:56 +02:00
zhengyin
76673a76d7 rbd: add protected in snap list
Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
2018-09-11 05:17:19 -04:00
Kefu Chai
e96e507874
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>
2018-09-11 17:10:37 +08:00
Xie Xingguo
54b6ce1ae2
Merge pull request #24021 from libingyang-zte/master
doc: Fix Spelling Error of Radosgw

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-11 16:47:48 +08:00
李丙洋 10208981
53feb4ad4e doc: Fix Spelling Error of Radosgw
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
2018-09-11 15:30:20 +08:00
Yan, Zheng
920ef96431 mds: prevent rctime from going back
Fixes: http://tracker.ceph.com/issues/35916
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-09-11 10:56:42 +08:00
Paul Emmerich
cffcbc73aa os/bluestore: handle spurious read errors
Some kernels (4.9+) sometime fail to return data when reading
from a block device under memory pressure. This patch retries
the read if the checksum verification fails, tests show that
the first retried read succeeds in ~99.5% of the cases, so
3 attempts are made by default before giving up on the data.

Works-around: http://tracker.ceph.com/issues/22464
Signed-off-by: Paul Emmerich <paul.emmerich@croit.io>
2018-09-10 22:54:45 +00:00
Noah Watkins
5c2615e3d7 qa/tasks/mgr: whitelist insights test health checks
these drive health history tracking tests.

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-09-10 15:02:49 -07:00