]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agocephfs-shell: fix warnings reported by flake8 35021/head
Kefu Chai [Tue, 12 May 2020 14:15:57 +0000 (22:15 +0800)]
cephfs-shell: fix warnings reported by flake8

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34746 from tspmelo/wip-form-loading
Lenz Grimmer [Tue, 12 May 2020 13:39:23 +0000 (15:39 +0200)]
Merge pull request #34746 from tspmelo/wip-form-loading

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #34888 from jmolmo/fix_command_parse
Sebastian Wagner [Tue, 12 May 2020 07:58:29 +0000 (09:58 +0200)]
Merge pull request #34888 from jmolmo/fix_command_parse

cephadm: Fix error parsing shell command arguments

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34945 from sebastian-philipp/cephadm-remove-async-map-resurrect
Sebastian Wagner [Tue, 12 May 2020 07:54:25 +0000 (09:54 +0200)]
Merge pull request #34945 from sebastian-philipp/cephadm-remove-async-map-resurrect

mgr/cephadm: replace async_map_completion with a simple wrapper (again)

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34970 from sebastian-philipp/bluestore-revert-sharding
Sebastian Wagner [Tue, 12 May 2020 07:42:33 +0000 (09:42 +0200)]
Merge pull request #34970 from sebastian-philipp/bluestore-revert-sharding

Revert "os/bluestore: Enable sharding by default"

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
5 years agoMerge pull request #34977 from mgfritch/cephadm-prom-encoding
Sebastian Wagner [Tue, 12 May 2020 07:38:00 +0000 (09:38 +0200)]
Merge pull request #34977 from mgfritch/cephadm-prom-encoding

mgr/cephadm: ceph_default_alerts.yml can be utf-8 encoded

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34955 from tchaikov/wip-cbt-with-bluestore
Kefu Chai [Tue, 12 May 2020 02:37:48 +0000 (10:37 +0800)]
Merge pull request #34955 from tchaikov/wip-cbt-with-bluestore

scripts/run-cbt.sh: use bluestore for testing classic osd

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #34962 into master
Patrick Donnelly [Tue, 12 May 2020 02:35:18 +0000 (19:35 -0700)]
Merge PR #34962 into master

* refs/pull/34962/head:
vstart_runner.py: use tuple instead of set

Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #34938 from mgfritch/cephadm-systemd-stop-timeout
Sebastian Wagner [Mon, 11 May 2020 14:49:02 +0000 (16:49 +0200)]
Merge pull request #34938 from mgfritch/cephadm-systemd-stop-timeout

cephadm: extend systemd stop timeout

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34905 from tspmelo/wip-mirroring
Lenz Grimmer [Mon, 11 May 2020 13:58:18 +0000 (15:58 +0200)]
Merge pull request #34905 from tspmelo/wip-mirroring

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
5 years agovstart_runner.py: use tuple instead of set 34962/head
Rishabh Dave [Fri, 8 May 2020 11:40:24 +0000 (17:10 +0530)]
vstart_runner.py: use tuple instead of set

Using python3 leads to an error that says
"TypeError: unhashable type: 'Raw'".

Fixes: https://tracker.ceph.com/issues/45446
Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #34926 from sebastian-philipp/mgr-mock-mon-store
Sebastian Wagner [Mon, 11 May 2020 12:05:06 +0000 (14:05 +0200)]
Merge pull request #34926 from sebastian-philipp/mgr-mock-mon-store

pybind/mgr: properly mock the mon store for pytest

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoRevert "os/bluestore: Enable sharding by default" 34970/head
Sebastian Wagner [Fri, 8 May 2020 22:13:31 +0000 (00:13 +0200)]
Revert "os/bluestore: Enable sharding by default"

This reverts commit aa1a116f9eef5d6fbe09d6ed99910223451431f1.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: ceph_default_alerts.yml can be utf-8 encoded 34977/head
Michael Fritch [Mon, 11 May 2020 00:43:21 +0000 (18:43 -0600)]
mgr/cephadm: ceph_default_alerts.yml can be utf-8 encoded

non-ascii chars introduced by 653c3f66823

Fixes: https://tracker.ceph.com/issues/45458
Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #34948 into master
Patrick Donnelly [Sat, 9 May 2020 16:53:33 +0000 (09:53 -0700)]
Merge PR #34948 into master

* refs/pull/34948/head:
doc/cephfs-shell: Add quota command usage
doc/cephfs-shell: Add du command usage
doc/cephfs-shell: Add df command usage

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #34958 from yuvalif/fix_versioning_in_notif
Yuval Lifshitz [Sat, 9 May 2020 08:52:09 +0000 (11:52 +0300)]
Merge pull request #34958 from yuvalif/fix_versioning_in_notif

rgw/notifications: version id was not sent in versioned buckets

5 years agoMerge pull request #34967 from tchaikov/wip-rpm-fmt
Kefu Chai [Sat, 9 May 2020 08:24:46 +0000 (16:24 +0800)]
Merge pull request #34967 from tchaikov/wip-rpm-fmt

rpm: BuildRequires fmt-devel on el8

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #34781 from lxbsz/run_shell1
Kefu Chai [Sat, 9 May 2020 07:10:55 +0000 (15:10 +0800)]
Merge pull request #34781 from lxbsz/run_shell1

qa/tasks/cephfs/mount.py: run_shell to use StringIO as default

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34834 from sidharthanup/qa-test-exports-fix
Kefu Chai [Sat, 9 May 2020 06:53:10 +0000 (14:53 +0800)]
Merge pull request #34834 from sidharthanup/qa-test-exports-fix

qa/test_exports: fix TestExports failure under new py3 compability changes

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34871 from tchaikov/wip-qa-tasks-mgr-set-application
Kefu Chai [Sat, 9 May 2020 06:50:00 +0000 (14:50 +0800)]
Merge pull request #34871 from tchaikov/wip-qa-tasks-mgr-set-application

qa/tasks/mgr: always add "application" label to pool

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #34895 from mgfritch/mgr-insights-py3-warn
Kefu Chai [Sat, 9 May 2020 06:45:47 +0000 (14:45 +0800)]
Merge pull request #34895 from mgfritch/mgr-insights-py3-warn

mgr/insights: fix python3 DeprecationWarning

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34875 from tchaikov/wip-qa-tasks-qemu
Kefu Chai [Sat, 9 May 2020 06:41:04 +0000 (14:41 +0800)]
Merge pull request #34875 from tchaikov/wip-qa-tasks-qemu

qa/tasks/qemu: open file in text mode

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge PR #34941 into master
Patrick Donnelly [Sat, 9 May 2020 04:28:04 +0000 (21:28 -0700)]
Merge PR #34941 into master

* refs/pull/34941/head:
qa/cephfs: use StringIO instead of BytesIO

Reviewed-by: Xiubo Li <xiubli@redhat.com>
5 years agoMerge pull request #34037 from ivancich/wip-adjust-ordered-list-attempts
J. Eric Ivancich [Fri, 8 May 2020 21:58:55 +0000 (17:58 -0400)]
Merge pull request #34037 from ivancich/wip-adjust-ordered-list-attempts

rgw: clean up attempt loop in ordered listing

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
5 years agoMerge pull request #33865 from ivancich/wip-fix-ordered-marker-bug
J. Eric Ivancich [Fri, 8 May 2020 21:55:28 +0000 (17:55 -0400)]
Merge pull request #33865 from ivancich/wip-fix-ordered-marker-bug

rgw: fix bug where bucket listing end marker not always set correctly

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30511 from tianshan/fix_41953
J. Eric Ivancich [Fri, 8 May 2020 21:50:37 +0000 (17:50 -0400)]
Merge pull request #30511 from tianshan/fix_41953

rgw: skip add empty multipart chain to gc in abort_multipart_upload

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
5 years agoMerge pull request #29886 from tianshan/fix_bucket_handle_leak
J. Eric Ivancich [Fri, 8 May 2020 21:49:22 +0000 (17:49 -0400)]
Merge pull request #29886 from tianshan/fix_bucket_handle_leak

rgw: fix some list buckets handle leak

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #34961 from sebastian-philipp/cephadm-fix-node-exporter-auth-entity
Sebastian Wagner [Fri, 8 May 2020 21:25:19 +0000 (23:25 +0200)]
Merge pull request #34961 from sebastian-philipp/cephadm-fix-node-exporter-auth-entity

mgr/cephadm: node-exporter is not a ceph service

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34932 from sebastian-philipp/cephadm-hostassignment-schedule.py
Sebastian Wagner [Fri, 8 May 2020 21:22:11 +0000 (23:22 +0200)]
Merge pull request #34932 from sebastian-philipp/cephadm-hostassignment-schedule.py

mgr/cephadm: move HostAssignment to new module

Reviewed-by: Joshua Schmid <jschmid@suse.de>
5 years agoMerge pull request #34689 from rhcs-dashboard/45186-fix-test-orch
Sebastian Wagner [Fri, 8 May 2020 20:11:55 +0000 (22:11 +0200)]
Merge pull request #34689 from rhcs-dashboard/45186-fix-test-orch

mgr/test_orchestrator: fix _get_ceph_daemons()

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agorpm: BuildRequires fmt-devel on el8 34967/head
Kefu Chai [Fri, 8 May 2020 17:53:46 +0000 (01:53 +0800)]
rpm: BuildRequires fmt-devel on el8

it's included in EPEL8 now.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34950 from sebastian-philipp/cephadm-upgrade.py
Sebastian Wagner [Fri, 8 May 2020 16:59:49 +0000 (18:59 +0200)]
Merge pull request #34950 from sebastian-philipp/cephadm-upgrade.py

mgr/cephadm: move upgrade code to upgrade.py

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34922 from SUSE/wip-fix-45393
Sebastian Wagner [Fri, 8 May 2020 16:59:26 +0000 (18:59 +0200)]
Merge pull request #34922 from SUSE/wip-fix-45393

mgr/cephadm: refresh osd config when mons change

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34903 from sebastian-philipp/cephadm-adopt-qa-grafana
Sebastian Wagner [Fri, 8 May 2020 16:58:50 +0000 (18:58 +0200)]
Merge pull request #34903 from sebastian-philipp/cephadm-adopt-qa-grafana

qa/workunits/cephadm: test grafana adoption

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34949 from tspmelo/wip-i18n-fix
Lenz Grimmer [Fri, 8 May 2020 14:48:35 +0000 (16:48 +0200)]
Merge pull request #34949 from tspmelo/wip-i18n-fix

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agodoc/cephfs-shell: Add quota command usage 34948/head
Varsha Rao [Thu, 7 May 2020 11:57:42 +0000 (17:27 +0530)]
doc/cephfs-shell: Add quota command usage

Fixes: https://tracker.ceph.com/issues/44788
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agodoc/cephfs-shell: Add du command usage
Varsha Rao [Thu, 7 May 2020 11:27:24 +0000 (16:57 +0530)]
doc/cephfs-shell: Add du command usage

Fixes: https://tracker.ceph.com/issues/44788
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agodoc/cephfs-shell: Add df command usage
Varsha Rao [Thu, 7 May 2020 11:13:16 +0000 (16:43 +0530)]
doc/cephfs-shell: Add df command usage

Fixes: https://tracker.ceph.com/issues/44788
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #34923 from ofriedma/wip-ofriedma-fcgi
Casey Bodley [Fri, 8 May 2020 13:26:07 +0000 (09:26 -0400)]
Merge pull request #34923 from ofriedma/wip-ofriedma-fcgi

rgw: unable to compile fcgi frontend

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoMerge pull request #34709 from votdev/issue_45204_max_buckets
Lenz Grimmer [Fri, 8 May 2020 12:52:10 +0000 (14:52 +0200)]
Merge pull request #34709 from votdev/issue_45204_max_buckets

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #34854 from BenoitKnecht/fix-alert-description
Lenz Grimmer [Fri, 8 May 2020 12:46:54 +0000 (14:46 +0200)]
Merge pull request #34854 from BenoitKnecht/fix-alert-description

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
5 years agomgr/cephadm: add extra function for the auth entity 34961/head
Sebastian Wagner [Fri, 8 May 2020 11:00:36 +0000 (13:00 +0200)]
mgr/cephadm: add extra function for the auth entity

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: node-exporter is not a ceph service
Sebastian Wagner [Fri, 8 May 2020 10:59:37 +0000 (12:59 +0200)]
mgr/cephadm: node-exporter is not a ceph service

Fixes: https://tracker.ceph.com/issues/45427
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agopybind/mgr: properly mock the mon store for pytest 34926/head
Sebastian Wagner [Wed, 6 May 2020 13:52:36 +0000 (15:52 +0200)]
pybind/mgr: properly mock the mon store for pytest

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34843 from mgfritch/cephadm-cli-servicespec
Sebastian Wagner [Fri, 8 May 2020 09:12:27 +0000 (11:12 +0200)]
Merge pull request #34843 from mgfritch/cephadm-cli-servicespec

mgr/orch: Clean-up ServiceSpec handling during add/remove (mds, rgw, iscsi, nfs)

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: add some more type checks 34945/head
Sebastian Wagner [Fri, 8 May 2020 09:09:08 +0000 (11:09 +0200)]
mgr/cephadm: add some more type checks

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: cleanup async_map_completion etc.
Sebastian Wagner [Fri, 20 Mar 2020 16:39:08 +0000 (17:39 +0100)]
mgr/cephadm: cleanup async_map_completion etc.

This breaks the progress integration, but we haven't
used that anyway till now.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: replace async_completion with trivial_completion
Sebastian Wagner [Fri, 20 Mar 2020 16:18:48 +0000 (17:18 +0100)]
mgr/cephadm: replace async_completion with trivial_completion

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: replace async_map_completion with a simple wrapper
Sebastian Wagner [Fri, 20 Mar 2020 16:17:39 +0000 (17:17 +0100)]
mgr/cephadm: replace async_map_completion with a simple wrapper

There is no need to wrap everything into completions.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit a78f42e225bbc041324dc3e565deb207feddad26)

5 years agomgr/cephadm: move HostAssignment to new module 34932/head
Sebastian Wagner [Fri, 17 Apr 2020 13:24:44 +0000 (15:24 +0200)]
mgr/cephadm: move HostAssignment to new module

(speeds up my editor)

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34909 from sebastian-philipp/cephadm-doc-ceph.conf
Sebastian Wagner [Fri, 8 May 2020 07:56:42 +0000 (09:56 +0200)]
Merge pull request #34909 from sebastian-philipp/cephadm-doc-ceph.conf

doc/cephadm: add section about setting config settings

Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34891 from sebastian-philipp/cephadm-cephadmservice
Sebastian Wagner [Fri, 8 May 2020 07:45:08 +0000 (09:45 +0200)]
Merge pull request #34891 from sebastian-philipp/cephadm-cephadmservice

mgr/cephadm: Add CephadmService class

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agocephadm: Fix error parsing <command> arguments 34888/head
Juan Miguel Olmo Martínez [Mon, 4 May 2020 10:45:35 +0000 (12:45 +0200)]
cephadm: Fix error parsing <command> arguments

Optional arguments in the <command> parameter used in:
 <cephadm shell>
 <cephadm enter>
 <cephadm ceph-volume>
are not parsed properly. This fixes this problem.

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
5 years agorgw/notifications: version id was not sent in versioned buckets 34958/head
Yuval Lifshitz [Fri, 8 May 2020 07:09:32 +0000 (10:09 +0300)]
rgw/notifications: version id was not sent in versioned buckets

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
Fixes: https://tracker.ceph.com/issues/45440
5 years agoMerge pull request #34853 from yison/rwl-image-writeback-cache-seq9
Jason Dillaman [Thu, 7 May 2020 15:46:33 +0000 (11:46 -0400)]
Merge pull request #34853 from yison/rwl-image-writeback-cache-seq9

rbd/cache: Replicated Write Log core codes - compare_and_write

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #34952 from cbodley/wip-44958
Casey Bodley [Thu, 7 May 2020 15:45:30 +0000 (11:45 -0400)]
Merge pull request #34952 from cbodley/wip-44958

doc/rgw: document 'rgw gc max concurrent io'

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoscripts/run-cbt.sh: use bluestore for testing classic osd 34955/head
Kefu Chai [Thu, 7 May 2020 15:44:57 +0000 (23:44 +0800)]
scripts/run-cbt.sh: use bluestore for testing classic osd

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34929 from tspmelo/wip-e2e-script
Laura Paduano [Thu, 7 May 2020 14:49:49 +0000 (16:49 +0200)]
Merge pull request #34929 from tspmelo/wip-e2e-script

mgr/dashboard: Improve run-frontend-e2e-tests.sh

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agodoc/rgw: document 'rgw gc max concurrent io' 34952/head
Casey Bodley [Thu, 7 May 2020 14:41:22 +0000 (10:41 -0400)]
doc/rgw: document 'rgw gc max concurrent io'

Fixes: https://tracker.ceph.com/issues/44958
Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agomgr/cephadm: move upgrade code to upgrade.py 34950/head
Sebastian Wagner [Thu, 7 May 2020 12:40:08 +0000 (14:40 +0200)]
mgr/cephadm: move upgrade code to upgrade.py

Make it easier for everyone to read the upgrade algorithm.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/dashboard: Fix I18N errors 34949/head
Tiago Melo [Thu, 7 May 2020 11:44:47 +0000 (11:44 +0000)]
mgr/dashboard: Fix I18N errors

We were just checking if the translation sources were correct and ignore if the
extraction simply failed.

Fixes: https://tracker.ceph.com/issues/45428
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #34820 from sebastian-philipp/akamac-cephadm-fix-typo-in-postinst
Kefu Chai [Thu, 7 May 2020 11:31:35 +0000 (19:31 +0800)]
Merge pull request #34820 from sebastian-philipp/akamac-cephadm-fix-typo-in-postinst

debian: fix typo in cephadm user gecos

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/cephadm: Add IscsiService 34891/head
Sebastian Wagner [Mon, 4 May 2020 12:40:19 +0000 (14:40 +0200)]
mgr/cephadm: Add IscsiService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add CrashService
Sebastian Wagner [Mon, 4 May 2020 12:36:03 +0000 (14:36 +0200)]
mgr/cephadm: Add CrashService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add NodeExporterService
Sebastian Wagner [Mon, 4 May 2020 12:33:21 +0000 (14:33 +0200)]
mgr/cephadm: Add NodeExporterService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add PrometheusService
Sebastian Wagner [Mon, 4 May 2020 12:30:57 +0000 (14:30 +0200)]
mgr/cephadm: Add PrometheusService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add AlertmanagerService
Sebastian Wagner [Mon, 4 May 2020 12:26:31 +0000 (14:26 +0200)]
mgr/cephadm: Add AlertmanagerService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add GrafanaService
Sebastian Wagner [Mon, 4 May 2020 12:21:21 +0000 (14:21 +0200)]
mgr/cephadm: Add GrafanaService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add RbdMirrorService
Sebastian Wagner [Mon, 4 May 2020 12:11:24 +0000 (14:11 +0200)]
mgr/cephadm: Add RbdMirrorService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add RgwService
Sebastian Wagner [Mon, 4 May 2020 12:07:41 +0000 (14:07 +0200)]
mgr/cephadm: Add RgwService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add MdsService
Sebastian Wagner [Mon, 4 May 2020 12:01:13 +0000 (14:01 +0200)]
mgr/cephadm: Add MdsService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add MgrService
Sebastian Wagner [Mon, 4 May 2020 11:55:07 +0000 (13:55 +0200)]
mgr/cephadm: Add MgrService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add MonService
Sebastian Wagner [Mon, 4 May 2020 11:51:15 +0000 (13:51 +0200)]
mgr/cephadm: Add MonService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: Add NFSService
Sebastian Wagner [Mon, 4 May 2020 11:38:46 +0000 (13:38 +0200)]
mgr/cephadm: Add NFSService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: move OSD related code to OSDService
Sebastian Wagner [Mon, 4 May 2020 11:12:38 +0000 (13:12 +0200)]
mgr/cephadm: move OSD related code to OSDService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: move nfs and osd to services/
Sebastian Wagner [Mon, 4 May 2020 10:47:38 +0000 (12:47 +0200)]
mgr/cephadm: move nfs and osd to services/

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/dashboard: Improve run-frontend-e2e-tests.sh 34929/head
Tiago Melo [Wed, 6 May 2020 14:55:42 +0000 (14:55 +0000)]
mgr/dashboard: Improve run-frontend-e2e-tests.sh

Allow to configure Cypress using env vars.

Fixes: https://tracker.ceph.com/issues/45408
Add Signed-off-by: Tiago Melo <tmelo@suse.com>

5 years agoMerge pull request #34855 from s0nea/wip-dashboard-troubleshooting
Lenz Grimmer [Thu, 7 May 2020 10:27:31 +0000 (12:27 +0200)]
Merge pull request #34855 from s0nea/wip-dashboard-troubleshooting

Reviewed-by: Enno Gotthold <egotthold@suse.de>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agodebian: fix typo in cephadm user gecos 34820/head
Alexey Miasoedov [Tue, 14 Apr 2020 19:24:27 +0000 (22:24 +0300)]
debian: fix typo in cephadm user gecos

Signed-off-by: Alexey Miasoedov <alexey.miasoedov@gmail.com>
5 years agoMerge pull request #34591 from votdev/issue_45109
Lenz Grimmer [Thu, 7 May 2020 09:59:22 +0000 (11:59 +0200)]
Merge pull request #34591 from votdev/issue_45109

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agoqa/cephfs: use StringIO instead of BytesIO 34941/head
Rishabh Dave [Wed, 6 May 2020 18:06:45 +0000 (23:36 +0530)]
qa/cephfs: use StringIO instead of BytesIO

Fixes: https://tracker.ceph.com/issues/45425
Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agolibrbd: add aio_compare_and_write test cases 34853/head
Yuan Lu [Wed, 29 Apr 2020 09:18:52 +0000 (17:18 +0800)]
librbd: add aio_compare_and_write 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>
5 years agolibrbd: add aio_compare_and_write
Yuan Lu [Thu, 30 Apr 2020 06:11:20 +0000 (14:11 +0800)]
librbd: add aio_compare_and_write

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 CompAndWriteRequest
Yuan Lu [Thu, 30 Apr 2020 06:10:19 +0000 (14:10 +0800)]
librbd: add CompAndWriteRequest

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 #34921 from tchaikov/wip-seastar
Kefu Chai [Thu, 7 May 2020 01:30:30 +0000 (09:30 +0800)]
Merge pull request #34921 from tchaikov/wip-seastar

crimson: pick up a recent seastar version and cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocephadm: extend systemd stop timeout 34938/head
Michael Fritch [Wed, 6 May 2020 21:26:49 +0000 (15:26 -0600)]
cephadm: extend systemd stop timeout

daemon stop + unit.poststop might take longer to complete

Fixes: https://tracker.ceph.com/issues/45417
Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34851 from yison/rwl-image-writeback-cache-seq8
Jason Dillaman [Wed, 6 May 2020 19:56:42 +0000 (15:56 -0400)]
Merge pull request #34851 from yison/rwl-image-writeback-cache-seq8

rbd/cache: Replicated Write Log core codes - retire entries and invalidate

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agomgr/dashboard: Forms now wait for all data to load until displayed 34746/head
Tiago Melo [Fri, 24 Apr 2020 11:20:51 +0000 (11:20 +0000)]
mgr/dashboard: Forms now wait for all data to load until displayed

Add directive to handle the display of the form.
It will display the form only when loading is finished.
Otherwise it will show a loading message or error message.

Add a new class that should be extended by all form components.
For now it only has methods for dealing with loading,
but this could be improved later.

Fixes: https://tracker.ceph.com/issues/44912
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomonitoring: Fix "10% OSDs down" alert description 34854/head
Benoît Knecht [Thu, 30 Apr 2020 08:50:07 +0000 (10:50 +0200)]
monitoring: Fix "10% OSDs down" alert description

The alert was triggered when less than 90% of OSDs were _up_, but then the
description took that value and described it as the percentage of OSDs being
_down_. So with 12% of OSDs down, the alert description would read:

```
88% or 88 of 100 OSDs are down (>=10%).
```

which can be panic-inducing.

This commit changes the alert expression to actually compute the ratio of OSDs
being down, which makes the correct value appear in the description.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
5 years agocrimson: avoid using variadic future 34921/head
Kefu Chai [Wed, 6 May 2020 14:30:56 +0000 (22:30 +0800)]
crimson: avoid using variadic future

it is deprecated by seastar. let's use future<tuple<...>> instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoseastar: pick up a recent seastar
Kefu Chai [Wed, 6 May 2020 10:52:06 +0000 (18:52 +0800)]
seastar: pick up a recent seastar

to alleviate the pain of keeping in sync with seastar upstream.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/common: friend with do_with_impl()
Kefu Chai [Wed, 6 May 2020 10:39:44 +0000 (18:39 +0800)]
crimson/common: friend with do_with_impl()

seastar changed the implementatino of do_with(), so it's do_with_impl()
who tries to up-cast erroratorized future to seastar::future<>.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson: drop Dispatch::ms_verify_authorizer()
Kefu Chai [Wed, 6 May 2020 10:04:50 +0000 (18:04 +0800)]
crimson: drop Dispatch::ms_verify_authorizer()

as it's not used at all. also, variadic future was deprecated by
seastar, so let's avoid using it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson: s/reactor::cpu_id/seastar::this_shard_id/
Kefu Chai [Wed, 6 May 2020 09:43:05 +0000 (17:43 +0800)]
crimson: s/reactor::cpu_id/seastar::this_shard_id/

the former was deprecated since seastar
02956fd436b413d6bbe562cf91533ada36553e54

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agodoc/cephadm: add section about setting config settings 34909/head
Sebastian Wagner [Tue, 5 May 2020 14:38:49 +0000 (16:38 +0200)]
doc/cephadm: add section about setting config settings

Fixes: https://tracker.ceph.com/issues/44284
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agolibrbd: add invalidate test case 34851/head
Yuan Lu [Thu, 30 Apr 2020 02:21:00 +0000 (10:21 +0800)]
librbd: add invalidate 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 invalidate
Yuan Lu [Tue, 28 Apr 2020 07:34:46 +0000 (15:34 +0800)]
librbd: add invalidate

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: retire entries
Yuan Lu [Wed, 29 Apr 2020 08:03:30 +0000 (16:03 +0800)]
librbd: retire entries

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 #34899 from smanjara/wip-dynamic-resharding
Casey Bodley [Wed, 6 May 2020 15:18:39 +0000 (11:18 -0400)]
Merge pull request #34899 from smanjara/wip-dynamic-resharding

qa/rgw: add ssl option in reshard tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agodoc/mgr/dashboard: Add troubleshooting guide 34855/head
Tatjana Dehler [Tue, 21 Apr 2020 14:07:21 +0000 (16:07 +0200)]
doc/mgr/dashboard: Add troubleshooting guide

Fixes: https://tracker.ceph.com/issues/25196
Signed-off-by: Tatjana Dehler <tdehler@suse.com>