Commit Graph

110605 Commits

Author SHA1 Message Date
Yuan Lu
ca6adb238e librbd: add WriteLogMap test cases
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
2020-04-26 10:55:50 +08:00
Yuan Lu
956316c04a librbd: add LogMap class
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
2020-04-26 10:55:43 +08:00
Yuan Lu
aa88a3f431 librbd: add ReadRequest to handle read
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Chamarthy, Mahati <mahati.chamarthy@intel.com>
2020-04-26 10:55:36 +08:00
Josh Durgin
d61f57d078
Merge pull request #34328 from liewegas/cpatch
script/cpatch: initial version

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-04-22 18:34:36 -07:00
Jason Dillaman
e9130bcf0b
Merge pull request #34430 from yison/rwl-image-writeback-cache-seq4
rbd/cache: Replicated Write Log core codes part 4

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-04-22 19:28:17 -04:00
Casey Bodley
9a3aecbaf3
Merge pull request #34669 from yuvalif/remove_queue_dependency
cls/2pc_queue: remove the dependency of cls_2pc_queue with cls_queue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-04-22 10:35:48 -04:00
Casey Bodley
b80dee0123
Merge pull request #34664 from yuvalif/clarify_topic_creation_format
rgw/doc: clarify topic creation format

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-04-22 10:35:28 -04:00
Casey Bodley
3466890e50
Merge pull request #34613 from cbodley/wip-44661
rgw: use DEFER_DROP_PRIVILEGES flag unconditionally

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2020-04-22 10:06:06 -04:00
Sebastian Wagner
31958dfcb5
Merge pull request #34621 from mgfritch/cephadm-test-cleanup
qa/workunits/cephadm/test_cephadm.sh: add CLEANUP var
2020-04-22 14:38:16 +02:00
Sebastian Wagner
2ee8034c20
Merge pull request #34568 from sebastian-philipp/orch-upgrade-usage
mgr/orch: upgrade: better input validation

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-04-22 14:37:55 +02:00
Sebastian Wagner
2e23a5422b
Merge pull request #34565 from SUSE/wip-fix-45095
cephadm: handle adopting offline OSDs

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-22 14:37:04 +02:00
Lenz Grimmer
65239481f1
Merge pull request #34442 from tspmelo/wip-fix-rgw-bucket-checkbox
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-04-22 13:31:49 +02:00
Yan, Zheng
cd94861e96
Merge pull request #33479 from simon-rock/simon_split_stray
mds : enable fragmentation of stray dir when conditions are met
2020-04-22 14:55:57 +08:00
Gregory Farnum
da3904609f
Merge pull request #34561 from kotreshhr/ceph-fs-status-output
mgr/status: Fix "ceph fs status" json format writing to stderr

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2020-04-21 22:17:42 -07:00
Gregory Farnum
f278e10038
Merge pull request #34546 from varshar16/wip-flake8-cephfs-shell
cephfs-shell: Fix multiple flake8 errors

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2020-04-21 22:16:43 -07:00
Gregory Farnum
54d4b31f0c
Merge pull request #34534 from ajarr/fix-43061
mon/FSCommands: Fix 'add_data_pool' command and 'fs new' command

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2020-04-21 22:15:23 -07:00
Gregory Farnum
3504799810
Merge pull request #34164 from ukernel/wip-44382
qa/cephfs: update TestClusterFull:test_barrier

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-04-21 22:14:10 -07:00
Gregory Farnum
6fae077e9e
Merge pull request #33576 from lxbsz/fuse
unshare-ns-mount: add isolating netns for mount helper support

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-04-21 22:12:37 -07:00
Gregory Farnum
fec0e61c21
Merge pull request #34121 from ADI10HERO/flake8_fix1
cephfs-shell: Fix flake8 errors (F841, E302, E502, E128, E305 and E222)

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
2020-04-21 22:10:59 -07:00
Gregory Farnum
ce0845c529
Merge pull request #34531 from lxbsz/libfuse3
ceph-fuse: link to libfuse3 and pass `-o big_writes` to libfuse if libfuse < 3.0.0

Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-21 22:08:15 -07:00
Gregory Farnum
4b80709884
Merge pull request #34274 from ukernel/wip-44801
client: reset requested_max_size if file write is not wanted

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2020-04-21 22:07:06 -07:00
Yuval Lifshitz
ad56f9e826 cls/2pc_queue: remove the dependency of cls_2pc_queue with cls_queue
both queues share the same code base, however, cls_2pc_queue should work
even if cls_queue objectclass is not loaded into the osd

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2020-04-21 19:15:42 +03:00
Sebastian Wagner
b2a545aa43
Merge pull request #34612 from zdover23/wip-doc-tshooting-ssh-errors-44905
doc/cephadm: Add troubleshooting guidance for ssh connection failures. [cephadm]

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-21 15:22:15 +02:00
Casey Bodley
20a1accd54
Merge pull request #34661 from wjwithagen/wjw-fix-rgw_bucket_sync_cache.h
rgw: remove noexcept from function definition

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-04-21 08:21:43 -04:00
Casey Bodley
3cefd0561f
Merge pull request #34614 from theanalyst/rgw/reshard-num-check
rgw: reshard: skip stale bucket id entries from reshard queue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-04-21 07:59:55 -04:00
Willem Jan Withagen
5f0d5fcf46 rgw: remove noexcept from function definition
Clang complains:
src/rgw/rgw_bucket_sync_cache.h:88:3: error: exception specification of explicitly defaulted copy co
nstructor does not match the calculated one
  Handle(const Handle&) noexcept = default;
  ^
1 error generated.

And a reference that I found for this:
    https://github.com/mapnik/mapnik/issues/3274
Suggesting that the noexcept is inherited from the first definition.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2020-04-21 11:41:23 +00:00
Yuval Lifshitz
a13aeafe30 rgw/doc: clarify topic creation format
also, fix some typos, and 'push-endpoint' parameter

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2020-04-21 14:08:28 +03:00
Yan, Zheng
a7eadaf28b qa/cephfs: add test case for fragmenting stray dirs
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2020-04-21 12:38:59 +08:00
Kefu Chai
713ef3c7e7
Merge pull request #34605 from tchaikov/wip-45113
qa/suites/*/rados_cls_all.yaml: load all classes

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-04-21 09:23:39 +08:00
Simon Gao
2822787229 mds: automatically fragment stray dirs
Signed-off-by: Simon Gao <simon29rock@gmail.com>
2020-04-21 08:46:31 +08:00
Josh Durgin
18734afab0
Merge pull request #34655 from ceph/wip-yuriw-remove-wip-master
qa/tests: removed tests 'client-upgrade-octopus-pacific'

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-04-20 16:37:32 -07:00
Yuri Weinstein
16abadc59e qa/tests: removed tests 'client-upgrade-octopus-pacific'
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2020-04-20 15:59:19 -07:00
Josh Durgin
285fbac34c
Merge pull request #34651 from ceph/wip-yuriw-crontab-master
qa/tests: fixed typo

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-04-20 15:32:11 -07:00
Yuri Weinstein
5e7391f231 qa/tests: fixed typo
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2020-04-20 13:57:10 -07:00
Yuri Weinstein
4b0237eb96
Merge pull request #34649 from ceph/wip-yuriw-crontab-master
qa/tests: added new clients upgrade tests `client-upgrade-octopus-pacific`
2020-04-20 13:45:41 -07:00
Yuri Weinstein
540842d27e qa/tests: added new clients upgrade tests
`client-upgrade-octopus-pacific` for future 'pacific' release

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2020-04-20 12:44:39 -07:00
Yuri Weinstein
6cd199602d
Merge pull request #34642 from ceph/wip-yuriw-octopus-client-upgrade-octopus-pacific
qa/tests: initial checkin for clients upgrades tests for future relea…
2020-04-20 12:35:32 -07:00
Yuri Weinstein
158518fdcf qa/tests: initial checkin for clients upgrades tests for future release of pacific
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2020-04-20 10:58:57 -07:00
Jason Dillaman
73e3f537ef
Merge pull request #34608 from trociny/wip-journal-append-stripe-width
cls/journal: use EC pool stripe width for padding appends

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-04-20 13:27:35 -04:00
Casey Bodley
58a773b59c qa/rgw: allow 'ceph' user to read vault token
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-04-20 11:36:51 -04:00
Sebastian Wagner
67a29846f8 mgr/orch: upgrade: better input validation
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-20 15:45:02 +02:00
Kefu Chai
94e39db4e8
Merge pull request #34636 from tchaikov/wip-vstart-runner-py3
qa/tasks/vstart_runner,doc: be compatible with python3

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2020-04-20 21:23:43 +08:00
Kefu Chai
c5bd318de6 qa/tasks/cephfs/fuse_mount.py: by python3 compatible
pass `StringIO()` to capture stdout whose value will be interpreted as a
string later on

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-20 19:55:09 +08:00
Zac Dover
c4765afb81 Add troubleshooting guidance for ssh connection failures.
For more thorough information about this commit, see:
https://tracker.ceph.com/issues/44905

Signed-off-by: Zac Dover <zac.dover@gmail.com>

Update doc/cephadm/troubleshooting.rst

Co-Authored-By: Michael Fritch <mfritch@suse.com>

ibid

Signed-off-by: Zac Dover <zac.dover@gmail.com>

Update doc/cephadm/troubleshooting.rst

Co-Authored-By: Sebastian Wagner <sebastian@spawnhost.de>

Update doc/cephadm/troubleshooting.rst

Co-Authored-By: Sebastian Wagner <sebastian@spawnhost.de>

Added mgfritch's suggestion regarding checking to see if the public key
is listed in the authorized_keys file.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-04-20 21:48:22 +10:00
Kefu Chai
d54f3ea43e pybind/mgr/dashboard/run-backend-api-tests.sh: use python3 by default
since vstart_runner.py is now py3, let's use python3 by default

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-20 19:41:09 +08:00
Kefu Chai
bedea85019 qa/tasks/vstart_runner.py: be python3 compatible
differentiate `str` and `bytes` instances, and drop python2 support from
vstart_runner.py, as we've moved to python3 already

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-20 19:41:09 +08:00
Kefu Chai
a2d1eaeb3f qa/suites/*/rados_cls_all.yaml: load all classes
the intention to add the whitelist was to test "sdk" class, but if we
add new classes to the list, and add tests exercising them, the tests
fail if we fail to update these `rados_cls_all.yaml` accordingly.

so in this change, the list is now '*' which allows OSD to load all
classes found in the specified directory

Fixes: https://tracker.ceph.com/issues/45113
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-20 18:58:35 +08:00
Kefu Chai
c6e48ef0f0 doc/dev/developer_guide: use python3 to launch vstart_runner.py
as vstart_runner.py is compatible with python3, and so is the tests
under `qa/` directory.

and use `pip` to install teuthology, simpler this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-20 18:31:37 +08:00
Yan, Zheng
f558dff017 mds: make MDCache::scan_stray_dir() handle dir fragmentation
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2020-04-20 18:11:18 +08:00
Yan, Zheng
9a308ed4a4 mds: don't add null dentry to frozen stray dir
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2020-04-20 18:11:18 +08:00