Commit Graph

119843 Commits

Author SHA1 Message Date
Kefu Chai
e811b0fb21
Merge pull request #39587 from dillaman/wip-test-neorados
cmake: libneoradostest-support should be static

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-02-21 11:31:10 +08:00
Kefu Chai
ebdaa67c26
Merge pull request #39591 from tchaikov/wip-mgr-diskpred-ann
mgr/diskprediction_local: add typing annotations and cleanups

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-21 11:30:10 +08:00
Jason Dillaman
963d854aba
Merge pull request #39539 from lixiaoy1/enable_pwl
cmake: enable write-back cache in spec

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-20 12:59:04 -05:00
Jason Dillaman
7285ea4a03
Merge pull request #39567 from lixiaoy1/fix_read_ios
librbd/cache/pwl: wait for the completion of reads

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-20 11:45:35 -05:00
Jason Dillaman
1a6db9edab
Merge pull request #39522 from trociny/wip-49284
mgr/rbd_support: mirror snapshot schedule should skip non-primary images

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-20 11:44:08 -05:00
Jason Dillaman
5e1718cf37
Merge pull request #39451 from trociny/wip-49282
librbd: allow disabling journaling for snapshot based mirroring image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-20 11:42:29 -05:00
Jason Dillaman
ea56b92c2f
Merge pull request #39481 from trociny/wip-luks-encryption-test-sudo
qa/workunits/rbd: make luks-encryption test work on vstart cluster

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-20 10:54:24 -05:00
Sage Weil
df0b0b6969 Merge PR #39582 into master
* refs/pull/39582/head:
	mon: fix INCOMPAT_QUINCY ondisk compatset feature bit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-02-20 09:40:40 -05:00
Kefu Chai
0d46a08408
Merge pull request #39590 from tchaikov/wip-49395
ceph.spec.in: s/%cmake/cmake/

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-20 20:32:45 +08:00
Kefu Chai
fb9a658828
Merge pull request #39592 from tchaikov/wip-crimson-read-exactly
crimson/net: throw read_eof if short read

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-02-20 17:31:21 +08:00
Kefu Chai
907aea748a crimson/net: throw read_eof if short read
as per the implementation and the document of input_stream::read_exactly():

/// stream and returns them. If the end of stream is reached before n
/// bytes were read, fewer than n bytes will be returned - so despite
/// the method's name, the caller must not assume the returned buffer
/// will always contain exactly n bytes.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-20 17:03:54 +08:00
Kefu Chai
4e3a8210a5 mgr/diskprediction_local: add typing annotations
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-20 15:36:20 +08:00
Kefu Chai
a6ee76cb12 mgr/diskprediction_local: raise if Predictor cannot be initialized
simpler this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-20 14:51:26 +08:00
Kefu Chai
2bb6821f50 mgr/diskprediction_local: add Predictor abstract class
to make the interface more explicit, also pave the road to mypy.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-20 14:51:26 +08:00
Kefu Chai
4cf186f5bb mgr/diskprediction_local: drop unused COMMANDS
the base class of `MgrModule` already has it

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-20 14:36:53 +08:00
Kefu Chai
a72d452d59 mgr/diskprediction_local: use "int" for interval options
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-20 14:36:53 +08:00
Kefu Chai
6f3fcde9ea mgr/diskprediction_local: define options using Option
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-20 14:36:53 +08:00
Kefu Chai
43a79aff9c mgr/diskprediction_local: add to flake8
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-20 14:36:53 +08:00
Kefu Chai
4ced8d9243
Merge pull request #39588 from athanatos/sjust/wip-fix-store-nbd
crimson/tools/store-nbd: fix invalid buffer access on connection termination

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-02-20 12:17:51 +08:00
Kefu Chai
71aea12bac ceph.spec.in: s/%cmake/cmake/
this change partially reverts da7030db79
which use %cmake rpm macro in the place of "cmake". but

%cmake sets BUILD_SHARED_LIBS=ON. so quite a few internal libraries
defined using add_library() are now compiled into shared libraries which
are not installed or packagesd. when we are installing the rpm packages
compiled with this option, rpm compiles because the linked libraries are
missing, for instance, `libgmock.so.1.10.0` was compiled as a static
library before da7030db79, and was
included by the test executables. but after that change it's compiled
as a shared library.

so we need to either package the linked shared libraries or just link
against them statically. at this moment, the latter approach is simpler,
albeit larger size of exectuable and dbg symbols.

Fixes: https://tracker.ceph.com/issues/49395
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-20 11:43:30 +08:00
Samuel Just
315fbba3e1 crimson/tools/store-nbd: actually check magic
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-02-20 03:28:21 +00:00
Jason Dillaman
ea373c1fa1
Merge pull request #39573 from weixinwei/master
librbd: memory is not preallocated in rbd c++ read api

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-19 22:28:18 -05:00
Samuel Just
a232a75b3b crimson/tools/store-nbd: check length of buffer
read_exactly does not return an error if the stream
has ended.

Signed-off-by: Samuel Just <sjust@redhat.com>
2021-02-20 03:28:12 +00:00
Ali Maredia
cedebc0c8c
Merge pull request #39585 from ivancich/wip-clean-rgw-warnings-1
rgw: clean up some compiler warnings

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2021-02-19 21:44:15 -05:00
Jason Dillaman
c3cc73e327 cmake: libneoradostest-support should be static
Some builds seem to be creating a libneoradostest-support.so dynamic
library instead, which results in unresolved dependencies when installing
ceph-test.

See: https://tracker.ceph.com/issues/38611
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-02-19 21:38:49 -05:00
lixiaoy1
a49d1dbb32 cmake: enable write-back cache in spec
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2021-02-19 20:22:50 -05:00
J. Eric Ivancich
37a811b973 rgw: clean up some compiler warnings
Minimal changes to clean up a few compiler warnings.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2021-02-19 16:28:58 -05:00
Sage Weil
568eb9e3f3 Merge PR #39561 into master
* refs/pull/39561/head:
	qa/valgrind.supp: suppress free[] warnings
	qa/suites: do not use notcmalloc flavor

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-19 13:56:33 -05:00
Sage Weil
dd3f5620f0 mon: fix INCOMPAT_QUINCY ondisk compatset feature bit
This was overlapping with pacific.

Fixes: https://tracker.ceph.com/issues/49143
Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-19 12:52:11 -06:00
Ernesto Puerta
f94988e8ec
Merge pull request #39501 from rhcs-dashboard/fix-tooltip-position
mgr/dashboard: fix tooltip for Provisioned/Total Provisioned fields

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-02-19 18:40:16 +01:00
Patrick Donnelly
4a00f0a716
Merge PR #38763 into master
* refs/pull/38763/head:
	doc/cephfs: improve fs-nfs-exports.rst
	doc/cephfs: improve nfs.rst

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2021-02-19 07:54:32 -08:00
Josh Durgin
38bb80df90
Merge pull request #39575 from zdover23/wip-doc-dev-t8y-intro-remove-upgrade-link-19-Feb-2021
doc/dev: intro: removing ceph-deploy mention

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-02-19 07:17:17 -08:00
Casey Bodley
aece70eb6d
Merge pull request #39569 from yanghonggang/wip-multisite-etag-misidentify
rgw: multisite: fix single-part-MPU object etag misidentify problem

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-02-19 09:51:55 -05:00
Zac Dover
e6596e10b1 doc/dev: intro: removing ceph-deploy mention
This removes a mention of the ceph-deploy manpage.
We also no longer direct people to use horses as
a primary form of transportation.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-02-20 00:36:03 +10:00
weixinwei
2ade17cce1 librbd: memory is not preallocated in rbd c++ read api
Signed-off-by: weixinwei <weixw3@lenovo.com>
2021-02-19 21:40:19 +08:00
Sage Weil
198794a00b Merge PR #39566 into master
* refs/pull/39566/head:
	cmake: build static libs if they are internal ones

Reviewed-by: Sage Weil <sage@redhat.com>
2021-02-19 08:23:57 -05:00
Sebastian Wagner
316b4ad614
Merge pull request #39472 from sebastian-philipp/doc-cephadm-host-labels
doc/orch: Host labels

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-02-19 13:28:51 +01:00
Kefu Chai
1f1a594de2
Merge pull request #39571 from sebastian-philipp/doc-remove-upstart-from-freebsd
doc/install: Remove Upstart from Freebsd deployment

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2021-02-19 19:38:44 +08:00
zdover23
d6cf88fcea
Merge pull request #39546 from zdover23/wip-doc-dev-teuthology-intro-suites-inventory-rewrite-18-Feb-2021
doc/dev: t5logy: rewrite "suites inventory"

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-02-19 21:13:11 +10:00
Sebastian Wagner
16417c18c3 doc/install: Remove Upstart from Freebsd deployment
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-19 11:17:00 +01:00
Kefu Chai
e3defb726f
Merge pull request #39406 from weixinwei/master
os/bluestore/BlueFS: use iterator_impl::copy instead of bufferlist::c_str() to avoid bufferlist rebuild

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2021-02-19 15:40:06 +08:00
Kefu Chai
bdfbdb8910
Merge pull request #39471 from sebastian-philipp/rados-rm-manage-upstart
doc/rados/operations: Remove upstart

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2021-02-19 14:56:17 +08:00
Kefu Chai
edcb5311ea
Merge pull request #39565 from badone/wip-fix-json-calls
test/osd: Use get_data() to simplify calls

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-02-19 14:54:26 +08:00
Yang Honggang
63f989ca2b rgw multisite: fix single-part-MPU object etag misidentify problem
The single-part-MPU object is treated as a Atomic object.
Because its part_size is 0.

As MPU object's start_part_num is not 0 which can be used to
distinguish MPU object and Atomic object.

Fixes: https://tracker.ceph.com/issues/49357
Signed-off-by: Yang Honggang <yanghonggang@kuaishou.com>
2021-02-19 06:07:34 +00:00
lixiaoy1
54e8e46087 librbd/cache/pwl: wait for the completion of reads
Shut down PWL after the read IOs are completed.

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2021-02-19 00:04:57 -05:00
Kefu Chai
df841b241e cmake: build static libs if they are internal ones
there are chances that user or build script set `BUILD_SHARED_LIBS`,
so these convenience libraries (using the autotools' terminology)
are built and linked by never get installed.

Fixes: https://tracker.ceph.com/issues/38611
Fixes: https://tracker.ceph.com/issues/49080
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-19 12:10:15 +08:00
Brad Hubbard
ebb4a82808 test/osd: Use get_data() to simplify calls
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2021-02-19 13:20:58 +10:00
Josh Durgin
0c2164c2ab
Merge pull request #39556 from zdover23/wip-doc-dev-t8y-intro-how-integration-tests-are-run-rewrite-2021-Feb-19
doc/dev: t8y intro: edit "how to run int. tests"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-02-18 12:27:29 -08:00
Josh Durgin
045628a491
Merge pull request #39554 from zdover23/wip-doc-dev-t7gy-intro-testing-priority-n-2021-Feb-19
doc/dev: t7gy s/Priority/N/

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-02-18 12:19:42 -08:00
Harish Munjulur
0b039c24e0
Merge pull request #39293 from mcv21/rgw-admin-error-message
rgw/radosgw-admin clarify error when email address already in use
2021-02-18 08:37:54 -10:00