Commit Graph

111232 Commits

Author SHA1 Message Date
Sebastian Wagner
619fcdddec Revert "os/bluestore: Enable sharding by default"
This reverts commit aa1a116f9e.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-11 13:53:03 +02:00
Michael Fritch
bc26b1ab8c
mgr/cephadm: ceph_default_alerts.yml can be utf-8 encoded
non-ascii chars introduced by 653c3f6682

Fixes: https://tracker.ceph.com/issues/45458
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-05-10 19:02:59 -06:00
Patrick Donnelly
ba805463ec
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>
2020-05-09 09:53:33 -07:00
Mykola Golub
a834e7115e qa/suites/rbd: enable random distro for nbd tests
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-05-09 16:36:49 +01:00
Mykola Golub
b0ab564eae qa/workunits/rbd: add rbd-nbd quiesce tests
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-05-09 16:36:49 +01:00
Mykola Golub
8b6e38a6bf rpm,deb: add quiesce hook script to rbd-nbd package
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-05-09 16:36:49 +01:00
Mykola Golub
6e7d4f963b rbd-nbd: script that can be hooked to quiesce/unquiesce events
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-05-09 12:37:36 +01:00
Mykola Golub
1d01295494 rbd-nbd: add quiesce/unquiesce hooks
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-05-09 12:37:36 +01:00
Yuval Lifshitz
1c2abf6fb8
Merge pull request #34958 from yuvalif/fix_versioning_in_notif
rgw/notifications: version id was not sent in versioned buckets
2020-05-09 11:52:09 +03:00
Kefu Chai
d7e23b8cd5
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>
2020-05-09 16:24:46 +08:00
Kefu Chai
0bcb4a8386
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>
2020-05-09 15:10:55 +08:00
Kefu Chai
bcbb8abb96
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>
2020-05-09 14:53:10 +08:00
Kefu Chai
0d06671898
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>
2020-05-09 14:50:00 +08:00
Kefu Chai
da87b263be
Merge pull request #34895 from mgfritch/mgr-insights-py3-warn
mgr/insights: fix python3 DeprecationWarning

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-09 14:45:47 +08:00
Kefu Chai
9f2ac621e9
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>
2020-05-09 14:41:04 +08:00
Patrick Donnelly
9859cd0f25
Merge PR #34941 into master
* refs/pull/34941/head:
	qa/cephfs: use StringIO instead of BytesIO

Reviewed-by: Xiubo Li <xiubli@redhat.com>
2020-05-08 21:28:04 -07:00
Tiago Melo
08bb5a851f mgr/dashboard: Fix random E2E error in mgr-modules
This test failed at random times when it tried to find the new value of pool_ids
in the balancer module.
This happened because the value of pool_ids is automatically reverted by ceph,
so in some situations when we tried to read the new value,
it was already reverted and failed.

Enhanced the tests to be able to use any text input, not only the ones with
empty default values.

Fixes: https://tracker.ceph.com/issues/45445

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-05-09 02:42:32 +00:00
J. Eric Ivancich
7949f59d8d
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>
2020-05-08 17:58:55 -04:00
J. Eric Ivancich
a02e3c766b
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>
2020-05-08 17:55:28 -04:00
J. Eric Ivancich
6cde82b305
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>
2020-05-08 17:50:37 -04:00
J. Eric Ivancich
91e1136034
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>
2020-05-08 17:49:22 -04:00
Sebastian Wagner
48eb4b854f
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>
2020-05-08 23:25:19 +02:00
Sebastian Wagner
77d038e781
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>
2020-05-08 23:22:11 +02:00
Sebastian Wagner
f91fdb6d53
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>
2020-05-08 22:11:55 +02:00
Pritha Srivastava
d5b895498e cls/rgw_gc: Fixing the iterator used to access urgent data map
in xattr in cls_rgw_gc. The incorrect iterator caused a crash
in osd.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2020-05-09 00:21:46 +05:30
Kefu Chai
d5932cb8de rpm: BuildRequires fmt-devel on el8
it's included in EPEL8 now.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-09 01:54:55 +08:00
Sebastian Wagner
bceb02a31f
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>
2020-05-08 18:59:49 +02:00
Sebastian Wagner
e89660cbf4
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>
2020-05-08 18:59:26 +02:00
Sebastian Wagner
6a15a25d9a
Merge pull request #34903 from sebastian-philipp/cephadm-adopt-qa-grafana
qa/workunits/cephadm: test grafana adoption

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-05-08 18:58:50 +02:00
Stephan Müller
46e20a5e85 mgr/dashboard: Always use fast angular unit tests
This will replace the current approach having a fast testing workaround
that didn't fully work on every test. Now using ng-bullet's optimization
works with every test, therefore there is no need to keep the old
configuration files and use the slow testing on Jenkins.

Fixes: https://tracker.ceph.com/issues/45433
Signed-off-by: Stephan Müller <smueller@suse.com>
2020-05-08 17:33:34 +02:00
Lenz Grimmer
f719796eaf
Merge pull request #34949 from tspmelo/wip-i18n-fix
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-05-08 16:48:35 +02:00
Varsha Rao
799f5b3af7 doc/cephfs-shell: Add quota command usage
Fixes: https://tracker.ceph.com/issues/44788
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-08 20:07:26 +05:30
Varsha Rao
653c569ee2 doc/cephfs-shell: Add du command usage
Fixes: https://tracker.ceph.com/issues/44788
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-08 20:07:26 +05:30
Varsha Rao
f73d03ec26 doc/cephfs-shell: Add df command usage
Fixes: https://tracker.ceph.com/issues/44788
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-08 20:07:26 +05:30
Casey Bodley
2541d37ef4
Merge pull request #34923 from ofriedma/wip-ofriedma-fcgi
rgw: unable to compile fcgi frontend

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2020-05-08 09:26:07 -04:00
Lenz Grimmer
e592d5583e
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>
2020-05-08 14:52:10 +02:00
Lenz Grimmer
2bf5503aa3
Merge pull request #34854 from BenoitKnecht/fix-alert-description
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
2020-05-08 14:46:54 +02:00
Sebastian Wagner
f18523fa21 mgr/cephadm: add extra function for the auth entity
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-08 13:00:36 +02:00
Sebastian Wagner
f9321ebbb4 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>
2020-05-08 12:59:37 +02:00
Sebastian Wagner
fbc089755c pybind/mgr: properly mock the mon store for pytest
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-08 12:01:06 +02:00
Sebastian Wagner
0d72e7f8e4
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>
2020-05-08 11:12:27 +02:00
Sebastian Wagner
85c812c4ed mgr/cephadm: add some more type checks
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-08 11:09:08 +02:00
Sebastian Wagner
24de3e21b9 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>
2020-05-08 10:02:21 +02:00
Sebastian Wagner
397d062759 mgr/cephadm: replace async_completion with trivial_completion
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-08 10:02:21 +02:00
Sebastian Wagner
4bdbbeb6fd 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 a78f42e225)
2020-05-08 10:01:51 +02:00
Sebastian Wagner
524efe8994 mgr/cephadm: move HostAssignment to new module
(speeds up my editor)

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-08 09:58:27 +02:00
Sebastian Wagner
be117b555f
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>
2020-05-08 09:56:42 +02:00
Sebastian Wagner
43b21dfc61
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>
2020-05-08 09:45:08 +02:00
Juan Miguel Olmo Martínez
ba07fa257c
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>
2020-05-08 09:28:34 +02:00
Yuval Lifshitz
973b0b1ed8 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
2020-05-08 10:09:32 +03:00