Commit Graph

100205 Commits

Author SHA1 Message Date
Sage Weil
3092393b43 Merge PR #29085 into master
* refs/pull/29085/head:
	os/bluestore: add slow op detector for collection listing
	os/bluestore: parametrize latency threshold for log_latency funcs..
	os/bluestore: cleanup around slow op logging.

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-20 15:19:47 -05:00
Sage Weil
1266eaf0f2 Merge PR #29145 into master
* refs/pull/29145/head:
	doc/release/nautilus: 14.2.2 changes redone

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2019-07-20 15:07:54 -05:00
Kefu Chai
79078f43e8 doc/dev/macos.rst: update to be in sync with master
* we've moved to cmake 3.5, so no need to hack for newer cmake
* nss dependency is dropped, no need to install it anymore
* pass clang and clang++ using cmake variable to be more consistent
* pass CMAKE_EXE_LINKER_FLAGS as `/usr/local/opt/llvm/lib` is
  not in default library paths.
* mention https://github.com/boostorg/atomic/issues/15

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-21 00:47:39 +08:00
Kefu Chai
606b9c1822 cmake: pass PYTHON_VERSION explicitly
allow `distutils_*()` functions to choose the python according to this
parameter, instead of implicitly using the variable of ${PYTHON_VERSION}
inherited from the caller.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-21 00:47:39 +08:00
Kefu Chai
5e2bd7fc4d cmake: update FindPython* modules
use the ones shiped from the latest cmake. which

* enables us to find the recent python intepreter and development files,
* find intepreter and development in a single `find_pacakge()` command,
  simpler this way and less error prone.

and to accomodate this change:

* all `PYTHON${PYTHON_VERSION}_*` variables are renamed to
  `Python${PYTHON_VERSION}_*` if we use `find_package(Python2...)` or
  `find_package(Python3...)` to find python2 or python3 instead of using
  `find_package(Python...)`.
* use "2" explicitly when using python2, as `Python_*` variables are not
  defined anymore
* when compiling python support of ceph-mgr, continue using `Python_*`
  variables. because we find the python interpreter and development
  files using `find_pacakge(Python...)` for ceph-mgr.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-20 22:35:07 +08:00
Rishabh Dave
80152465b5 qa/tests: test if unresponsive MDS client with no caps is evicted directly
Test if an unresponsive MDS client session holding no caps is evicted
directly at session_autoclose without being marked as stale at
session_timeout.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-07-20 09:04:50 +05:30
Kefu Chai
893030e51a
Merge pull request #29080 from tchaikov/wip-pybind
pybind: check "CEPH_LIBDIR" not "MAKEFLAGS"

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-20 11:32:09 +08:00
Kefu Chai
57d00693da
Merge pull request #28763 from tchaikov/wip-dpdk-fix-ftbfs
msg/async/dpdk: fix FTBFS

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-20 10:37:57 +08:00
Josh Durgin
234a400376
Merge pull request #29120 from neha-ojha/wip-add-write-omap
qa: add basic omap testing capability

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-19 14:46:22 -07:00
Sage Weil
7962a36849 doc/release/nautilus: 14.2.2 changes redone
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 16:01:50 -05:00
Matt Benjamin
af327f21aa RGWLC: fix expiration header tag match
Need to match key->value

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-07-19 16:32:20 -04:00
Neha Ojha
3a2abb94eb qa/suites/rados/perf: add op_size to radosbench_omap_write.yaml
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-07-19 13:16:50 -07:00
Sage Weil
848c5b4a9a qa/tasks/ceph_manager: fix thrash_pg_upmap_items when no pools
Follow-on to e7ca5a92d4

Fixes: https://tracker.ceph.com/issues/40635
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 14:49:26 -05:00
Sage Weil
3bddcc5ddf qa/tasks/mgr/test_insights: crash module now rejects bad crash reports
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 14:45:47 -05:00
Sage Weil
01d1d232ab mgr/telemetry: fix remote into crash do_ls()
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 14:45:47 -05:00
Sage Weil
32a4b510aa mgr/crash: don't make these methods static
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 14:45:47 -05:00
Sage Weil
52875c6cb2 mgr/BaseMgrModule: handle unicode health detail strings
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 14:45:47 -05:00
Sage Weil
277d974b4a mgr/crash: verify timestamp is valid
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 14:45:47 -05:00
Sage Weil
e2ff58ba16 qa/suites/mgr: whitelist RECENT_CRASH
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 14:45:47 -05:00
Sage Weil
37a8f2d66a mgr/crash: remove unused var
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 14:45:47 -05:00
Sage Weil
5b2cbb3a10 mgr/crash: remove unused import 'six'
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 14:45:47 -05:00
Sage Weil
f6e0894902 qa/workunits/rados/test_crash: health check
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 14:45:47 -05:00
Patrick Donnelly
ca5ac3a7f5
common: add ref header
This enables the use of these handy ref templates outside of Message.h.
This is necessary for a future rework of #26348.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-19 11:55:19 -07:00
Patrick Donnelly
cd97739905
Merge PR #29123 into master
* refs/pull/29123/head:
	test_sessionmap: use sudo_write_file() from teuthology.misc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-19 10:41:29 -07:00
Casey Bodley
707482beed
Merge pull request #28946 from cbodley/wip-rgw-list-v1-close-section
rgw: add missing close_section in send_versioned_response

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
2019-07-19 12:08:03 -04:00
Xiaoxi CHEN
bb46de8853 Client: bump ll_ref from int32 to uint64_t
ll_ref can surge up if application repeatly lookup same dentry
and finally cause overflow.

https://tracker.ceph.com/issues/40775 is an example.

in kernel fuse driver and libfuse, uint64_t is used, update
ceph-fuse side to match.

Fixes: https://tracker.ceph.com/issues/40775

Signed-off-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
2019-07-19 08:31:24 -07:00
Ricardo Marques
39c8542e7a
Merge pull request #29101 from valentinbajrami/master
mgr/dashboard: Improve e2e script

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Rafael Quintero <rquinter@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-19 15:48:01 +01:00
Sage Weil
304760bfb4 qa/suites/upgrade: set pg_autoscale_mode=off on existing pools
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:46:37 -05:00
Sage Weil
422871d63e mgr/crash: improve validation on post
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
b2e20858f4 mgr/crash: automatically prune old crashes after a year
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
c885ee7f0c mgr/crash: raise RECENT_CRASH warning for recent (new) crashes
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
bebb1c3100 mgr/crash: add 'crash ls-new'
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
7cbaa5ac56 mgr/crash: add option and serve infra
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
6ae4c42bae mgr/crash: keep copy of crashes in memory
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
44a99f2f76 mgr/pg_autoscaler: adjust style to match built-in tables
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Sage Weil
c691f2f876 mgr/crash: make 'crash ls' a nice table with a NEW column
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:43:04 -05:00
Jason Dillaman
996c0197ca doc/rbd: tweak config reference
Clean up the caching sections to match the current implementation and
clarify which sections apply only to librbd.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-07-19 10:24:36 -04:00
alfonsomthd
9d1700cbaf mgr/dashboard: select placement target on RGW bucket creation
* Select a placement target from the zone that the RGW daemon is running on.

Fixes: https://tracker.ceph.com/issues/40567
Signed-off-by: alfonsomthd <almartin@redhat.com>
2019-07-19 16:02:44 +02:00
Jason Dillaman
cb02fb534d doc/man: note that rbd-fuse is not intended for production workloads
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-07-19 09:50:55 -04:00
Jason Dillaman
0277e2f639 doc/rbd: restructure into operations and integrations
This avoids the long table of contents list of intermingled subjects.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-07-19 09:47:52 -04:00
Kefu Chai
67a4a9b717
Merge pull request #29129 from tchaikov/wip-remove-sepia-bt.sh
script/sepia_bt.sh: remove stale script

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2019-07-19 19:56:03 +08:00
Kefu Chai
02bf59ce09 script/sepia_bt.sh: remove stale script
this script is not actively maintained anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-19 18:37:53 +08:00
Kefu Chai
86ac0ab529
Merge pull request #29057 from cyx1231st/wip-seastar-msgr-loggingv2
crimson/net: clean-up and fixes of messenger

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-19 18:34:48 +08:00
Ricardo Marques
0394c96094
Merge pull request #29105 from tspmelo/wip-prevent-propagation
mgr/dashboard: Disable event propagation in the helper icon

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-19 11:28:27 +01:00
Ricardo Dias
47639cd708
Merge pull request #29107 from ricardoasmarques/label-col-size-mgr-module-form
mgr/dashboard: Increase column size on mgr module form

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-19 11:23:38 +01:00
Ricardo Dias
9cf74876c3
Merge pull request #29112 from ricardoasmarques/iscsi-gateway-status-health-page
mgr/dashboard: Show iSCSI gateways status in the health page

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-07-19 11:23:02 +01:00
Ricardo Dias
07c7850459
Merge pull request #28942 from ricardoasmarques/validate-iscsi-controls
mgr/dashboard: Validate iSCSI controls min/max value

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-19 11:22:27 +01:00
Ricardo Dias
41e7f89130
Merge pull request #28898 from ricardoasmarques/cephfs-client-evict
mgr/dashboard: Evict a CephFS client

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-19 11:21:42 +01:00
Valentin B
bfd703820f
mgr/dashboard: Improve e2e script
Passing -r flag to jq to remove quotes. sed not needed
Using $() command substitution instead of the legacy and unsafe backticks `...`

Signed-off-by: Valentin Bajrami <valentin.bajrami@gmail.com>
2019-07-19 12:03:55 +02:00
Sebastian Wagner
cc86d9e4a0
Merge pull request #28081 from sebastian-philipp/kubejacker-doc-update
doc/dev/kubernetes: Update

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
2019-07-19 10:22:30 +02:00