Commit Graph

104273 Commits

Author SHA1 Message Date
Jos Collin 003550c493
qa/tasks: drop/update name from Thrasher
* Dropped name setter and property from Thrasher base class
* Updated each Thrasher class with a name attribute

Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-11-27 08:27:04 +05:30
Kefu Chai 05d685dd37
Merge pull request #31637 from carletes/patch-1
src/msg/async/net_handler.cc: Fix compilation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-18 01:53:40 +08:00
Kefu Chai b801057113
Merge pull request #31543 from tchaikov/wip/cmake/librt
cmake: detect librt for POSIX time functions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2019-11-18 01:51:28 +08:00
Kefu Chai dd53c535b8
Merge pull request #31532 from tchaikov/wip-42742
msg/async/rdma: do not init mutex before lockdeps is ready

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Changcheng Liu <changcheng.liu@aliyun.com>
2019-11-17 01:16:29 +08:00
Kefu Chai a024e29422
Merge pull request #31506 from Yan-waller/wip-walle-191109-fixomapentries
common/options: decrease the default max_omap_entries_per_request

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-11-17 01:14:34 +08:00
Kefu Chai dc1d34ba42
Merge pull request #31310 from badone/wip-tracker-42477-reinstate-o-outfile
tools/rados: Unmask '-o' to restore original behaviour

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-17 01:12:12 +08:00
Kefu Chai ce84cb8a5d
Merge pull request #31469 from p-se/wip-pse-summary-reload-traceback
mgr/dashboard: KeyError on dashboard reload

Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-17 01:10:11 +08:00
Kefu Chai 0752f98d49
Merge pull request #31399 from zy751713126/osd_stat
mon/OSDMonitor: fix format error ceph osd stat --format json

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-17 01:07:37 +08:00
Kefu Chai 6956f047d7
Merge pull request #31427 from zy751713126/osd_status
pybind/mgr: Cancel output color control

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-17 01:03:47 +08:00
Kefu Chai 4069bbfd2b
Merge pull request #31560 from rosinL/wip-fix-incorrect-pg-pool-sum
mon/PGMap: fix incorrect pg_pool_sum when delete pool

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-17 00:54:25 +08:00
Kefu Chai aa62a162a0
Merge pull request #31158 from zjcmszh/test_remove
test/pybind/test_rados.py: test test_operate_aio_write_op()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-17 00:53:30 +08:00
Kefu Chai edec82e726
Merge pull request #30717 from rzarzynski/wip-bug-42026
msg/async: perform the v2 resets in proper EventCenter

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-17 00:51:15 +08:00
Kefu Chai 06811fc4d1
Merge pull request #31517 from changchengx/rdma_gid
msg/async/rdma: add an option for choosing different RoCE protocol

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-17 00:49:14 +08:00
Sage Weil 98b017dfd0 Merge PR #31620 into master
* refs/pull/31620/head:
	mgr: handle race with finisher after shutdown

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-15 17:14:22 -06:00
Igor Fedotov 46983d8e27
Merge pull request #31681 from ifed01/wio-ifed-fix-fio
test/fio: handle nullptr when parsing throttle params

Reviewed-by: Samuel Just <sjust@redhat.com>
2019-11-16 00:25:55 +03:00
Casey Bodley 2e0a2c924e
Merge pull request #31025 from scarvalhojr/ssevault2
rgw: improvements to SSE-KMS with Vault

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-11-15 13:53:32 -05:00
Igor Fedotov 48ffc50a1a test/fio: handle nullptr when throttle params parsing
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-11-15 20:37:07 +03:00
Nathan Cutler 065dd5fd74
Merge pull request #31671 from sebastian-philipp/pybind-mgr-exclude-tests
pybind/mgr: Exclude tests/

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-11-15 17:04:41 +01:00
Sage Weil 5e6b00171c Merge PR #31486 into master
* refs/pull/31486/head:
	ceph-daemon: add standalone `adopt` tests

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-15 09:48:28 -06:00
Sebastian Wagner 592374a0c6
Merge pull request #31618 from dsavineau/ceph_daemon_rename_podman_vars
ceph-daemon: replace podman variables by container

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-15 16:26:30 +01:00
Sebastian Wagner 5a98a9a611 pybind/mgr: Exclude tests/
Fixes: d6c10192c6

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-15 14:44:31 +01:00
Kefu Chai 176825408f
Merge pull request #31666 from hrchu/origin/patch-2
doc: Update mailing lists

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-15 20:13:41 +08:00
Kefu Chai bbfc1d435e
Merge pull request #31667 from tchaikov/wip/run-cbt-sh/fs.aio-max-nr
script/run-cbt.sh: set fs.aio-max-nr for seastar

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-11-15 19:37:29 +08:00
Kefu Chai 4436807e24 script/run-cbt.sh: set fs.aio-max-nr for seastar
seastar requires 11027 for each reactor, so we need at least

fs.aio-max-nr = 11027 * n_osd

but to make it simple and to take the needs of other applications using
aio on the machine, we increase the number of io context to 32768,
and always set this setting no matter if we are starting a vstart
cluster with classic osd or crimson osd

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-15 17:56:00 +08:00
Sebastian Wagner 3948df8b10
Merge pull request #31523 from sebastian-philipp/ssh-make-check
mgr/ssh: add make check integration

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
2019-11-15 09:43:21 +01:00
hrchu aa01cd50f7 doc: Update mailing lists
Signed-off-by: hrchu <petertc.chu@gmail.com>
2019-11-15 15:26:56 +08:00
Patrick Donnelly a509729c12
Merge PR #31509 into master
* refs/pull/31509/head:
	client: remove unused variable

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-14 21:51:46 -08:00
su_nan@inspur.com a88ee07324
client: remove unused variable
the flock and cond are useless variables in Client::_read_sync,remove useless variables

Fixes: https://tracker.ceph.com/issues/42720
Signed-off-by: su_nan@inspur.com <su_nan@inspur.com>
2019-11-14 21:49:14 -08:00
Dan Mick 0f6a2a03a7
Merge pull request #31643 from liewegas/fix-empty-crash
mgr/crash: behave when posted crash has no backtrace
2019-11-14 14:21:57 -08:00
Carlos Valiente 1197417757 src/msg/async/net_handler.cc: Fix compilation
On a Cray system I'm working on, it seems that `SO_PRIORITY` is defined,
but `IPTOS_CLASS_CS6` is not. Without this patch, compilation fails at
line 150:

```
r = ::setsockopt(sd, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio));
```

because the variable `r` is not defined (originally it is defined inside
the `#ifdef IPTOS_CLASS_CS6` block).

Fixes: https://tracker.ceph.com/issues/42821
Signed-off-by: Carlos Valiente <carlos.valiente@ecmwf.int>
2019-11-14 19:34:36 +00:00
Patrick Donnelly fc2bb6ed47
Merge PR #31626 into master
* refs/pull/31626/head:
	test_cephfs_shell: initialize stderr for run_cephfs_shell_cmd()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-14 11:13:09 -08:00
Patrick Donnelly 7f65d021c9
Merge PR #31460 into master
* refs/pull/31460/head:
	cephfs-shell: print helpful message when conf file is not found

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-14 11:06:10 -08:00
Casey Bodley cc0056125d
Merge pull request #30385 from ZVampirEM77/acl-detailed-err-msg
rgw: add detailed error message for PutACLs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-11-14 13:22:44 -05:00
Casey Bodley 766e757284
Merge pull request #30470 from dongbula/bf-fix-usage-keyiter-update
RGW: fix an endless loop error when to show usage

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-11-14 13:21:22 -05:00
Casey Bodley c502cdd1de
Merge pull request #30574 from zhangsw/rgw-fix-compress
rgw: compression info should be same during multipart uploading

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-11-14 13:21:02 -05:00
Casey Bodley e1cb205e3b
Merge pull request #30575 from mkogan1/wip-rgw-resharding-mem
rgw: when resharding store progress json

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
2019-11-14 13:13:00 -05:00
Lenz Grimmer 1a345a4935
Merge pull request #31632 from tspmelo/wip-rbd-timezone
mgr/dashboard: Fix error in unit test caused by timezone

Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-14 17:33:36 +00:00
Casey Bodley 104a6a7348
Merge pull request #29004 from zhangsw/rgw-cleanup-taggingop
rgw: remove re-defined is_tagging_op in RGWHandler_REST_Bucket_S3

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-11-14 11:45:27 -05:00
Sage Weil 78396dd84e Merge PR #31582 into master
* refs/pull/31582/head:
	global: disable THP for Ceph daemons

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2019-11-14 10:35:31 -06:00
Sage Weil 9be8cdf18d Merge PR #31584 into master
* refs/pull/31584/head:
	common/options: osd_crush_chooseleaf_type is CLUSTER_CREATE
	mon/ConfigMonitor: do not assimilate CLUSTER_CREATE options
	common/ceph_context: observe container_image so we don't get warnings

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-14 10:33:24 -06:00
Sage Weil e789f48581 Merge PR #31621 into master
* refs/pull/31621/head:
	os/bluestore: consolidate extents from the same device only

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-14 10:30:53 -06:00
Sage Weil f5b197df93 mgr/crash: behave when posted crash has no backtrace
This is the case when the qa/tasks/mgr/test_crash.py test runs, and could
happen in the real world too, perhaps, if someone fed us wonky input.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-14 10:28:47 -06:00
Dimitri Savineau a556628a96 ceph-daemon: replace podman variables by container
There's no logic to use variables with podman prefix when we can use both
docker and podman.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2019-11-14 10:33:56 -05:00
Sebastian Wagner c7bb0ec546 mgr/ssh: add make check integration
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-14 16:22:17 +01:00
Casey Bodley 0ebf6ba50d
Merge pull request #31436 from dang/wip-dang-zipper-3
rgw: Project Zipper - Bucket

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-11-14 10:18:08 -05:00
Patrick Donnelly 1715c644c3
Merge PR #30754 into master
* refs/pull/30754/head:
	doc/cephfs: merge fstab doc with respective mount docs
	doc: add systemd unit part for FUSE mounts in fstab doc
	doc: update and improve "mount using kernel driver" doc
	doc: update and improve "mount using FUSE" doc

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-14 06:14:44 -08:00
Sage Weil 32c532a53b Merge PR #31631 into master
* refs/pull/31631/head:
	ceph-daemon: Add more type hints

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-14 08:08:19 -06:00
Sebastian Wagner 86c4e2a1d9
Merge pull request #31561 from sebastian-philipp/orchestrator-remove-cli-tox
mgr/orchestrator_cli: remove tox and move test to parent dir

Reviewed-by: Stephan Müller <smueller@suse.com>
2019-11-14 14:44:01 +01:00
Kefu Chai d6998a3b95 cmake: detect librt for POSIX time functions
per clock_gettime(3),

> On POSIX systems on which these functions are available, the symbol
> _POSIX_TIMERS is defined in <unistd.h> to a value greater than 0.

and

> Most systems require the program be linked with the librt library to
> use these functions.

so, we should detect this symbol and link against librt for using these
functions.

in this change, librt is linked for checking the existence of
clock_gettime(), if it exists. RT_LIBRARY is defined.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-14 21:26:57 +08:00
Sebastian Wagner d6c10192c6 mgr/orchestrator: remove tox and move test to parent dir
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-14 12:37:50 +01:00