Commit Graph

109857 Commits

Author SHA1 Message Date
Shilpa Jagannath
0a15f54803 rgw: replace RGWBucketInfo's sharding-related fields with BucketLayout
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2020-03-30 16:31:24 +05:30
Casey Bodley
60af77262a rgw: add BucketLayout to RGWBucketInfo
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-03-30 16:31:24 +05:30
Casey Bodley
d6686816b7 rgw: use qualified encode/decode in putobj processor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-03-30 16:31:24 +05:30
Laura Paduano
8e64da5334
Merge pull request #34279 from votdev/issue_44805
mgr/dashboard: 'Prometheus / All Alerts' page shows progress bar

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-03-30 11:58:26 +02:00
Volker Theile
1efe1a76da mgr/dashboard: 'Prometheus / All Alerts' page shows progress bar
Fixes: https://tracker.ceph.com/issues/44805

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-03-30 11:08:13 +02:00
Brad Hubbard
c1f3f05011
Merge pull request #34276 from badone/wip-fix-argument-ordering-docker-test
tests: Reinstate "opts" as final argument

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-30 13:23:36 +10:00
Brad Hubbard
c951132aee tests: Reinstate "opts" as final argument
a1e8f61cb7 broke the "opts" argument.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-03-30 12:20:24 +10:00
Kefu Chai
011e7b3736
Merge pull request #34252 from JackSlateur/doc-os-recommendations2
doc/start/os-recommendations.rst: recommend bluestore

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-30 00:26:59 +08:00
Kefu Chai
54185b8042
Merge pull request #34267 from JackSlateur/doc-man-monmaptool
doc/man/8/monmaptool.rst: update synopsis etc with the latest options

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-30 00:23:47 +08:00
Alexandre Bruyelles
400ace85db
doc/man/8/monmaptool.rst: update the page with the latest options
Signed-off-by: Alexandre Bruyelles <jack@jack.fr.eu.org>
2020-03-29 18:00:02 +02:00
Kefu Chai
bd0e885a8a
Merge pull request #34224 from markhpc/wip-bluefs-disable-buffered-io
common/options: Disable bluefs_buffered_io by default again.

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-03-29 22:21:05 +08:00
Kefu Chai
aececeab8b
Merge pull request #33052 from ifed01/wip-ifed-fix-unused2
os/bluestore: fix 'unused' calculation

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2020-03-29 22:19:23 +08:00
Kefu Chai
44842fcd6a
Merge pull request #34203 from majianpeng/bluefs-remove-unused-func
os/bluestore: remove unused func.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-29 22:18:02 +08:00
Sage Weil
48b6cc6182 Merge PR #34061 into master
* refs/pull/34061/head:
	mgr/orch: Add `ceph orch ls --export`
	mgr/dashboard: adapt to new `ServiceDescription.to_json()`
	python-common: add `service_name` to `ServiceSpec.to_json`
	python-common: make ServiceSpec and ServiceDescription compatible
	src/ceph.in: add yaml to known formats
	mgr/orch: add yaml to `orch ls`
	mgr/orch: remove `orch spec dump`
	python-common: reorder RGWSpec arguments
	python-common: prevent ServiceSpec of wrong type
	pybind/mgr: tox.ini: omit cov report
	mgr/cephadm: test describe_service
	mgr/orch: ServiceDescription: change json representation
	mgr/orch: ServiceDescription: Make spec a requirement

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-29 07:17:37 -05:00
Sage Weil
932d152f35 Merge PR #34215 into master
* refs/pull/34215/head:
	cephadm: Fix trucated output of `mgr dump`

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-29 07:16:59 -05:00
Kefu Chai
260b1a922e
Merge pull request #34268 from poyea/docs-options-1
doc: Fix inconsistency in logging settings

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-29 14:24:09 +08:00
John Law
c2c069f2b4 doc: Fix inconsistency in logging settings
This patch fixes inconsistency in logging settings with options, namely `log_flush_on_exit` and `log_to_stderr`. This patch also adds `log_to_file` to the section.

Signed-off-by: John Law <johnlaw.po@gmail.com>
2020-03-29 03:14:45 +02:00
Sage Weil
9f3f05c5e5 Merge PR #34062 into master
* refs/pull/34062/head:
	cephadm: update check-host() to return all problems

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-28 09:24:55 -05:00
Kefu Chai
0e40f6fb01
Merge pull request #33943 from xxhdx1985126/wip-crimson-alienstore-bugs
crimson: fix bugs that come up when osds go through down/up

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-28 09:53:43 +08:00
Sebastian Wagner
6a6759eef0 cephadm: Fix trucated output of mgr dump
In case the process has terminated, we
have to make sure to read till EOF, otherwise
we might skip some bytes.

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

Co-authored-by: Tim Serong <tserong@suse.com>
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-28 00:42:34 +01:00
Alexandre Bruyelles
ed8cc0ca7f
doc/start/os-recommendations.rst: recommend bluestore
Signed-off-by: Alexandre Bruyelles <jack@jack.fr.eu.org>
2020-03-27 22:00:16 +01:00
Sage Weil
037a68d76e Merge PR #34247 into master
* refs/pull/34247/head:
	mgr/dashboard: do not fail on user creation

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-27 15:20:17 -05:00
Gregory Farnum
60504bd048
Merge pull request #33279 from rishabh-d-dave/fs-move-run_shell-and-related-methods
qa/cephfs: move run_shell to mount.py and add methods for negative testing
2020-03-27 12:59:43 -07:00
Gregory Farnum
d472ab9753
Merge pull request #34021 from lxbsz/deleg_XXX
test/libcephfs: retry and wait for caps when setting the RD deleg
2020-03-27 12:57:20 -07:00
Gregory Farnum
514739d2f4
Merge pull request #33494 from lxbsz/mount
mount.ceph: stop printing warning message for unrecognized mount options

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-03-27 12:56:38 -07:00
Gregory Farnum
ca24037277
Merge pull request #33740 from lxbsz/qa_test_timeout_failed
qa/test_config_session_timeout: fix options conflicting

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2020-03-27 12:55:20 -07:00
Gregory Farnum
fb1fdf4d55
Merge pull request #34024 from vshankar/wip-ignore-mgrmap-when-laggy
mds: do not defer incoming mgrmap when mds is laggy

Reviewed-by:  "Yan, Zheng" <zyan@redhat.com>
2020-03-27 12:29:43 -07:00
Tatjana Dehler
9992faa947 mgr/dashboard: do not fail on user creation
Accordingly to other Ceph commands do not fail on user
creation with a non-zero error code if the user already
exists.
Instead succeed and return the message 'User <username>
already exists'.

Fixes: https://tracker.ceph.com/issues/44502
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-03-27 15:58:42 +01:00
Laura Paduano
7dc02fd0ad
Merge pull request #33992 from rhcs-dashboard/44626-fix-notifications-e2e-tests
mgr/dashboard: fix notifications E2E tests

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-03-27 12:42:42 +01:00
Nathan Cutler
a6846c150c
Merge pull request #34209 from smithfarm/wip-doc-multi-cluster-follow-on-fix
doc: fix cephadm link

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-27 10:20:00 +01:00
Nathan Cutler
0e1e85047d
Merge pull request #34235 from toabctl/add-sle-15-sp2
qa/distros: add SLE-15-SP2

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-03-27 09:33:50 +01:00
Kefu Chai
a12f9f19e0
Merge pull request #32749 from james58899/fix-capacity
monitoring: Fix pool capacity incorrect

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-03-27 16:13:29 +08:00
Kefu Chai
fde92a3775
Merge pull request #34233 from tchaikov/wip-qa-py3
qa/tasks: change to be py3 compatible and cleanups

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
2020-03-27 15:53:05 +08:00
Thomas Bechtold
3261e24636 qa/distros: add SLE-15-SP2
Ceph octopus is known to run on SLE-15-SP2 so add it to
qa/distros/all.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
2020-03-27 08:17:13 +01:00
Kefu Chai
14722092fd cmake: add import-tasks to run-tox-qa test
to ensure that qa suites are python3 compatible

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-27 14:54:37 +08:00
Kefu Chai
7d37226548 qa/tasks/mgr: use relative import
for better readability, and to ease the pain of developer to track back
to the top level python package for referencing a submodule

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-27 14:51:24 +08:00
Kefu Chai
4b4f393aec qa/tasks/cephfs: fix print() to be py3 compatible
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-27 14:51:24 +08:00
Kefu Chai
a105dea117
Merge pull request #33949 from toabctl/import-tasks-with-py3
qa: Add a tox env that can test importing files

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-27 14:49:46 +08:00
Kefu Chai
76b81f3a88
Merge pull request #34141 from tchaikov/wip-test-threadsafe
test/objectstore: set "threadsafe" flag for ASSERT_DEATH tests

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-03-27 12:52:28 +08:00
Xuehan Xu
b5767df1a8 crimson: fix pglog read_log_and_missing issue
Currently pglog's read_log_and_missing_crimson's implementation
would cause null pointer exception, since at the time, we don't the
key to start from

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
2020-03-27 11:08:41 +08:00
Xuehan Xu
551e663a98 crimson: add necessary FuturizedStore APIs for data recovery
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
2020-03-27 11:08:35 +08:00
Xuehan Xu
adbdd753f1 crimson: make sure pg meta is valid when loading pg
currently, PGMeta instances are all local variables in method,
which would lead to daggling reference/pointer problems when using
seastar::futures.

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
2020-03-27 11:08:30 +08:00
Mark Nelson
5574617b9f common/options: Disable bluefs_buffered_io by default again.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2020-03-26 16:21:42 -05:00
Sage Weil
3ee082218c Merge PR #32093 into master
* refs/pull/32093/head:
	doc/start: Update hardware recommendations.

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-26 15:45:24 -05:00
Mark Nelson
3305a07324 doc/start: Update hardware recommendations.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2020-03-26 15:07:50 -05:00
Sage Weil
371b377a43 Merge PR #34218 into master
* refs/pull/34218/head:
	mgr/cephadm: Add missing decorator

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-03-26 12:41:01 -05:00
Sebastian Wagner
8e90f312e4 mgr/cephadm: Add missing decorator
Caused by a conflict between

* #33581 (770816dc9f) and
* #34091 (a78f42e225)

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-26 17:50:21 +01:00
Kefu Chai
1032494ad2
Merge pull request #33873 from lxbsz/qa_vs_failed
qa/tasks/vstart_runner: fix sh to make it compatible with teth

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-26 23:26:53 +08:00
Kefu Chai
be11e75d5d
Merge pull request #33882 from rosinL/wip-fix-rdma-segfault
msg/async/rdma: add return value check after qp created

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-26 23:25:39 +08:00
Kefu Chai
8e9621e8b9
Merge pull request #34195 from tchaikov/wip-tasks-mgr-submodule
qa/tasks/mgr: partial revert of 'import with full path'

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-03-26 23:23:43 +08:00