]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agomgr/cephadm: unify apply tests 34675/head
Sebastian Wagner [Fri, 17 Apr 2020 13:15:34 +0000 (15:15 +0200)]
mgr/cephadm: unify apply tests

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: unified add_daemon tests
Sebastian Wagner [Fri, 17 Apr 2020 12:44:52 +0000 (14:44 +0200)]
mgr/cephadm: unified add_daemon tests

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: add cleanup to test_cephadm
Sebastian Wagner [Fri, 17 Apr 2020 10:55:25 +0000 (12:55 +0200)]
mgr/cephadm: add cleanup to test_cephadm

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: remove_service: Feedback, if spec not found
Sebastian Wagner [Fri, 17 Apr 2020 10:47:46 +0000 (12:47 +0200)]
mgr/cephadm: remove_service: Feedback, if spec not found

`ceph orch rm my-unknown-service` still returned
`Removed service my-unknown-service`.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34678 from sebastian-philipp/doc-cephadm-install-fix-placement
Sebastian Wagner [Thu, 23 Apr 2020 10:20:30 +0000 (12:20 +0200)]
Merge pull request #34678 from sebastian-philipp/doc-cephadm-install-fix-placement

doc/cephadm: install.rst: fix placement spec.

Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34674 from sebastian-philipp/cephadm-ceph-volume-lock-if-fsid
Sebastian Wagner [Thu, 23 Apr 2020 10:09:22 +0000 (12:09 +0200)]
Merge pull request #34674 from sebastian-philipp/cephadm-ceph-volume-lock-if-fsid

cephadm: Aquire lock, if fsid != None

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34620 from mgfritch/cephadm-timeout-test-fixup
Sebastian Wagner [Thu, 23 Apr 2020 10:03:20 +0000 (12:03 +0200)]
Merge pull request #34620 from mgfritch/cephadm-timeout-test-fixup

qa/workunits/cephadm/test_cephadm.sh: extend timeout test

5 years agoMerge pull request #34600 from dsavineau/issue_45120
Sebastian Wagner [Thu, 23 Apr 2020 10:02:31 +0000 (12:02 +0200)]
Merge pull request #34600 from dsavineau/issue_45120

cephadm: fix adopt prometheus command

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34688 from sebastian-philipp/qa-test-cephadm-octopus-version
Sebastian Wagner [Thu, 23 Apr 2020 10:01:48 +0000 (12:01 +0200)]
Merge pull request #34688 from sebastian-philipp/qa-test-cephadm-octopus-version

qa/workunits/cephadm/test_cephadm: Also test octopus

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34691 from sebastian-philipp/cephadm-ssk-keyring-check_call
Sebastian Wagner [Thu, 23 Apr 2020 10:01:20 +0000 (12:01 +0200)]
Merge pull request #34691 from sebastian-philipp/cephadm-ssk-keyring-check_call

mgr/cephadm: use check_call  for `ssh-keygen`

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #33065 from ifed01/wip-ifed-spurious-readerr-alert
Igor Fedotov [Thu, 23 Apr 2020 08:32:25 +0000 (11:32 +0300)]
Merge pull request #33065 from ifed01/wip-ifed-spurious-readerr-alert

os/bluestore: introduce health alert on spurious read errors.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #34666 from rhcs-dashboard/44405-test-totp-increase-time
Laura Paduano [Thu, 23 Apr 2020 07:47:58 +0000 (09:47 +0200)]
Merge pull request #34666 from rhcs-dashboard/44405-test-totp-increase-time

mgr/dashboard: fix tasks.mgr.dashboard.test_rgw.RgwBucketTest.test_all

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #34483 from dabukalam/master
Kefu Chai [Thu, 23 Apr 2020 07:33:06 +0000 (15:33 +0800)]
Merge pull request #34483 from dabukalam/master

doc/rados: Remove obsolete placement group note from EC pool creation

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #33916 from aclamk/fix-bs-avl-memaccounting
Kefu Chai [Thu, 23 Apr 2020 07:22:19 +0000 (15:22 +0800)]
Merge pull request #33916 from aclamk/fix-bs-avl-memaccounting

os/bluestore: Adds shutdown in destructor of AvlAllocator

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34559 from tchaikov/wip-19076-refactor
Kefu Chai [Thu, 23 Apr 2020 02:34:26 +0000 (10:34 +0800)]
Merge pull request #34559 from tchaikov/wip-19076-refactor

mon/OSDMonitor: refactor loops for better readability

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #34328 from liewegas/cpatch
Josh Durgin [Thu, 23 Apr 2020 01:34:36 +0000 (18:34 -0700)]
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>
5 years agoMerge pull request #34430 from yison/rwl-image-writeback-cache-seq4
Jason Dillaman [Wed, 22 Apr 2020 23:28:17 +0000 (19:28 -0400)]
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>
5 years agoMerge pull request #34669 from yuvalif/remove_queue_dependency
Casey Bodley [Wed, 22 Apr 2020 14:35:48 +0000 (10:35 -0400)]
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>
5 years agoMerge pull request #34664 from yuvalif/clarify_topic_creation_format
Casey Bodley [Wed, 22 Apr 2020 14:35:28 +0000 (10:35 -0400)]
Merge pull request #34664 from yuvalif/clarify_topic_creation_format

rgw/doc: clarify topic creation format

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agomgr/cephadm: use check_call for `ssh-keygen` 34691/head
Sebastian Wagner [Wed, 22 Apr 2020 14:10:27 +0000 (16:10 +0200)]
mgr/cephadm: use check_call  for `ssh-keygen`

Mainly to provide any reasonable error

Fixes: https://tracker.ceph.com/issues/44832
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34613 from cbodley/wip-44661
Casey Bodley [Wed, 22 Apr 2020 14:06:06 +0000 (10:06 -0400)]
Merge pull request #34613 from cbodley/wip-44661

rgw: use DEFER_DROP_PRIVILEGES flag unconditionally

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agoqa/workunits/cephadm/test_cephadm: Also test octopus 34688/head
Sebastian Wagner [Wed, 22 Apr 2020 13:31:19 +0000 (15:31 +0200)]
qa/workunits/cephadm/test_cephadm: Also test octopus

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34621 from mgfritch/cephadm-test-cleanup
Sebastian Wagner [Wed, 22 Apr 2020 12:38:16 +0000 (14:38 +0200)]
Merge pull request #34621 from mgfritch/cephadm-test-cleanup

qa/workunits/cephadm/test_cephadm.sh: add CLEANUP var

5 years agoMerge pull request #34568 from sebastian-philipp/orch-upgrade-usage
Sebastian Wagner [Wed, 22 Apr 2020 12:37:55 +0000 (14:37 +0200)]
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>
5 years agoMerge pull request #34565 from SUSE/wip-fix-45095
Sebastian Wagner [Wed, 22 Apr 2020 12:37:04 +0000 (14:37 +0200)]
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>
5 years agoMerge pull request #34442 from tspmelo/wip-fix-rgw-bucket-checkbox
Lenz Grimmer [Wed, 22 Apr 2020 11:31:49 +0000 (13:31 +0200)]
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>
5 years agodoc/cephadm: install.rst: fix placement spec. 34678/head
Sebastian Wagner [Wed, 22 Apr 2020 10:38:13 +0000 (12:38 +0200)]
doc/cephadm: install.rst: fix placement spec.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agocephadm: Aquire lock, if fsid != None 34674/head
Sebastian Wagner [Wed, 22 Apr 2020 09:51:49 +0000 (11:51 +0200)]
cephadm: Aquire lock, if fsid != None

Fixes:

```
Traceback (most recent call last):
  File "./cephadm", line 4494, in <module>
    r = args.func()
  File "./cephadm", line 1077, in _infer_fsid
    return func()
  File "./cephadm", line 1103, in _infer_image
    return func()
  File "./cephadm", line 2813, in command_ceph_volume
    l = FileLock(args.fsid)
  File "./cephadm", line 560, in __init__
    self._lock_file = os.path.join(LOCK_DIR, name + '.lock')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
```

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #33479 from simon-rock/simon_split_stray
Yan, Zheng [Wed, 22 Apr 2020 06:55:57 +0000 (14:55 +0800)]
Merge pull request #33479 from simon-rock/simon_split_stray

mds : enable fragmentation of stray dir when conditions are met

5 years agoMerge pull request #34561 from kotreshhr/ceph-fs-status-output
Gregory Farnum [Wed, 22 Apr 2020 05:17:42 +0000 (22:17 -0700)]
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>
5 years agoMerge pull request #34546 from varshar16/wip-flake8-cephfs-shell
Gregory Farnum [Wed, 22 Apr 2020 05:16:43 +0000 (22:16 -0700)]
Merge pull request #34546 from varshar16/wip-flake8-cephfs-shell

cephfs-shell: Fix multiple flake8 errors

Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #34534 from ajarr/fix-43061
Gregory Farnum [Wed, 22 Apr 2020 05:15:23 +0000 (22:15 -0700)]
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>
5 years agoMerge pull request #34164 from ukernel/wip-44382
Gregory Farnum [Wed, 22 Apr 2020 05:14:10 +0000 (22:14 -0700)]
Merge pull request #34164 from ukernel/wip-44382

qa/cephfs: update TestClusterFull:test_barrier

Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge pull request #33576 from lxbsz/fuse
Gregory Farnum [Wed, 22 Apr 2020 05:12:37 +0000 (22:12 -0700)]
Merge pull request #33576 from lxbsz/fuse

unshare-ns-mount: add isolating netns for mount helper support

Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge pull request #34121 from ADI10HERO/flake8_fix1
Gregory Farnum [Wed, 22 Apr 2020 05:10:59 +0000 (22:10 -0700)]
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>
5 years agoMerge pull request #34531 from lxbsz/libfuse3
Gregory Farnum [Wed, 22 Apr 2020 05:08:15 +0000 (22:08 -0700)]
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>
5 years agoMerge pull request #34274 from ukernel/wip-44801
Gregory Farnum [Wed, 22 Apr 2020 05:07:06 +0000 (22:07 -0700)]
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>
5 years agocls/2pc_queue: remove the dependency of cls_2pc_queue with cls_queue 34669/head
Yuval Lifshitz [Tue, 21 Apr 2020 16:15:42 +0000 (19:15 +0300)]
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>
5 years agomgr/dashboard: fix tasks.mgr.dashboard.test_rgw.RgwBucketTest.test_all 34666/head
Alfonso Martínez [Tue, 21 Apr 2020 13:27:06 +0000 (15:27 +0200)]
mgr/dashboard: fix tasks.mgr.dashboard.test_rgw.RgwBucketTest.test_all

Increased the time for getting 2nd TOTP.

Fixes: https://tracker.ceph.com/issues/44405
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
5 years agoMerge pull request #34612 from zdover23/wip-doc-tshooting-ssh-errors-44905
Sebastian Wagner [Tue, 21 Apr 2020 13:22:15 +0000 (15:22 +0200)]
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>
5 years agoMerge pull request #34661 from wjwithagen/wjw-fix-rgw_bucket_sync_cache.h
Casey Bodley [Tue, 21 Apr 2020 12:21:43 +0000 (08:21 -0400)]
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>
5 years agoMerge pull request #34614 from theanalyst/rgw/reshard-num-check
Casey Bodley [Tue, 21 Apr 2020 11:59:55 +0000 (07:59 -0400)]
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>
5 years agorgw: remove noexcept from function definition 34661/head
Willem Jan Withagen [Tue, 21 Apr 2020 11:13:32 +0000 (11:13 +0000)]
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>
5 years agorgw/doc: clarify topic creation format 34664/head
Yuval Lifshitz [Tue, 21 Apr 2020 11:08:28 +0000 (14:08 +0300)]
rgw/doc: clarify topic creation format

also, fix some typos, and 'push-endpoint' parameter

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
5 years agoqa/cephfs: add test case for fragmenting stray dirs 33479/head
Yan, Zheng [Mon, 20 Apr 2020 11:16:47 +0000 (19:16 +0800)]
qa/cephfs: add test case for fragmenting stray dirs

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
5 years agoMerge pull request #34605 from tchaikov/wip-45113
Kefu Chai [Tue, 21 Apr 2020 01:23:39 +0000 (09:23 +0800)]
Merge pull request #34605 from tchaikov/wip-45113

qa/suites/*/rados_cls_all.yaml: load all classes

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agomds: automatically fragment stray dirs
Simon Gao [Sat, 22 Feb 2020 02:26:57 +0000 (10:26 +0800)]
mds: automatically fragment stray dirs

Signed-off-by: Simon Gao <simon29rock@gmail.com>
5 years agoMerge pull request #34655 from ceph/wip-yuriw-remove-wip-master
Josh Durgin [Mon, 20 Apr 2020 23:37:32 +0000 (16:37 -0700)]
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>
5 years agoqa/tests: removed tests 'client-upgrade-octopus-pacific' 34655/head
Yuri Weinstein [Mon, 20 Apr 2020 22:59:19 +0000 (15:59 -0700)]
qa/tests: removed tests 'client-upgrade-octopus-pacific'

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoMerge pull request #34651 from ceph/wip-yuriw-crontab-master
Josh Durgin [Mon, 20 Apr 2020 22:32:11 +0000 (15:32 -0700)]
Merge pull request #34651 from ceph/wip-yuriw-crontab-master

qa/tests: fixed typo

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoqa/tests: fixed typo 34651/head
Yuri Weinstein [Mon, 20 Apr 2020 20:57:10 +0000 (13:57 -0700)]
qa/tests: fixed typo

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoMerge pull request #34649 from ceph/wip-yuriw-crontab-master
Yuri Weinstein [Mon, 20 Apr 2020 20:45:41 +0000 (13:45 -0700)]
Merge pull request #34649 from ceph/wip-yuriw-crontab-master

qa/tests: added new clients upgrade tests `client-upgrade-octopus-pacific`

5 years agoqa/tests: added new clients upgrade tests 34649/head
Yuri Weinstein [Mon, 20 Apr 2020 19:41:34 +0000 (12:41 -0700)]
qa/tests: added new clients upgrade tests

`client-upgrade-octopus-pacific` for future 'pacific' release

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoMerge pull request #34642 from ceph/wip-yuriw-octopus-client-upgrade-octopus-pacific
Yuri Weinstein [Mon, 20 Apr 2020 19:35:32 +0000 (12:35 -0700)]
Merge pull request #34642 from ceph/wip-yuriw-octopus-client-upgrade-octopus-pacific

qa/tests: initial checkin for clients upgrades tests for future relea…

5 years agoqa/tests: initial checkin for clients upgrades tests for future release of pacific 34642/head
Yuri Weinstein [Mon, 20 Apr 2020 17:45:44 +0000 (10:45 -0700)]
qa/tests: initial checkin for clients upgrades tests for future release of pacific

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoMerge pull request #34608 from trociny/wip-journal-append-stripe-width 34647/head
Jason Dillaman [Mon, 20 Apr 2020 17:27:35 +0000 (13:27 -0400)]
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>
5 years agoqa/rgw: allow 'ceph' user to read vault token 34613/head
Casey Bodley [Mon, 20 Apr 2020 14:50:00 +0000 (10:50 -0400)]
qa/rgw: allow 'ceph' user to read vault token

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agomgr/orch: upgrade: better input validation 34568/head
Sebastian Wagner [Wed, 15 Apr 2020 13:23:05 +0000 (15:23 +0200)]
mgr/orch: upgrade: better input validation

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34636 from tchaikov/wip-vstart-runner-py3
Kefu Chai [Mon, 20 Apr 2020 13:23:43 +0000 (21:23 +0800)]
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>
5 years agocephadm: fix adopt prometheus command 34600/head
Dimitri Savineau [Thu, 16 Apr 2020 20:30:27 +0000 (16:30 -0400)]
cephadm: fix adopt prometheus command

Create the target directory before copy the prometheus configuration.

Closes: https://tracker.ceph.com/issues/45120
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoqa/tasks/cephfs/fuse_mount.py: by python3 compatible 34636/head
Kefu Chai [Mon, 20 Apr 2020 11:50:02 +0000 (19:50 +0800)]
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>
5 years agoAdd troubleshooting guidance for ssh connection failures. 34612/head
Zac Dover [Fri, 17 Apr 2020 04:12:37 +0000 (14:12 +1000)]
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>
5 years agopybind/mgr/dashboard/run-backend-api-tests.sh: use python3 by default
Kefu Chai [Mon, 20 Apr 2020 11:13:52 +0000 (19:13 +0800)]
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>
5 years agoqa/tasks/vstart_runner.py: be python3 compatible
Kefu Chai [Mon, 20 Apr 2020 10:27:58 +0000 (18:27 +0800)]
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>
5 years agoqa/suites/*/rados_cls_all.yaml: load all classes 34605/head
Kefu Chai [Fri, 17 Apr 2020 07:15:52 +0000 (15:15 +0800)]
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>
5 years agodoc/dev/developer_guide: use python3 to launch vstart_runner.py
Kefu Chai [Mon, 20 Apr 2020 10:26:27 +0000 (18:26 +0800)]
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>
5 years agomds: make MDCache::scan_stray_dir() handle dir fragmentation
Yan, Zheng [Tue, 3 Mar 2020 07:37:59 +0000 (15:37 +0800)]
mds: make MDCache::scan_stray_dir() handle dir fragmentation

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
5 years agomds: don't add null dentry to frozen stray dir
Yan, Zheng [Tue, 3 Mar 2020 03:52:29 +0000 (11:52 +0800)]
mds: don't add null dentry to frozen stray dir

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
5 years agomds: auth pin stray dir when purging stray inode
Yan, Zheng [Tue, 3 Mar 2020 03:30:45 +0000 (11:30 +0800)]
mds: auth pin stray dir when purging stray inode

After stray inode gets added to purge queue, mds deletes stray dentry.
MDS needs to make sure stray dir is not being fragmented.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
5 years agoceph: allow 'dirfrag split' asok command to operate on stray dirs
Yan, Zheng [Tue, 3 Mar 2020 03:16:13 +0000 (11:16 +0800)]
ceph: allow 'dirfrag split' asok command to operate on stray dirs

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
5 years agoMerge pull request #34432 from optimistyzy/47_upstream
Kefu Chai [Mon, 20 Apr 2020 06:51:33 +0000 (14:51 +0800)]
Merge pull request #34432 from optimistyzy/47_upstream

os/bluestore/NVMEDevice.cc: use slist for tracking mempool

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoNVMEDevice: Remove the performance counter 34432/head
Ziye Yang [Tue, 7 Apr 2020 21:09:56 +0000 (05:09 +0800)]
NVMEDevice: Remove the performance counter

Compared with other approach (KernelDevice, iouring), it does not
have such feature, so remove it to simplify the code and improve
the performance. Because, each thread will call the logger and calculate
the time, it is very time consuming. And the upper layer in bluestore has
the feature to track each I/O task.

And it is not readable if we add ifdef configure to enable this feature,
so in my mind that I suggest removing this latency track. And the
latency benefit demonstrated by SPDK is already approved, so we do not
need to tracking every I/O time when invoking SPDK driver.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
5 years agoNVMEDevice.cc: Remove the data_buf_mempool
Ziye Yang [Tue, 7 Apr 2020 15:23:46 +0000 (23:23 +0800)]
NVMEDevice.cc: Remove the data_buf_mempool

Use the linked list is enough.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
5 years agolibrbd: add aio_flush test case 34430/head
Yuan Lu [Thu, 5 Mar 2020 05:46:57 +0000 (13:46 +0800)]
librbd: add aio_flush test case

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>
5 years agolibrbd: add aio_flush
Yuan Lu [Tue, 7 Apr 2020 05:09:35 +0000 (13:09 +0800)]
librbd: add aio_flush

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>
5 years agoMerge pull request #34615 from dillaman/wip-45072
Mykola Golub [Sun, 19 Apr 2020 07:57:49 +0000 (10:57 +0300)]
Merge pull request #34615 from dillaman/wip-45072

rbd-mirror: image replayer stop might race with instance replayer shut down

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoceph-fuse: link to libfuse3 if fuse3 is installed 34531/head
Xiubo Li [Wed, 15 Apr 2020 06:21:44 +0000 (02:21 -0400)]
ceph-fuse: link to libfuse3 if fuse3 is installed

Fixes: https://tracker.ceph.com/issues/44891
Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agorbd-fuse: remove FUSE_CAP_BIG_WRITES when linking to libfuse3
Xiubo Li [Fri, 17 Apr 2020 09:46:24 +0000 (05:46 -0400)]
rbd-fuse: remove FUSE_CAP_BIG_WRITES when linking to libfuse3

The big-writes is enabled as default from 3.0.

Fixes: https://tracker.ceph.com/issues/44891
Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agorbd-fuse: switch to use utimens instead
Xiubo Li [Fri, 17 Apr 2020 09:33:55 +0000 (05:33 -0400)]
rbd-fuse: switch to use utimens instead

The utime is deprecated.

Fixes: https://tracker.ceph.com/issues/44891
Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agoMerge pull request #34576 from jdurgin/wip-object-corpus
Kefu Chai [Sat, 18 Apr 2020 03:59:55 +0000 (11:59 +0800)]
Merge pull request #34576 from jdurgin/wip-object-corpus

ceph-object-corpus: update to octopus

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34535 from changchengx/refine_build_liburing
Kefu Chai [Sat, 18 Apr 2020 03:39:32 +0000 (11:39 +0800)]
Merge pull request #34535 from changchengx/refine_build_liburing

cmake: refactor liburing support

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-fuse: enable the big writes as default
Xiubo Li [Thu, 16 Apr 2020 10:13:17 +0000 (06:13 -0400)]
ceph-fuse: enable the big writes as default

When the libfuse version < 3, without the big_writes options enabled
the write perf is very poor.

Fixes: https://tracker.ceph.com/issues/44885
Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agocstart.sh: work with docker or podman 34328/head
Sage Weil [Fri, 17 Apr 2020 22:05:26 +0000 (18:05 -0400)]
cstart.sh: work with docker or podman

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agosrc/script/cpatch: complete globs in correct paths
Josh Durgin [Sat, 4 Apr 2020 00:33:49 +0000 (20:33 -0400)]
src/script/cpatch: complete globs in correct paths

Otherwise none of these libs are copied

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
5 years agosrc/script/cpatch: include cython libs and cephadm
Josh Durgin [Sat, 4 Apr 2020 00:32:32 +0000 (20:32 -0400)]
src/script/cpatch: include cython libs and cephadm

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
5 years agosrc/cstart.sh: initial version
Sage Weil [Tue, 31 Mar 2020 22:47:21 +0000 (18:47 -0400)]
src/cstart.sh: initial version

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoscript/cpatch: initial version
Sage Weil [Tue, 31 Mar 2020 16:25:45 +0000 (12:25 -0400)]
script/cpatch: initial version

Based on kubejacker.

- copy + strip (tar compress is sloooow)
- avoid touching build artifacts
- by default, patch "everything"
- optionally do actual build as root
- lump rbd and cephfs into core because mgr needs to dynamically link
  them and c++ ABI is fragile.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/workunits/cephadm/test_cephadm.sh: extend timeout test 34620/head
Michael Fritch [Fri, 17 Apr 2020 20:35:30 +0000 (14:35 -0600)]
qa/workunits/cephadm/test_cephadm.sh: extend timeout test

test occasionally fails when the container is slow to start

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agotest_cephadm.sh: remove unmaintained test_cephadm.sh 34621/head
Michael Fritch [Fri, 17 Apr 2020 20:26:29 +0000 (14:26 -0600)]
test_cephadm.sh: remove unmaintained test_cephadm.sh

the script has become unmaintained and duplicates logic found in
qa/workunits/cephadm/test_cephadm.sh

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoqa/workunits/cephadm/test_cephadm.sh: add CLEANUP var
Michael Fritch [Fri, 17 Apr 2020 20:17:02 +0000 (14:17 -0600)]
qa/workunits/cephadm/test_cephadm.sh: add CLEANUP var

preserve the current test state during EXIT:
`CLEANUP=false ../qa/workunits/cephadm/test_cephadm.sh`

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34584 from bk201/wip-45108
Sebastian Wagner [Fri, 17 Apr 2020 16:55:21 +0000 (18:55 +0200)]
Merge pull request #34584 from bk201/wip-45108

mgr/test_orchestrator: fix error when listing services

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #32951 from matthewoliver/cephadm_rgw_ssl
Sebastian Wagner [Fri, 17 Apr 2020 16:54:50 +0000 (18:54 +0200)]
Merge pull request #32951 from matthewoliver/cephadm_rgw_ssl

cephadm: add RGW SSL support

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34410 from lxbsz/mds_dirty_parent
Gregory Farnum [Fri, 17 Apr 2020 15:27:40 +0000 (08:27 -0700)]
Merge pull request #34410 from lxbsz/mds_dirty_parent

tools/cephfs: add accounted_rstat/rstat when building file dentry

Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
5 years agoMerge pull request #33928 from mchangir/cephfs-journal-tool-cannot-set-dry_run-arg
Gregory Farnum [Fri, 17 Apr 2020 15:26:52 +0000 (08:26 -0700)]
Merge pull request #33928 from mchangir/cephfs-journal-tool-cannot-set-dry_run-arg

cephfs-journal-tool: correctly parse --dry_run argument

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
5 years agocmake: use cmake module to integrate liburing 34535/head
Changcheng Liu [Mon, 13 Apr 2020 09:55:49 +0000 (17:55 +0800)]
cmake: use cmake module to integrate liburing

1. WITH_LIBURING is used to set HAVE_LIBURING to decide
   use liburing in KernelDevice or not.
2. WITH_SYSTEM_LIBURING is to choose use system installed
   liburing or build the liburing from source code.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
5 years agoMerge pull request #32612 from rishabh-d-dave/fs-qa-UnicodeDecodeError
Gregory Farnum [Fri, 17 Apr 2020 15:21:42 +0000 (08:21 -0700)]
Merge pull request #32612 from rishabh-d-dave/fs-qa-UnicodeDecodeError

test_cephfs_shell: fix UnicodeDecodeError

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
5 years agoMerge pull request #33169 from moningchao/master
Gregory Farnum [Fri, 17 Apr 2020 15:20:42 +0000 (08:20 -0700)]
Merge pull request #33169 from moningchao/master

client: fix blacklist removal failed

Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
5 years agoMerge pull request #33711 from lxbsz/qa_umount_failed
Gregory Farnum [Fri, 17 Apr 2020 15:20:30 +0000 (08:20 -0700)]
Merge pull request #33711 from lxbsz/qa_umount_failed

qa/tasks/cephfs: umount the mountpoints when tearDown

Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #34533 from fanjunwei/fix_fuse_bug
Gregory Farnum [Fri, 17 Apr 2020 15:18:52 +0000 (08:18 -0700)]
Merge pull request #34533 from fanjunwei/fix_fuse_bug

client: fix ceph-fuse parse command line failed

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
5 years agorbd-mirror: track in-flight start/stop/restart in instance replayer 34615/head
Jason Dillaman [Fri, 17 Apr 2020 15:17:05 +0000 (11:17 -0400)]
rbd-mirror: track in-flight start/stop/restart in instance replayer

The shut down waits for in-flight ops to complete but the
start/stop/restart operations were previously not tracked. This
could cause a potential race and crash between an image replayer
operation and the instance replayer shutting down.

Fixes: https://tracker.ceph.com/issues/45072
Signed-off-by: Jason Dillaman <dillaman@redhat.com>