Commit Graph

88282 Commits

Author SHA1 Message Date
John Spray
85d78a8d56
Merge pull request #22808 from jcsp/wip-mgr-doc-initial-modules
doc/dashboard: don't advise mgr_initial_modules

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2018-07-03 11:54:57 +01:00
John Spray
414d94ae42 doc/dashboard: don't advise mgr_initial_modules
This setting tends to confuse people, as it's only respected
on the very first startup of the cluster.  Instead, mention
it (with appropriate caveats) on the general mgr admin
page.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-07-03 09:48:56 +01:00
Jos Collin
7695b395aa
Merge pull request #22802 from bradfitz/its
doc: fix some it's -> its typos

Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-07-03 10:14:52 +05:30
Brad Fitzpatrick
64212f3e6d doc: fix some it's -> its typos
Signed-off-by: Brad Fitzpatrick <brad@danga.com>
2018-07-02 19:16:23 -07:00
Josh Durgin
9106dc56c2
Merge pull request #22761 from fullerdj/wip-djf-24686
osd/filestore: Change default filestore_merge_threshold to -10

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-02 17:36:00 -07:00
Andrew Schoen
e42ecb8319 ceph-volume: show a nice error message when ceph.conf is not loaded
If the ceph configuration file is not loaded correctly and then values
from it are used then an undescript error message is shown, e.g.

AttributeError: 'property' object has no attribute 'get'

With this change that same error condition shows the message:

RuntimeError: No valid ceph configuration file was loaded.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-07-02 16:06:22 -05:00
Kyr Shatskyy
bd0448c0b5 Add new OpenSUSE Leap id for install-deps.sh
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
2018-07-02 20:22:30 +02:00
Orit Wasserman
25508d538b
Merge pull request #21772 from oritwas/wip-rgw-test-bi-list
rgw: test bi list
2018-07-02 16:06:09 +03:00
Ilya Dryomov
762e122d69
Merge pull request #22769 from idryomov/wip-rbdmap-remote-fs-pre
systemd/rbdmap.service: order us before remote-fs-pre.target

Reviewed-by: Boris Ranto <branto@redhat.com>
2018-07-02 14:37:13 +02:00
Lenz Grimmer
77f83c7e2b
Merge pull request #22760 from s0nea/wip-dashboard-config-option-flags
mgr/dashboard: add supported flag information to config options documentation

Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-07-02 13:15:25 +02:00
Tiago Melo
4d57690bf5 mgr/dashboard: Add UI for Cluster-wide OSD Flags configuration
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-02 11:14:33 +01:00
Lenz Grimmer
a3465fd410
Merge pull request #22772 from joscollin/wip-doc-dashboard-ref
doc: s/doc/ref for dashboard urls

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-07-02 10:11:16 +02:00
Kefu Chai
505e29c072
Merge pull request #22776 from tchaikov/wip-thread-setaffinity
crimson/thread: pin thread pool to given CPU

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-06-30 09:00:51 +08:00
Dan Mick
eb1103e94d doc/mgr: add doc for crash mgr module
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-06-29 14:53:14 -07:00
Dan Mick
85ab978567 qa/suites/rados/mgr: Add test_crash
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-06-29 14:52:17 -07:00
Dan Mick
8145598f59 qa/tasks/mgr: add test_crash, call from test_module_selftest
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-06-29 14:51:45 -07:00
Dan Mick
7fc8714a27 qa/tasks/{ceph_manager.py,vstart_runner.py}: allow kwargs in raw_*
Allow passing kwargs (like stdin=) to the local and teuthology
clusters when running tests

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-06-29 14:51:34 -07:00
Dan Mick
29209a3ea8 mgr/pybind/crash: handle crashdumps
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-06-29 14:51:35 -07:00
Mykola Golub
004ded3137 test/librbd: fix gmock warning in TestMockIoImageRequestWQ.AcquireLockError
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-06-29 22:13:28 +03:00
Kefu Chai
460ad1f8a1 crimson/thread: pin thread pool to given CPU
to take the full advantage of seastar reactor, we need to confine the
alien threads to given CPU core(s). in current setting, it's assumed
that alien threads do not perform CPU-bound tasks, so a single core
would suffice. we can always change the interface to pass a cpu_set_t
or a std::bitset if one CPU core is not enough.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-30 01:33:55 +08:00
Patrick Donnelly
92af779cc9
Merge PR #22111 into master
* refs/pull/22111/head:
	cephfs-journal-tool: check fsid when import purge queue

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-29 10:28:40 -07:00
Patrick Donnelly
0e50b1217d
Merge PR #22718 into master
* refs/pull/22718/head:
	qa/workunits/suites/ffsb.sh: fix strncpy bug in ffsb

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-29 10:23:38 -07:00
Patrick Donnelly
654aaa90ed
qa: add one-off clusters to qa/cephfs/clusters
To consistently handle openstack configuration.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-29 09:33:53 -07:00
Patrick Donnelly
5d4a1f232b
qa: allocate more space for VM disk
Otherwise daemons may run out of space due to logging.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-29 09:30:29 -07:00
Sage Weil
aa3dcb2b26
qa/cephfs/clusters/*: bigger cinder volumses
Fixes: http://tracker.ceph.com/issues/24238
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-29 09:27:59 -07:00
Douglas Fuller
75f55f2dfc osd/filestore: Change default filestore_merge_threshold to -1
Performance evaluations of medium to large size Ceph clusters have
demonstrated negligible performance impact from unnecessarily deep
directory hierarchies but significant performance impact from filestore
split and merge activity. Disable merges by default.

Fixes: http://tracker.ceph.com/issues/24686
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2018-06-29 11:45:12 -04:00
Kefu Chai
fade1ef049
Merge pull request #22736 from tchaikov/wip-seastar-lockless-shared-lru
common/shared_cache: add lockless SharedLRU

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-06-29 22:56:35 +08:00
Jos Collin
a703e22bc4 doc: s/doc/ref for dashboard urls
Replaced :doc: with :ref: as per https://github.com/ceph/ceph/pull/22750#discussion_r198895040.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-06-29 20:19:56 +05:30
Ilya Dryomov
37da5d8af9 systemd/rbdmap.service: order us before remote-fs-pre.target
If "/usr/bin/rbdmap unmap-all" notices a file system mounted on top of
an rbd device, it will call umount, interfering with systemd shutdown
logic.  Make sure we aren't invoked until all _netdev mounts are dealt
with by systemd.

Fixes: http://tracker.ceph.com/issues/24713
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-06-29 16:36:05 +02:00
Jason Dillaman
499eec729a
Merge pull request #22771 from tchaikov/wip-test-librados-ns
test/librados: fix LibRadosList.ListObjectsNS

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-06-29 10:26:44 -04:00
Andrew Schoen
8e602d5265 lvm zap: refuse to zap mapper devices
Fixes: http://tracker.ceph.com/issues/24504

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-06-29 07:56:04 -05:00
Andrew Schoen
852a466fdf adds the util.disk.is_mapper_device method
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-06-29 07:56:04 -05:00
Kefu Chai
a7e175140a
Merge pull request #22086 from ifed01/wip-ifed-new-bluefs-pcounter
os/bluestore: introduce new BlueFS perf counter to track the amount of

Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-29 20:29:03 +08:00
Kefu Chai
cb3a6da5df test/librados: fix LibRadosList.ListObjectsNS
rados_ioctx_get_namespace() returns the length of namespace string on
success, not 0.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-29 20:23:44 +08:00
Nathan Cutler
10f2c6944a
Merge pull request #21634 from smithfarm/wip-bci-complain-dupe
scripts: backport-create-issue: complain about duplicates and support mimic

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-29 10:47:12 +02:00
Tatjana Dehler
abf9d35aaa mgr/dashboard: add flag info to config options documentation page
Add information about the supported flags (introduced by
https://github.com/ceph/ceph/pull/22595) to the config options
documentation page.

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

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-06-29 08:49:10 +02:00
Kefu Chai
712a3d963c
Merge pull request #22756 from wjwithagen/wjw-fix-missing-vector
mgr: `#include <vector>` for clang

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-29 10:04:55 +08:00
Kefu Chai
32cb3023c6
Merge pull request #22752 from tchaikov/wip-freebsd-w/o-rdma
cmake,do_freebsd.sh: disable rdma features

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Haodong Tang <haodong.tang@intel.com>
2018-06-29 10:02:49 +08:00
Kefu Chai
4f51d11ec3
Merge pull request #22743 from rzarzynski/wip-common-drop-static_assert.h
common: drop static_assert.h as it looks unused.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-29 10:00:59 +08:00
Kefu Chai
96730aaae0
Merge pull request #22720 from rzarzynski/wip-build-static-ceph-common-in-osd
cmake: link ceph-osd with common statically

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-29 10:00:08 +08:00
David Zafman
663d96e934
Merge pull request #22727 from dzafman/wip-21664
qa/standalone/scrub: When possible show side-by-side diff in addition to regular diff

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-28 19:59:21 -04:00
Patrick Donnelly
db1c389adb
mds: refactor const ref return to avoid mem alloc
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-28 16:02:37 -07:00
David Zafman
3ff56a82a4
Merge pull request #22763 from dzafman/wip-remove-sudo
qa: Don't use sudo when moving logs

Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-06-28 18:37:24 -04:00
David Zafman
23ed63e15f
Merge pull request #22441 from ErwanAliasr1/evelu-makecheck
Improving make check reliability

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-06-28 14:55:12 -04:00
David Zafman
808c628304 qa: Don't use sudo when moving logs
Caused by: f0964beac5

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-06-28 09:17:06 -07:00
Kefu Chai
a2a727b320
Merge pull request #22565 from tchaikov/wip-seastar-thread-pool
crimson/thread: add thread pool

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-06-28 23:56:34 +08:00
Kefu Chai
eea41d4d7c cmake: add crimson static library
libcrimson consolidates the object library of crimson_{net,thread} and
seastar_{buffer,net,thread}_objs. by offering a static library glueing
seastar,  we can link against these libraries and its dependencies in a
simpler way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-28 23:52:54 +08:00
Kefu Chai
28f079e08a crimson/thread: add a thread pool impl
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-28 23:52:54 +08:00
Kefu Chai
d3a64e92d9
Merge pull request #22007 from dalgaaf/wip-da-SCA-20180514
rgw, common: Fixes SCA issues

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-28 23:39:55 +08:00
Kefu Chai
63656af5f2 cmake: extract the RDMA libraries interface properties out
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-28 23:26:28 +08:00