]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
liupengs [Sun, 1 Mar 2020 05:04:37 +0000 (13:04 +0800)]
msg/async/rdma: move C_handle_connection to RDMAConnectionSocketImpl.cc
Signed-off-by: Peng Liu <liupeng37@baidu.com>
liupengs [Sun, 17 Nov 2019 15:03:07 +0000 (23:03 +0800)]
msg/async/rdma: fix bug event center is blocked by rdma construct connection for transport ib sync msg
We construct a tcp connection to transport ib sync msg, if the
remote node is shutdown (shutdown by accident), the net.connect will be blocked until timeout
is reached, which cause the event center be blocked.
This bug may cause mon probe timeout and osd not reply, and so on.
Signed-off-by: Peng Liu <liupeng37@baidu.com>
Casey Bodley [Wed, 23 Oct 2019 15:37:32 +0000 (11:37 -0400)]
Merge pull request #30997 from cbodley/wip-qa-rgw-objectstores
qa/rgw: drop some objectstore types
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Wed, 23 Oct 2019 13:59:28 +0000 (09:59 -0400)]
Merge pull request #28421 from pritha-srivastava/wip-rgw-omap-offload
rgw: add cls_queue and cls_rgw_gc for omap offload
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sebastian Wagner [Wed, 23 Oct 2019 12:39:20 +0000 (14:39 +0200)]
Merge pull request #31068 from bk201/wip-lint-python-common
python-common: enable lint in tox tests
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Lenz Grimmer [Wed, 23 Oct 2019 11:13:23 +0000 (11:13 +0000)]
mgr/dashboard: Extend documentation about differences between… (#30963)
mgr/dashboard: Extend documentation about differences between E2E and Unit Tests
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Laura Paduano [Wed, 16 Oct 2019 11:01:59 +0000 (13:01 +0200)]
mgr/dashboard: Document valid frontend tests
This documentation is supposed to help clarify
when and where different type of tests should
be used by explaining the types and what
they are designed for.
Fixes: https://tracker.ceph.com/issues/42253
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
Signed-off-by: Laura Paduano <lpaduano@suse.com>
Kiefer Chang [Wed, 23 Oct 2019 07:45:39 +0000 (15:45 +0800)]
python-common: fix lint errors
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Kiefer Chang [Wed, 23 Oct 2019 07:41:53 +0000 (15:41 +0800)]
python-common: enable lint in tox tests
* Change tox env py35 and py36 to just py3.
* Use flake8 to lint code.
* Use rstcheck to lint rst files.
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Kefu Chai [Wed, 23 Oct 2019 06:46:12 +0000 (14:46 +0800)]
Merge pull request #30974 from tchaikov/wip/do_cmake/enable-amqp
do_cmake.sh: enable amqp and rdma for EL8
Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
Kefu Chai [Wed, 23 Oct 2019 06:08:58 +0000 (14:08 +0800)]
Merge pull request #31044 from tchaikov/wip/pybind/rados-py3
pybind/rados: do not slice zip()
Reviewed-by: Neha Ojha <nojha@redhat.com>
Patrick Donnelly [Wed, 23 Oct 2019 03:55:19 +0000 (20:55 -0700)]
Merge PR #30710 into master
* refs/pull/30710/head:
mds: add configurable snapshot limit
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Wed, 23 Oct 2019 03:34:20 +0000 (11:34 +0800)]
Merge pull request #31065 from changchengx/mon_doc
doc: fix typo to auto scale pg number
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Wed, 23 Oct 2019 03:30:27 +0000 (20:30 -0700)]
Merge PR #30887 into master
* refs/pull/30887/head:
mgr/volumes: refactor dir handle cleanup
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Changcheng Liu [Wed, 23 Oct 2019 02:53:14 +0000 (10:53 +0800)]
doc: fix typo to auto scale pg number
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
Sage Weil [Tue, 22 Oct 2019 20:57:02 +0000 (15:57 -0500)]
Merge PR #30772 into master
* refs/pull/30772/head:
cmake/modules/GetGitRevisionDescription: update to work with git-worktree
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Tue, 22 Oct 2019 20:52:58 +0000 (15:52 -0500)]
Merge PR #31003 into master
* refs/pull/31003/head:
test/pybind/test_rados.py: test test_aio_remove
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 22 Oct 2019 20:51:31 +0000 (15:51 -0500)]
Merge PR #31052 into master
* refs/pull/31052/head:
auth/cephx/CephxClientHandler: handle decode errors
auth/cephx/CephxProtocol: handle decode errors in CephXTicketHandler::verify_service_ticket_reply
auth/cephx/CephxServiceHandler: handle decode errors
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Gregory Farnum [Tue, 22 Oct 2019 20:28:07 +0000 (13:28 -0700)]
Merge pull request #30837 from Amrita42/patch-2
doc/start/hardware-recommendations.rst: minor tweaks
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Tue, 22 Oct 2019 20:27:14 +0000 (15:27 -0500)]
Merge PR #31060 into master
* refs/pull/31060/head:
ceph-daemon: make rm-cluster clear out previously failed units
ceph-daemon: fix get_config_and_both_keyrings() return value
Sage Weil [Tue, 22 Oct 2019 20:15:18 +0000 (15:15 -0500)]
Merge PR #31007 into master
* refs/pull/31007/head:
mgr/progress: remove "since" from duration string
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Sage Weil [Tue, 22 Oct 2019 20:14:18 +0000 (15:14 -0500)]
Merge PR #30975 into master
* refs/pull/30975/head:
rpm: make librados2, libcephfs2 own (create) /etc/ceph
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 22 Oct 2019 18:41:28 +0000 (13:41 -0500)]
ceph-daemon: make rm-cluster clear out previously failed units
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 22 Oct 2019 18:31:16 +0000 (13:31 -0500)]
ceph-daemon: fix get_config_and_both_keyrings() return value
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Tue, 22 Oct 2019 15:37:19 +0000 (11:37 -0400)]
Merge pull request #31022 from drunkard/master
doc: add missed word 'than' in doc/man/8/rbd.rst
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 22 Oct 2019 15:13:51 +0000 (10:13 -0500)]
Merge PR #30826 into master
* refs/pull/30826/head:
ceph-daemon: deploy: behave when crash keyring isn't provided
ceph-daemon: simplify calls from rm_cluster
ceph-daemon: explicitly wait for mon to start
ceph-daemon: bootstrap finish message
ceph-daemon: shell: LANG=C
ceph-daemon: verify mon IP is valid before continuing
ceph-daemon: cleanly capture stdout, err; log
ceph-daemon: --debug for more log detail
test_ceph_daemon: default to test on 127.0.0.1; accept ip as arg
ceph-daemon: bootstrap: assimilate and minimize input config file
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 22 Oct 2019 12:43:14 +0000 (07:43 -0500)]
auth/cephx/CephxClientHandler: handle decode errors
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 22 Oct 2019 12:41:26 +0000 (07:41 -0500)]
auth/cephx/CephxProtocol: handle decode errors in CephXTicketHandler::verify_service_ticket_reply
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 22 Oct 2019 12:37:32 +0000 (07:37 -0500)]
auth/cephx/CephxServiceHandler: handle decode errors
Decode errors should trigger EPERM, not throw exceptions that trigger
timeouts/retries in the messenger.
Fixes: https://tracker.ceph.com/issues/42369
Signed-off-by: Sage Weil <sage@redhat.com>
Jan Fajerski [Tue, 22 Oct 2019 12:17:31 +0000 (14:17 +0200)]
Merge pull request #30867 from rishabh-d-dave/cv-api-lvm
ceph-volume: rearrange api/lvm.py
zhangjiao [Sun, 20 Oct 2019 15:01:32 +0000 (23:01 +0800)]
test/pybind/test_rados.py: test test_aio_remove
Signed-off-by: Zhang Jiao <zhangjiao@cmss.chinamobile.com>
Amrita42 [Thu, 10 Oct 2019 09:50:53 +0000 (05:50 -0400)]
doc/start/hardware-recommendations.rst: minor tweaks
* Hard Disk Drive: Replaced word 'accelerate' with 'optimize'
* Networks: Replaced word 'have' with 'has'
Fixes: https://tracker.ceph.com/issues/42379
Signed-off-by: Amrita Sakthivel <asakthiv@redhat.com>
Nathan Cutler [Tue, 22 Oct 2019 08:52:45 +0000 (10:52 +0200)]
rpm: make librados2, libcephfs2 own (create) /etc/ceph
Fixes: https://tracker.ceph.com/issues/42352
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Tue, 22 Oct 2019 04:44:35 +0000 (12:44 +0800)]
test/pybind/test_rados: always pass bytes to rados.Object.set_xattr()
> an empty '' is of type str, not bytes.
python3 says. so let's be more explicit.
this change address failures like:
```
======================================================================
ERROR: test_rados.TestIoctx.test_obj_xattrs
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in
runTest
self.test(*self.arg)
File "/var/ssd/ceph/src/test/pybind/test_rados.py", line 380, in
test_obj_xattrs
obj.set_xattr(key, value)
File "rados.pyx", line 4119, in rados.set_object_locator.retfunc
File "rados.pyx", line 4129, in rados.set_object_namespace.retfunc
File "rados.pyx", line 4204, in rados.Object.set_xattr
File "rados.pyx", line 572, in rados.requires.wrapper.validate_func
File "rados.pyx", line 560, in rados.requires.check_type
TypeError: xattr_value must be bytes
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 22 Oct 2019 04:42:06 +0000 (12:42 +0800)]
pybind/rados: do not slice zip()
in python2, zip() returns a list. while in python3, zip() returns an
iterator. so we cannot slice the return value of zip(...) anymore. let's
just materialized the iterator before slicing it.
this change address the failure of
```
ERROR: test_rados.TestIoctx.test_applications
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in
runTest
self.test(*self.arg)
File "/var/ssd/ceph/src/test/pybind/test_rados.py", line 879, in
test_applications
eq([], self.ioctx.application_metadata_list("app1"))
File "rados.pyx", line 4074, in rados.Ioctx.application_metadata_list
TypeError: 'zip' object is unsliceable
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jos Collin [Mon, 14 Oct 2019 04:51:35 +0000 (10:21 +0530)]
mgr/volumes: refactor dir handle cleanup
introduce with statement in rmtree. This change
simplifies the code's handling of directory cleanup.
Signed-off-by: Jos Collin <jcollin@redhat.com>
Patrick Donnelly [Tue, 22 Oct 2019 04:23:41 +0000 (21:23 -0700)]
Merge PR #30505 into master
* refs/pull/30505/head:
test/libcephfs: introduce (uint64_t)ceph_pthread_self()
test/libcephfs: Only use sys/xattr.h on Linux
cephfs: Create a separate dirent{} for FreeBSD
test/fs: Only use features.h on Linux
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 22 Oct 2019 04:22:00 +0000 (21:22 -0700)]
Merge PR #30813 into master
* refs/pull/30813/head:
qa: get rid of iteritems for python3 compatibility
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 22 Oct 2019 04:21:15 +0000 (21:21 -0700)]
Merge PR #30886 into master
* refs/pull/30886/head:
mgr/volumes: cleanup leftovers from earlier purge job implementation
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 22 Oct 2019 04:18:36 +0000 (21:18 -0700)]
Merge PR #30971 into master
* refs/pull/30971/head:
qa: whitelist "Error recovering journal" for cephfs-data-scan
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 22 Oct 2019 04:14:07 +0000 (21:14 -0700)]
Merge PR #30986 into master
* refs/pull/30986/head:
qa: allow client mount to reset fully
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Xie Xingguo [Tue, 22 Oct 2019 00:33:54 +0000 (08:33 +0800)]
Merge pull request #30897 from tchaikov/wip-bluestore/avl-allocator
os/bluestore: AVL-tree & extent - based space allocator
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Mon, 21 Oct 2019 15:56:22 +0000 (10:56 -0500)]
ceph-daemon: deploy: behave when crash keyring isn't provided
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 10 Oct 2019 02:26:49 +0000 (21:26 -0500)]
ceph-daemon: simplify calls from rm_cluster
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Oct 2019 21:40:46 +0000 (16:40 -0500)]
ceph-daemon: explicitly wait for mon to start
All this does is make things easier to understand if there is a failure
that prevents the mon from responding.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Oct 2019 21:35:26 +0000 (16:35 -0500)]
ceph-daemon: bootstrap finish message
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Oct 2019 19:25:39 +0000 (14:25 -0500)]
ceph-daemon: shell: LANG=C
This gets rid of all these warnings:
bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such file or directory
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Oct 2019 18:36:23 +0000 (13:36 -0500)]
ceph-daemon: verify mon IP is valid before continuing
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Oct 2019 17:50:47 +0000 (12:50 -0500)]
ceph-daemon: cleanly capture stdout, err; log
- New Popen wrapper that grabs stdout, stderr, and return code. This is
adapted from ceph-volume's process.py helper(s).
- Optionally log output to logger
- By default, be more verbose if the command fails.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 8 Oct 2019 15:23:43 +0000 (10:23 -0500)]
ceph-daemon: --debug for more log detail
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 7 Oct 2019 21:48:19 +0000 (16:48 -0500)]
test_ceph_daemon: default to test on 127.0.0.1; accept ip as arg
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 7 Oct 2019 21:48:06 +0000 (16:48 -0500)]
ceph-daemon: bootstrap: assimilate and minimize input config file
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 21 Oct 2019 15:03:19 +0000 (23:03 +0800)]
Merge pull request #30957 from tchaikov/wip/crimson/mon/client
crimson/{osd,mon}: lower log level when sending a replicated op
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Wed, 16 Oct 2019 07:51:54 +0000 (15:51 +0800)]
crimson/mon: skip CEPHX_V2 challenge if client doesn't support it
port
321548010578d6ff7bbf2e5ce8a550008b131423 from src/mon/MonClient
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 10 Oct 2019 07:44:27 +0000 (15:44 +0800)]
crimson/osd: lower log level when sending a replicated op
it's but normal i/o, no need to print it using "info"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Drunkard Zhang [Mon, 21 Oct 2019 14:21:40 +0000 (22:21 +0800)]
doc: add missed word 'than' in doc/man/8/rbd.rst
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
Kefu Chai [Mon, 21 Oct 2019 14:18:54 +0000 (22:18 +0800)]
Merge pull request #30925 from cyx1231st/wip-seastar-msgr-policies
test/crimson: verify msgr v2 behavior with different policies
Reviewed-by: Kefu Chai <kchai@redhat.com>
Venky Shankar [Thu, 17 Oct 2019 15:29:42 +0000 (20:59 +0530)]
qa: allow client mount to reset fully
... without this there is a sutle race where it takes a
bit of time after a hard reset of a client mount causing
further checks to fail as the (still up) client is still
connected to the MDS.
Fixes: http://tracker.ceph.com/issues/42213
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Tim Serong [Mon, 21 Oct 2019 09:10:19 +0000 (20:10 +1100)]
Merge pull request #31008 from SUSE/wip-doc-telemetry-default-interval
doc/mgr/telemetry: update default interval
Ilya Dryomov [Mon, 21 Oct 2019 09:00:46 +0000 (11:00 +0200)]
Merge pull request #30965 from idryomov/wip-krbd-udev-socket-overrun
krbd: avoid udev netlink socket overrun
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Tim Serong [Mon, 21 Oct 2019 07:11:35 +0000 (18:11 +1100)]
doc/mgr/telemetry: update default interval
Commit
712987d533 changed the default interval to 24h;
updating the docs to match (this also should go to
the Nautilus branch as that commit landed there too
in https://github.com/ceph/ceph/pull/27709)
Signed-off-by: Tim Serong <tserong@suse.com>
Kefu Chai [Mon, 21 Oct 2019 06:23:48 +0000 (14:23 +0800)]
mgr/progress: remove "since" from duration string
quote from the description of the tracker ticket:
> This is a duration and therefore "since" doesn't make sense since it's
> not the start of the event.
Fixes: https://tracker.ceph.com/issues/40976
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 21 Oct 2019 04:20:01 +0000 (12:20 +0800)]
Merge pull request #30973 from tchaikov/wip/qa/tasks/ceph_manager
qa/tasks/ceph_manager: do not panic if "pg_num_target" is missing
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Thu, 17 Oct 2019 15:23:11 +0000 (23:23 +0800)]
qa/tasks/ceph: tolerate 'T' or ' ' as date and time separator
str.replace() does not change the string in-place, so we need to assign
its return value to `t`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 17 Oct 2019 14:07:18 +0000 (22:07 +0800)]
qa/tasks/ceph_manager: do not panic of "pg_num_target" is missing
we don't have "pg_num_target" in "osd dump" back in mimic, so we don't
need to check it if it is missing when performing upgrade test.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 21 Oct 2019 04:14:46 +0000 (12:14 +0800)]
Merge pull request #30947 from dillaman/wip-42332
common/ceph_context: avoid unnecessary wait during service thread shutdown
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 21 Oct 2019 04:13:47 +0000 (12:13 +0800)]
Merge pull request #30840 from majianpeng/async-messenger-narrow-lock
msg/async: narrow scope of AsyncMessenger::lock in fun connect_to.
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 21 Oct 2019 04:12:29 +0000 (12:12 +0800)]
Merge pull request #30883 from majianpeng/msg-remove-submit-message
msg/async: move submit_message() into send_to()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Oct 2019 16:50:26 +0000 (00:50 +0800)]
Merge pull request #30695 from dsavineau/ceph_cli_cephconf_rc
ceph.in: check ceph-conf returncode
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Oct 2019 16:34:18 +0000 (00:34 +0800)]
Merge pull request #30758 from kshtsk/wip-python3-print
tests: use python3 compatible print
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Oct 2019 16:32:22 +0000 (00:32 +0800)]
Merge pull request #30987 from trociny/wip-42370
mgr/balancer: python3 compatibility issue
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Sat, 19 Oct 2019 08:20:47 +0000 (10:20 +0200)]
Merge pull request #30705 from smithfarm/wip-sp-backporting-2
doc: split up SubmittingPatches.rst
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Pritha Srivastava [Wed, 18 Sep 2019 08:01:57 +0000 (13:31 +0530)]
Deleting tail/multipart objects inline when send chain to gc fails.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Mon, 14 Oct 2019 04:09:03 +0000 (09:39 +0530)]
Correcting the value of rgw_gc_max_queue_size.
queue head size must be subtracted from osd_max_object_size
to get rgw_gc_max_queue_size.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Sun, 13 Oct 2019 15:41:12 +0000 (21:11 +0530)]
Changing rgw_gc_num_urgent_data_entries to rgw_gc_max_deferred,
and rgw_gc_max_urgent_data_size to rgw_gc_max_deferred_entries_size.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Casey Bodley [Wed, 9 Oct 2019 18:46:20 +0000 (14:46 -0400)]
test/rgw: run ceph_test_rgw_gc_log in rgw verify suite
since it requires a running ceph cluster, it can't run in 'make check'
as a unittest. add it to the rgw/verify suite instead
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Dan Mick [Fri, 18 Oct 2019 23:11:37 +0000 (16:11 -0700)]
Merge pull request #30989 from tchaikov/wip/ceph-crash/logger-name
ceph-crash: use "ceph-crash" as logger name
Ilya Dryomov [Fri, 11 Oct 2019 12:58:08 +0000 (14:58 +0200)]
qa: add script to test udev event reaping
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Mon, 14 Oct 2019 10:40:43 +0000 (12:40 +0200)]
krbd: increase udev netlink socket receive buffer to 2M
Even though with the previous commit we no longer block between binding
the socket and starting handling events, we still want a larger receive
buffer to accommodate for scheduling delays. Since the filtering is
done in the listener, an estimate focused on just rbd is not accurate,
but anyway: a pair of "rbd" and "block" events for "rbd map" take 2048
bytes in the receive buffer. This allows for roughly a thousand of
them ("rbd map" and "rbd unmap" require root and libudev makes use of
SO_RCVBUFFORCE so rmem_max limit is ignored).
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Casey Bodley [Fri, 18 Oct 2019 17:20:18 +0000 (13:20 -0400)]
qa/rgw: drop some objectstore types
use the subset of objectstore configurations from .qa/objectstore_cephfs
instead of .qa/objectstore
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Fri, 18 Oct 2019 09:47:12 +0000 (17:47 +0800)]
ceph-crash: use "ceph-crash" as logger name
"ceph-crash" is a better name than "__main__", we don't use ceph-crash
as a module, so its `__name__` is always `__main__`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Fri, 18 Oct 2019 09:19:30 +0000 (12:19 +0300)]
mgr/balancer: python3 compatibility issue
Fixes: https://tracker.ceph.com/issues/42370
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Fri, 18 Oct 2019 09:15:45 +0000 (17:15 +0800)]
Merge pull request #30701 from pdvian/wip-fix-target-size-bytes
mon/OSDMonitor: Fix pool set target_size_bytes (etc) with unit suffix
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 18 Oct 2019 09:15:07 +0000 (17:15 +0800)]
Merge pull request #30870 from rosinL/wip-addlog-setnumaaffinity
osd/osd: add an err log to set_numa_affinty
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 18 Oct 2019 09:14:00 +0000 (17:14 +0800)]
Merge pull request #30549 from aclamk/fix-garbled-wal
os/bluestore/BlueFS: clear newly allocated space for WAL logs
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Ilya Dryomov [Fri, 18 Oct 2019 09:11:07 +0000 (11:11 +0200)]
Merge pull request #30978 from idryomov/wip-krbd-modprobe
krbd: modprobe before calling build_map_buf()
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Rishabh Dave [Sat, 12 Oct 2019 11:32:33 +0000 (17:02 +0530)]
ceph-volume: make get_pv() accepts list of PVs
...so that the code calling it can pass its copy which would prevent
creating a new one within get_pv().
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Sat, 12 Oct 2019 11:29:57 +0000 (16:59 +0530)]
ceph-volume: make get_vg() accepts list of VGs
...so that the code calling it can pass its copy which would prevent
creating a new one within get_vg().
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Sat, 12 Oct 2019 11:14:39 +0000 (16:44 +0530)]
ceph-volume: rearrange api/lvm.py
Move code for PVs, VGs and LVs, individually, next to each other.
Fixes: https://tracker.ceph.com/issues/42368
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Jan Fajerski [Fri, 18 Oct 2019 08:07:06 +0000 (10:07 +0200)]
Merge pull request #30790 from kshtsk/wip-python3-print-ceph-volume
ceph-volume: use python3 compatible print
Kefu Chai [Fri, 18 Oct 2019 08:06:23 +0000 (16:06 +0800)]
Merge pull request #30829 from kshtsk/wip-misc-drop-legacy-code-in-skeleton_config
tasks/ceph: drop testdir replacement in skeleton_config
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 18 Oct 2019 08:02:32 +0000 (16:02 +0800)]
Merge pull request #30852 from dzafman/wip-42115
osd: Turn off repair pg state when leaving recovery
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 18 Oct 2019 07:43:33 +0000 (15:43 +0800)]
Merge pull request #30646 from shyukri/wip-qa-mgr-balancer
qa/mgr/balancer: Add cram based test for altering target_max_misplaced_ratio setting
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 5 Jul 2018 13:50:11 +0000 (15:50 +0200)]
doc: split up SubmittingPatches.rst
Split the existing SubmittingPatches.rst into three files:
* SubmittingPatches.rst (general guidelines, for GitHub/master branch)
* SubmittingPatches-kernel.rst (for kernel patches)
* SubmittingPatches-backports.rst (for backports)
Fixes: http://tracker.ceph.com/issues/20953
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Thu, 17 Oct 2019 15:31:24 +0000 (23:31 +0800)]
Merge pull request #30293 from rosinL/wip-fix-kvstorebench
kv_store_bench: fix teuthology_tests() return value
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Thu, 17 Oct 2019 15:28:29 +0000 (23:28 +0800)]
Merge pull request #30833 from majianpeng/async-batch-counter
msg/async: remove unsued code.
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Lenz Grimmer [Thu, 17 Oct 2019 15:21:16 +0000 (15:21 +0000)]
Merge pull request #30288 from ricardoasmarques/display-uuid-lunid
mgr/dashboard: Display WWN and LUN number in iSCSI target details
Reviewed-by: Tiago Melo <tmelo@suse.com>
Ilya Dryomov [Thu, 17 Oct 2019 14:23:41 +0000 (16:23 +0200)]
krbd: modprobe before calling build_map_buf()
Otherwise add_key() in set_kernel_secret() fails as if running against
an ancient kernel and we fall back to secret= in options for the first
image being mapped on the machine.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Thu, 17 Oct 2019 14:22:06 +0000 (22:22 +0800)]
do_cmake.sh: enable amqp and rdma for EL8
the PowerTools repo now has the related dependencies, so let's enable
them.
Signed-off-by: Kefu Chai <kchai@redhat.com>
J. Eric Ivancich [Thu, 17 Oct 2019 13:27:40 +0000 (09:27 -0400)]
Merge pull request #30940 from cbodley/wip-qa-rgw-crypt
qa/rgw: refactor the kms backend configuration
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>