]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agomgr/dashboard: Fix tslint warnings 35574/head
Tiago Melo [Mon, 15 Jun 2020 15:36:09 +0000 (15:36 +0000)]
mgr/dashboard: Fix tslint warnings

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Improve typescript lint
Tiago Melo [Mon, 15 Jun 2020 13:28:59 +0000 (13:28 +0000)]
mgr/dashboard: Improve typescript lint

Fixes: https://tracker.ceph.com/issues/46000
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #34933 from tspmelo/wip-remove-entry
Lenz Grimmer [Wed, 17 Jun 2020 17:12:14 +0000 (19:12 +0200)]
Merge pull request #34933 from tspmelo/wip-remove-entry

mgr/dashboard: Remove entryComponents

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge pull request #35505 from tspmelo/wip-ng-dropdown
Lenz Grimmer [Wed, 17 Jun 2020 17:10:27 +0000 (19:10 +0200)]
Merge pull request #35505 from tspmelo/wip-ng-dropdown

mgr/dashboard: Use ng-bootstrap for Dropdown

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge PR #32111 into master
Patrick Donnelly [Wed, 17 Jun 2020 16:42:21 +0000 (09:42 -0700)]
Merge PR #32111 into master

* refs/pull/32111/head:
test_cephfs_shell: run cephfs-shell with conf file

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoMerge PR #35539 into master
Patrick Donnelly [Wed, 17 Jun 2020 16:38:36 +0000 (09:38 -0700)]
Merge PR #35539 into master

* refs/pull/35539/head:
vstart_runner: set omit_sudo to True by default

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35608 into master
Patrick Donnelly [Wed, 17 Jun 2020 16:31:34 +0000 (09:31 -0700)]
Merge PR #35608 into master

* refs/pull/35608/head:
cephfs_features: add metric collection feature support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge pull request #35578 from mgfritch/cephadm-infer-fsid-ukn
Sebastian Wagner [Wed, 17 Jun 2020 15:38:01 +0000 (17:38 +0200)]
Merge pull request #35578 from mgfritch/cephadm-infer-fsid-ukn

cephadm: skip any invalid fsid(s) during infer

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35567 from ceph/cephadm_annotate_scheduler
Sebastian Wagner [Wed, 17 Jun 2020 14:27:59 +0000 (16:27 +0200)]
Merge pull request #35567 from ceph/cephadm_annotate_scheduler

mgr/cephadm: annotate scheduling code with comments

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35492 from liewegas/wip-bocloud
Sage Weil [Wed, 17 Jun 2020 14:16:44 +0000 (09:16 -0500)]
Merge pull request #35492 from liewegas/wip-bocloud

doc/foundation: drop BoCloud

5 years agoMerge pull request #35581 from bk201/ganesha-doc-pool-existence
Sebastian Wagner [Wed, 17 Jun 2020 13:10:46 +0000 (15:10 +0200)]
Merge pull request #35581 from bk201/ganesha-doc-pool-existence

mgr/cephadm: document pool requirement for NFS-Ganesha service

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Alexandra Settle <asettle@suse.com>
5 years agoMerge pull request #35225 from ishanrai05/bootstrap-variables
Lenz Grimmer [Wed, 17 Jun 2020 12:27:31 +0000 (14:27 +0200)]
Merge pull request #35225 from ishanrai05/bootstrap-variables

mgr/dashboard: use bootstrap variables for colors

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #35559 from xiexingguo/wip-split-child-stat
Kefu Chai [Wed, 17 Jun 2020 11:51:59 +0000 (19:51 +0800)]
Merge pull request #35559 from xiexingguo/wip-split-child-stat

osd/PeeringState: fix info.stats.up[acting] of splitting child

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: yanjun <yan.jun8@zte.com.cn>
5 years agotest_cephfs_shell: run cephfs-shell with conf file 32111/head
Rishabh Dave [Tue, 26 May 2020 12:00:03 +0000 (17:30 +0530)]
test_cephfs_shell: run cephfs-shell with conf file

And set colors to False and debug to True in this conf file.

stdout captured by Python code in this testsuite can contain the colour
codes along with the expected string output. Setting colors to False in
cephfs-shell.conf should fix this.

Setting debug to False should help with analyzing test failures since
it enables printing messages that helps debugging (stacktrace for
cephfs-shell code, for example).

Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #35395 from kshtsk/wip-registry-conf
Kefu Chai [Wed, 17 Jun 2020 11:49:20 +0000 (19:49 +0800)]
Merge pull request #35395 from kshtsk/wip-registry-conf

qa/tasks/cephadm: setup site based container registry

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35277 from aclamk/wip-limit-wal-sharding
Kefu Chai [Wed, 17 Jun 2020 11:47:25 +0000 (19:47 +0800)]
Merge pull request #35277 from aclamk/wip-limit-wal-sharding

kv/RocksDBStore: Set size for WALs in sharding mode.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
5 years agoMerge pull request #35547 from adk3798/cephadm-45097
Kefu Chai [Wed, 17 Jun 2020 11:45:26 +0000 (19:45 +0800)]
Merge pull request #35547 from adk3798/cephadm-45097

cephadm: UX: Change error message when 'orch host add <host>' fails

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
5 years agoMerge pull request #35552 from jan--f/systemd-osd-libexec
Kefu Chai [Wed, 17 Jun 2020 11:44:04 +0000 (19:44 +0800)]
Merge pull request #35552 from jan--f/systemd-osd-libexec

systemd/ceph-osd: ceph-osd-prestart.sh now lives in /usr/libexec

Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35558 from xiexingguo/wip-45991
Kefu Chai [Wed, 17 Jun 2020 11:41:07 +0000 (19:41 +0800)]
Merge pull request #35558 from xiexingguo/wip-45991

osd/PG: fix history.same_interval_since of merge target again

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35497 from ifed01/wip-ifed-remove-wal-preext
Kefu Chai [Wed, 17 Jun 2020 11:38:16 +0000 (19:38 +0800)]
Merge pull request #35497 from ifed01/wip-ifed-remove-wal-preext

os/bluestore: remove preextended WAL support.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
5 years agoMerge pull request #35549 from mgfritch/cephadm-iscsi-strip-version
Kefu Chai [Wed, 17 Jun 2020 11:36:21 +0000 (19:36 +0800)]
Merge pull request #35549 from mgfritch/cephadm-iscsi-strip-version

cephadm: strip whitespace from iscsi version

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agoMerge pull request #34643 from aclamk/wip-fix-bluefs-log-dump-v2
Kefu Chai [Wed, 17 Jun 2020 11:34:28 +0000 (19:34 +0800)]
Merge pull request #34643 from aclamk/wip-fix-bluefs-log-dump-v2

os/bluestore/BlueFS: Make log_dump possible without opening bluefs

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #35146 from wjwithagen/wjw-fix-shufflerandom
Kefu Chai [Wed, 17 Jun 2020 11:32:14 +0000 (19:32 +0800)]
Merge pull request #35146 from wjwithagen/wjw-fix-shufflerandom

rgw: replace deleted std function: randomshuffle

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35609 from tchaikov/wip-mgr-volumes-nfs-fstring
Kefu Chai [Wed, 17 Jun 2020 11:26:02 +0000 (19:26 +0800)]
Merge pull request #35609 from tchaikov/wip-mgr-volumes-nfs-fstring

mgr/volumes/nfs: use f-string for creating Exception

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
5 years agoMerge pull request #35466 from ishanrai05/quotes
Lenz Grimmer [Wed, 17 Jun 2020 10:46:17 +0000 (12:46 +0200)]
Merge pull request #35466 from ishanrai05/quotes

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #35614 from tchaikov/wip-install-deps-enable-required-crb-repo
Kefu Chai [Wed, 17 Jun 2020 10:37:50 +0000 (18:37 +0800)]
Merge pull request #35614 from tchaikov/wip-install-deps-enable-required-crb-repo

install-deps.sh: do not enable unavailable repos

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
5 years agoMerge pull request #35295 from rhcs-dashboard/fix-snapshot-dropdown
Lenz Grimmer [Wed, 17 Jun 2020 10:14:52 +0000 (12:14 +0200)]
Merge pull request #35295 from rhcs-dashboard/fix-snapshot-dropdown

mgr/dashboard: cropped actions menu in nested details

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #35493 from mgfritch/orch-service-spec-validate
Sebastian Wagner [Wed, 17 Jun 2020 08:08:37 +0000 (10:08 +0200)]
Merge pull request #35493 from mgfritch/orch-service-spec-validate

python-common: fix ServiceSpec validation

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoinstall-deps.sh: do not enable unavailable repos 35614/head
Kefu Chai [Wed, 17 Jun 2020 08:00:23 +0000 (16:00 +0800)]
install-deps.sh: do not enable unavailable repos

should be specific when enabling codeready-builder repos, there is
chance that some repos are just not available, while the required one
is. for instance, "codeready-builder-for-rhel-8-x86_64-eus-debug-rpms"
might not be available. and in that case, `install-deps.sh` just fails.

so in this change, only the required one is enabled. see also
https://fedoraproject.org/wiki/EPEL

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/volumes/nfs: use f-string for creating Exception 35609/head
Kefu Chai [Wed, 17 Jun 2020 04:34:17 +0000 (12:34 +0800)]
mgr/volumes/nfs: use f-string for creating Exception

for better understanding the reason of the failure

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocephfs_features: add metric collection feature support 35608/head
Xiubo Li [Wed, 17 Jun 2020 02:59:22 +0000 (22:59 -0400)]
cephfs_features: add metric collection feature support

In client side we need to known whether mds support the metric
collection or not, or when mds server receieves the metric message
from client side and if it couldn't recognise, the mgr will close
the socket connection directly.

Fixes: https://tracker.ceph.com/issues/46041
Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agoMerge PR #32288 into master
Patrick Donnelly [Wed, 17 Jun 2020 02:26:52 +0000 (19:26 -0700)]
Merge PR #32288 into master

* refs/pull/32288/head:
test_cephfs_shell: remove test_every_shell_cmd_at_invocation
test_cephfs_shell: catch specific exception instead of catching all
cephfs-shell: set return value before exiting
test_cephfs_shell: re-arrange TestCephFSShell's methods
cephfs-shell: re-arrange code under __main__
test_cephfs_shell: add new test for shell cmd at invocation
cephfs-shell: launch shell only if there are no args following

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoosd/PeeringState: fix history.same_interval_since of merge target again 35558/head
xie xingguo [Sat, 13 Jun 2020 07:28:31 +0000 (15:28 +0800)]
osd/PeeringState: fix history.same_interval_since of merge target again

The symptom looks much like we see in
https://tracker.ceph.com/issues/37654.

The root cause is that both merge source and target could be
fabricated PGs (aka placeholders), hence merge target's
same_interval_since could remain 0 after merge.

Fix by adjusting history.same_interval_since to last_epoch_clean
reported by these PGs were found to be ready for merge.
This peer is going to be ignored/purged by primary anyway later
when peering is done.

Fixes: https://tracker.ceph.com/issues/45991
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
5 years agoMerge pull request #35307 from aclamk/wip-rocksdb-sharding-dump
Kefu Chai [Wed, 17 Jun 2020 01:06:46 +0000 (09:06 +0800)]
Merge pull request #35307 from aclamk/wip-rocksdb-sharding-dump

kv/RocksDBStore: Fixes dump of batch commited to rocksdb

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
5 years agoMerge pull request #35562 from tchaikov/wip-drop-copr-repo
Kefu Chai [Wed, 17 Jun 2020 01:01:38 +0000 (09:01 +0800)]
Merge pull request #35562 from tchaikov/wip-drop-copr-repo

install-deps.sh: drop ktdreyer/ceph-el8 copr repo

Reviewed-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #35602 from tchaikov/wip-vstart-ganesha-comment
Kefu Chai [Wed, 17 Jun 2020 01:00:01 +0000 (09:00 +0800)]
Merge pull request #35602 from tchaikov/wip-vstart-ganesha-comment

vstart.sh: update comment to use ganesha from CentOS Storage SIG

Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #35510 from mgfritch/cephadm-bootstrap-timeout
Sebastian Wagner [Tue, 16 Jun 2020 14:45:11 +0000 (16:45 +0200)]
Merge pull request #35510 from mgfritch/cephadm-bootstrap-timeout

cephadm: increase is_available timeout 30s -> 60s

5 years agoMerge pull request #35585 from tchaikov/wip-test-mgr-dashboard-smoke-random-port
Kefu Chai [Tue, 16 Jun 2020 14:34:59 +0000 (22:34 +0800)]
Merge pull request #35585 from tchaikov/wip-test-mgr-dashboard-smoke-random-port

test/mgr/mgr-dashboard-smoke: listen on random ports

Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #35366 from tspmelo/wip-npm-20-05
Lenz Grimmer [Tue, 16 Jun 2020 12:55:15 +0000 (14:55 +0200)]
Merge pull request #35366 from tspmelo/wip-npm-20-05

mgr/dashboard: Update npm packages

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agoMerge pull request #35557 from dillaman/wip-librbd-asio
Mykola Golub [Tue, 16 Jun 2020 11:42:43 +0000 (14:42 +0300)]
Merge pull request #35557 from dillaman/wip-librbd-asio

librbd: initial boost asio integration

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #35412 from sebastian-philipp/doc-cephadm-concepts-fqdn
Sebastian Wagner [Tue, 16 Jun 2020 11:19:28 +0000 (13:19 +0200)]
Merge pull request #35412 from sebastian-philipp/doc-cephadm-concepts-fqdn

doc/cephadm: Add chapter about FQDNs

Reviewed-by: Daniel-Pivonka <dpivonka@redhat.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
5 years agodoc/cephadm: document pool requirement for NFS-Ganesha service 35581/head
Kiefer Chang [Tue, 16 Jun 2020 03:33:36 +0000 (11:33 +0800)]
doc/cephadm: document pool requirement for NFS-Ganesha service

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agovstart.sh: update comment to use ganesha from CentOS Storage SIG 35602/head
Kefu Chai [Tue, 16 Jun 2020 09:03:13 +0000 (17:03 +0800)]
vstart.sh: update comment to use ganesha from CentOS Storage SIG

see https://download.nfs-ganesha.org/3/LATEST/RHEL/

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agotest/mgr/mgr-dashboard-smoke: listen on random ports 35585/head
Kefu Chai [Tue, 16 Jun 2020 08:28:01 +0000 (16:28 +0800)]
test/mgr/mgr-dashboard-smoke: listen on random ports

in hope to reduce the chance to listen an already used port while
running multiple "make check" instances in parallel.

See-also: http://tracker.ceph.com/issues/36737
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/dashboard: use bootstrap variables for colors 35225/head
Ishan Rai [Mon, 25 May 2020 06:53:12 +0000 (06:53 +0000)]
mgr/dashboard: use bootstrap variables for colors

Fixes: https://tracker.ceph.com/issues/38891
Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
5 years agomgr/dashboard: Use a unified quoting style 35466/head
Ishan Rai [Mon, 8 Jun 2020 06:53:57 +0000 (06:53 +0000)]
mgr/dashboard: Use a unified quoting style

Use single quotes across all UI elements such as notifications

Fixes: https://tracker.ceph.com/issues/36070
Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
5 years agoMerge pull request #35524 from sebastian-philipp/cephadm-rm-container-storage
Kefu Chai [Tue, 16 Jun 2020 06:44:01 +0000 (14:44 +0800)]
Merge pull request #35524 from sebastian-philipp/cephadm-rm-container-storage

cephadm: call `podman rm --storage`

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35317 from dsavineau/doc_radosgw_key_typo
Kefu Chai [Tue, 16 Jun 2020 01:41:27 +0000 (09:41 +0800)]
Merge pull request #35317 from dsavineau/doc_radosgw_key_typo

doc/radosgw/admin: fix key subuser typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #35541 into master
Patrick Donnelly [Mon, 15 Jun 2020 23:41:43 +0000 (16:41 -0700)]
Merge PR #35541 into master

* refs/pull/35541/head:
doc/dev: mention -l, -e and -n among useful options
doc/dev: add info on how to retest QA changes without rebuilding

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agocephadm: skip any invalid fsid(s) during infer 35578/head
Michael Fritch [Mon, 15 Jun 2020 21:22:23 +0000 (15:22 -0600)]
cephadm: skip any invalid fsid(s) during infer

Fixes: https://tracker.ceph.com/issues/45999
Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agocephadm: sort the list of inferred fsids
Michael Fritch [Mon, 15 Jun 2020 21:22:08 +0000 (15:22 -0600)]
cephadm: sort the list of inferred fsids

$ cephadm shell
ERROR: Cannot infer an fsid, one must be specified: ['1d5df33f-eb94-4a4f-b192-1d5e770ed0e7', 'unknown']
$ cephadm shell
ERROR: Cannot infer an fsid, one must be specified: ['unknown', '1d5df33f-eb94-4a4f-b192-1d5e770ed0e7']

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agocephadm: UX: Change error message when 'orch host add <host>' fails 35547/head
Adam King [Thu, 11 Jun 2020 18:03:24 +0000 (14:03 -0400)]
cephadm: UX: Change error message when 'orch host add <host>' fails

Instead of printing out a traceback if adding the host fails
during bootstrapping process, should now print error message
telling user host failed to be added

Fixes: https://tracker.ceph.com/issues/45097
Signed-off-by: Adam King <adking@redhat.com>
5 years agodoc/cephadm: Add chapter about FQDNs 35412/head
Sebastian Wagner [Fri, 5 Jun 2020 10:42:54 +0000 (12:42 +0200)]
doc/cephadm: Add chapter about FQDNs

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/dashboard: Update npm packages 35366/head
Tiago Melo [Wed, 13 May 2020 14:47:02 +0000 (14:47 +0000)]
mgr/dashboard: Update npm packages

Fixes: https://tracker.ceph.com/issues/45949
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #35561 from tchaikov/wip-crimson-disable-bluestore-with-allocator
Kefu Chai [Mon, 15 Jun 2020 12:59:06 +0000 (20:59 +0800)]
Merge pull request #35561 from tchaikov/wip-crimson-disable-bluestore-with-allocator

crimson/os: disable alienized bluestore if using seastar allocator

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agomgr/cephadm: annotate scheduling code with comments 35567/head
Joshua Schmid [Mon, 15 Jun 2020 10:13:25 +0000 (12:13 +0200)]
mgr/cephadm: annotate scheduling code with comments

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoMerge pull request #35472 from varshar16/wip-vstart-stop-cephadm
Sebastian Wagner [Mon, 15 Jun 2020 09:21:30 +0000 (11:21 +0200)]
Merge pull request #35472 from varshar16/wip-vstart-stop-cephadm

stop.sh: Kill cephadm deployed daemons

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agocephadm: call `podman rm --storage` 35524/head
Sebastian Wagner [Wed, 10 Jun 2020 12:20:20 +0000 (14:20 +0200)]
cephadm: call `podman rm --storage`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agocrimson/os: disable alienized bluestore if using seastar allocator 35561/head
Kefu Chai [Sun, 14 Jun 2020 13:47:28 +0000 (21:47 +0800)]
crimson/os: disable alienized bluestore if using seastar allocator

before figuring out how to colocate alien store and seastar's builtin
allocator. we need to disable alienized bluestore, if
SEASTAR_DEFAULT_ALLOCATOR is not defined.

See-also: https://tracker.ceph.com/issues/45985
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 3dd052c4558144d7252aa8a856c1601ea17b74e7)

5 years agoinstall-deps.sh: drop ktdreyer/ceph-el8 copr repo 35562/head
Kefu Chai [Sun, 14 Jun 2020 17:09:06 +0000 (01:09 +0800)]
install-deps.sh: drop ktdreyer/ceph-el8 copr repo

as all python3-cherrypy and its deps are included by EPEL8 now

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agorgw: replace deleted std function: randomshuffle 35146/head
Willem Jan Withagen [Wed, 20 May 2020 09:50:58 +0000 (09:50 +0000)]
rgw: replace deleted std function: randomshuffle

fixes: https://github.com/ceph/ceph/pull/32927
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
5 years agoosd/PeeringState: fix info.stats.up[acting] of splitting child 35559/head
xie xingguo [Sat, 13 Jun 2020 07:41:04 +0000 (15:41 +0800)]
osd/PeeringState: fix info.stats.up[acting] of splitting child

In general a splitting child should have the same CRUSH
mapping result with its parent at the initialization stage.
However, since luminous mgr/balancer may change existing PGs'
original CRUSH mappings by explictly generating some
pg_upmap_items and feeding them to pg_to_up_acting_osds(),
hence the inconsistency of 'ceph pg ls' command output, i.e.,
because child is now reporting its parent's up set ([2,4,3])
rather than its own ([1,4,3]), which are actually different:

1.3a active+clean 2020-05-21 16:16:33.011237     0'0    34:26 [2,4,3]          1 [2,4,3]              1

Fix by using child's own CRUSH mappings when filling in
the corresponding fields of info.stats (We already have that
kind of info in hand and it is accurate under all circumstances).

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
5 years agorbd-mirror: swapped ThreadPool/ContextWQ for AsioEngine 35557/head
Jason Dillaman [Fri, 12 Jun 2020 02:07:15 +0000 (22:07 -0400)]
rbd-mirror: swapped ThreadPool/ContextWQ for AsioEngine

The majority of usage of ContextWQ has been switched to use the
ASIO ContextWQ adapter class. The journal remains the only
remaining use of dedicated ThreadPools in rbd-mirror.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: swapped ThreadPool/ContextWQ for AsioEngine
Jason Dillaman [Thu, 11 Jun 2020 22:06:19 +0000 (18:06 -0400)]
librbd: swapped ThreadPool/ContextWQ for AsioEngine

The majority of usage of ContextWQ has been switched to use the
ASIO ContextWQ adapter class. The journal, RWL cache, and image update
notifications remain the only remaining use of dedicated ThreadPools in
librbd.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: wrapper class for ContextWQ
Jason Dillaman [Thu, 11 Jun 2020 19:45:25 +0000 (15:45 -0400)]
librbd: wrapper class for ContextWQ

Numerous state machines in librbd utilize ContextWQ for handling deferred
completion work. Now that we have an ASIO thread pool, we want to remove
the older ThreadPool/WorkQueue implementation. To avoid massive refactoring,
this ContextWQ will mimic the interface of the old ContextWQ class but
utilize ASIO for dispatching.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #35538 from bk201/wip-45155
Sebastian Wagner [Fri, 12 Jun 2020 21:19:16 +0000 (23:19 +0200)]
Merge pull request #35538 from bk201/wip-45155

mgr/cephadm: set Ganesha pool/namespace settings in the Dashboard

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35474 from sebastian-philipp/python-common-hostspec
Sebastian Wagner [Fri, 12 Jun 2020 21:16:47 +0000 (23:16 +0200)]
Merge pull request #35474 from sebastian-philipp/python-common-hostspec

mgr/orch: move HostSpec to python-common

Reviewed-by: Joshua Schmid <jschmid@suse.de>
5 years agoMerge PR #33406 into master
Patrick Donnelly [Fri, 12 Jun 2020 21:12:05 +0000 (14:12 -0700)]
Merge PR #33406 into master

* refs/pull/33406/head:
libcephfs/pybind: Add truncate, ftruncate
libcephfs/pybind: Add get_layout, get_default_pool
libcephfs/pybind: Add setattrx, fsetattrx
libcephfs/pybind: Add pwritev, preadv
libcephfs/pybind: Add rewinddir, telldir, seekdir
libcephfs/pybind: Add set_uuid, set_session_timeout
libcephfs/pybind: Add debug_get_fd_caps, debug_get_file_caps, get_cap_return_timeout
libcephfs/pybind: Add get_pool_id, get_pool_replication
libcephfs/pybind: Add get_file_replication, get_path_replication
libcephfs/pybind: Add lazyio, lazyio_propagate, lazyio_synchronize
libcephfs/pybind: Add fallocate, mknod
libcephfs/pybind: Add lsetxattr, lremovexattr, lgetxattr, llistxattr
libcephfs/pybind: Add fsetxattr, fgetxattr, fremovexattr, flistxattr
libcephfs/pybind: Add fchown, fchmod

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge PR #34716 into master
Patrick Donnelly [Fri, 12 Jun 2020 21:10:14 +0000 (14:10 -0700)]
Merge PR #34716 into master

* refs/pull/34716/head:
mgr/volumes: Add snapshot info command

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
5 years agoMerge PR #35261 into master
Patrick Donnelly [Fri, 12 Jun 2020 21:08:13 +0000 (14:08 -0700)]
Merge PR #35261 into master

* refs/pull/35261/head:
qa/vstart_runner.py: ignores when source and destination are same

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoMerge PR #35368 into master
Patrick Donnelly [Fri, 12 Jun 2020 21:06:57 +0000 (14:06 -0700)]
Merge PR #35368 into master

* refs/pull/35368/head:
fuse: update to newer FUSE_USE_VERSION

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #35519 from kshtsk/wip-remove-t-py2
Yuri Weinstein [Fri, 12 Jun 2020 19:54:44 +0000 (12:54 -0700)]
Merge pull request #35519 from kshtsk/wip-remove-t-py2

qa/crontab: remove -t py2 from schedule

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 years agocephadm: only SIGKILL once during timeout 35510/head
Michael Fritch [Fri, 12 Jun 2020 14:24:16 +0000 (08:24 -0600)]
cephadm: only SIGKILL once during timeout

no need to continually SIGKILL a process that is already exiting

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agocephadm: add profile log line to Popen wrappers
Michael Fritch [Fri, 12 Jun 2020 13:59:55 +0000 (07:59 -0600)]
cephadm: add profile log line to Popen wrappers

add debug log line to profile the Popen wrapper read loop
exec runtime, exitcode, stop, fds to read, etc.

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agosystemd/ceph-osd: ceph-osd-prestart.sh now lives in /usr/libexec 35552/head
Jan Fajerski [Fri, 12 Jun 2020 07:27:36 +0000 (09:27 +0200)]
systemd/ceph-osd: ceph-osd-prestart.sh now lives in /usr/libexec

Fixes: https://tracker.ceph.com/issues/45984
Fixes: ed6552d5067c9f1d34c426f9ae18b0c37f2a9d29
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #35536 from icepic/patch-1
Kefu Chai [Fri, 12 Jun 2020 08:20:56 +0000 (16:20 +0800)]
Merge pull request #35536 from icepic/patch-1

doc/dev/deduplication.rst: fix a spelling nit

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agodoc/dev/deduplication.rst: fix a spelling nit 35536/head
Janne Johansson [Thu, 11 Jun 2020 09:25:00 +0000 (11:25 +0200)]
doc/dev/deduplication.rst: fix a spelling nit

Signed-off-by: Janne Johansson <icepic.dz@gmail.com>
5 years agomgr/cephadm: set Ganesha pool/namespace settings in the Dashboard 35538/head
Kiefer Chang [Thu, 11 Jun 2020 09:53:57 +0000 (17:53 +0800)]
mgr/cephadm: set Ganesha pool/namespace settings in the Dashboard

- Config Ganesha pool and namespace settings in Dashboard.
- New `config_dashboard` option in cephadm. If the flag is Flase,
  cephadm won't manage Dashboard settings for daemons. This might be
  useful when users want to config API URLs by themselves or for debugging.

Fixes: https://tracker.ceph.com/issues/45155
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agolibrbd: replaced ImageCtx::get_thread_pool_instance
Jason Dillaman [Thu, 11 Jun 2020 20:26:55 +0000 (16:26 -0400)]
librbd: replaced ImageCtx::get_thread_pool_instance

Callers have never needed the actual ThreadPool which is being
removed. Refactored into ImageCtx::get_work_queue method.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: simple ASIO execution context
Jason Dillaman [Thu, 11 Jun 2020 17:58:35 +0000 (13:58 -0400)]
librbd: simple ASIO execution context

This initial execution context wrapper will start "rbd_op_threads"
number of threads and bind them to an ASIO io_context to be used for
processing async callbacks.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #35544 from neha-ojha/wip-reduce-noise
Neha Ojha [Thu, 11 Jun 2020 22:40:46 +0000 (15:40 -0700)]
Merge pull request #35544 from neha-ojha/wip-reduce-noise

qa/tasks/ceph_manager.py: dump more useful info before failing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agocephadm: strip whitespace from iscsi version 35549/head
Michael Fritch [Thu, 11 Jun 2020 21:03:25 +0000 (15:03 -0600)]
cephadm: strip whitespace from iscsi version

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #35545 from LenzGr/doc-troubleshooting-community
zdover23 [Thu, 11 Jun 2020 19:00:25 +0000 (05:00 +1000)]
Merge pull request #35545 from LenzGr/doc-troubleshooting-community

doc: Updated mailing list addresses

5 years agostop.sh: Remove cephadm deployed daemons 35472/head
Varsha Rao [Mon, 8 Jun 2020 10:51:16 +0000 (16:21 +0530)]
stop.sh: Remove cephadm deployed daemons

Fixes: https://tracker.ceph.com/issues/44746
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agodoc: Updated mailing list addresses 35545/head
Lenz Grimmer [Thu, 11 Jun 2020 15:32:45 +0000 (17:32 +0200)]
doc: Updated mailing list addresses

The "Community" chapter of the RADOS troubleshooting section
was still pointing to the old mailing list addresses.

Updated to point to the new ceph.io addresses.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
5 years agoqa/tasks/ceph_manager.py: dump more useful info before failing 35544/head
Neha Ojha [Fri, 5 Jun 2020 23:32:38 +0000 (23:32 +0000)]
qa/tasks/ceph_manager.py: dump more useful info before failing

Add helpers that dump information only about PGs that haven't reached
the desired state when we fail. Previously we dumped the output of
"ceph pg dump" before failing, which prints a lot of unnecessary information
about PGs that are not responsible for the failure, making debugging harder.

Also, try to make the failure messages distinct.

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agodoc/dev: mention -l, -e and -n among useful options 35541/head
Rishabh Dave [Thu, 11 Jun 2020 12:49:41 +0000 (18:19 +0530)]
doc/dev: mention -l, -e and -n among useful options

Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agodoc/dev: add info on how to retest QA changes without rebuilding
Rishabh Dave [Thu, 11 Jun 2020 12:46:35 +0000 (18:16 +0530)]
doc/dev: add info on how to retest QA changes without rebuilding

Add a section to "Running tests using teuthology" in "Developer's Guide"
that explains how to retest a branch without rebuilding binaries.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #34380 from jdkruzr/patch-1
Kefu Chai [Thu, 11 Jun 2020 12:25:22 +0000 (20:25 +0800)]
Merge pull request #34380 from jdkruzr/patch-1

doc/man: Update mount.ceph.rst for clarity

Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agomgr/test_orchestrator: Provide proper get_hosts_func 35474/head
Sebastian Wagner [Thu, 11 Jun 2020 12:12:57 +0000 (14:12 +0200)]
mgr/test_orchestrator: Provide proper get_hosts_func

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35504 from zdover23/wip-doc-cephadm-ssh-key-setup-2020-Jun
Sebastian Wagner [Thu, 11 Jun 2020 11:53:44 +0000 (13:53 +0200)]
Merge pull request #35504 from zdover23/wip-doc-cephadm-ssh-key-setup-2020-Jun

doc/cephadm: Importing existing ssh keys

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agovstart_runner: set omit_sudo to True by default 35539/head
Rishabh Dave [Wed, 10 Jun 2020 13:47:28 +0000 (19:17 +0530)]
vstart_runner: set omit_sudo to True by default

Let's set omit_sudo to True by default since we don't to run
commands with sudo on developer's machine as far as possible.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #35526 from tchaikov/wip-qa-krbd-whitelist-mon-down
Ilya Dryomov [Thu, 11 Jun 2020 09:22:39 +0000 (11:22 +0200)]
Merge pull request #35526 from tchaikov/wip-qa-krbd-whitelist-mon-down

qa/suites/krbd: whitelist MON_DOWN health warning

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
5 years agoMerge pull request #35521 from sebastian-philipp/dashboard-mgr-module-option-default...
Kefu Chai [Thu, 11 Jun 2020 06:17:15 +0000 (14:17 +0800)]
Merge pull request #35521 from sebastian-philipp/dashboard-mgr-module-option-default-value-none-for-it-or-float

mgr/dashboard: fix None value for ints and floats

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35318 from ifed01/wip-ifed-fix-ex-frag-test
Kefu Chai [Thu, 11 Jun 2020 01:39:04 +0000 (09:39 +0800)]
Merge pull request #35318 from ifed01/wip-ifed-fix-ex-frag-test

test/objectstore/store_test: kill ExcessiveFragmentation test case.

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35502 from wjwithagen/wjw-fix-cls-le32
Kefu Chai [Thu, 11 Jun 2020 01:36:24 +0000 (09:36 +0800)]
Merge pull request #35502 from wjwithagen/wjw-fix-cls-le32

cls: fix missing __le32 definition

Reviewed-by: Sage Weil <sage@newdream.net>
5 years agoMerge pull request #35486 from jdurgin/wip-radosbench-qa
Kefu Chai [Thu, 11 Jun 2020 01:28:11 +0000 (09:28 +0800)]
Merge pull request #35486 from jdurgin/wip-radosbench-qa

qa/tasks/radosbench: use long form of option for compatibility

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #35258 from majianpeng/bluefs-flush-use-force
Kefu Chai [Thu, 11 Jun 2020 01:27:09 +0000 (09:27 +0800)]
Merge pull request #35258 from majianpeng/bluefs-flush-use-force

os/bluestore/BlueFS: force flush when call flush().

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #35478 from idryomov/wip-populate-watchers-replica
Kefu Chai [Thu, 11 Jun 2020 01:25:47 +0000 (09:25 +0800)]
Merge pull request #35478 from idryomov/wip-populate-watchers-replica

osd/PrimaryLogPG: don't populate watchers if replica

Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agoqa/suites/krbd: whitelist MON_DOWN health warning 35526/head
Kefu Chai [Wed, 10 Jun 2020 15:20:40 +0000 (23:20 +0800)]
qa/suites/krbd: whitelist MON_DOWN health warning

see also

93de19adcf1233ce4c68f1253e0b9abef6d97a9d
608e002195638e80323780f1907db40c0b9768f0

Signed-off-by: Kefu Chai <kchai@redhat.com>