1
0
mirror of https://github.com/ceph/ceph synced 2025-03-19 00:45:00 +00:00
Commit Graph

120869 Commits

Author SHA1 Message Date
Kefu Chai
cf816cfdbe doc/dev: specify lexer of pygment
for better rendering result

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-16 20:22:12 +08:00
Kefu Chai
cb32dc8027 doc/dev: start list after an empty line
otherwise sphinx takes it as a definition list

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-16 20:22:12 +08:00
Kefu Chai
8d0080eef6 doc/dev: update to adapt the cmake+ninja transition
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-16 20:22:12 +08:00
Kefu Chai
b9f2101afd doc/dev: use ditaa to render diagram
for better reading experience.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-14 20:19:02 +08:00
Kefu Chai
88dcf7f338 doc/_themes: remove the spacing in "dl dt"
see
https://docs.ceph.com/en/latest/dev/developer_guide/running-tests-locally/#internal-working-of-vstart-runner-py

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-14 20:19:02 +08:00
Kefu Chai
752cbbe936 doc/dev: drop unnecessary ::
`.. prompt::` is enough, no need to add '::'

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-14 20:19:02 +08:00
Sage Weil
6a19e30318 Merge PR into master
* refs/pull/40042/head:
	qa/suites/rados/cephadm: add back centos+rhel with kubic podman

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-03-13 10:40:55 -05:00
Josh Durgin
fe838fcb2c
Merge pull request from tchaikov/wip-doc-mgr
doc/mgr: fix formatting

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-03-12 15:48:10 -08:00
Josh Durgin
369c10fdcf
Merge pull request from ceph/wip-1427-notes
doc: 14.2.17 Release Notes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2021-03-12 15:35:19 -08:00
Sage Weil
869f314239 Merge PR into master
* refs/pull/40045/head:
	cephadm: use image id, not name, when inspecting for RepoDigests

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-03-12 15:09:15 -05:00
Kefu Chai
5696e0e164
Merge pull request from tchaikov/wip-rpm-no-rbd-rwl-on-el8
ceph.spec: build with system libpmem on fedora and el8

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-03-13 01:56:19 +08:00
Mykola Golub
e7c6384bf3
Merge pull request from dillaman/wip-49690
librbd/io: send alloc_hint when compression hint is set

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-03-12 19:50:04 +02:00
David Zafman
8bc0719ac1
Merge pull request from dzafman/wip-48843
osd: Try other PGs when reservation failures occur

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-03-12 09:20:51 -08:00
Sage Weil
5b117af263 Merge PR into master
* refs/pull/40046/head:
	qa/suites/rados/cephadm/upgrade: deploy a legacy r.z-style rgw

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-03-12 11:18:48 -05:00
Mykola Golub
9f46890e33
Merge pull request from dillaman/wip-49716
librbd: allow interrupted trash move request to be restarted

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-03-12 17:17:32 +02:00
Kefu Chai
75b58115ea ceph.spec: build with system libpmem on fedora and el8
* build with WITH_SYSTEM_PMDK=ON on fedora, as f32 and f33 ship
  libpmem1.8 and libpmem1.9 respectively. and we need libpmem v1.7
* build with WITH_SYSTEM_PMDK=ON on el8, as el8 and CentOS8 AppStream
  ships libpmem v1.6,

quote from nvml.spec:

> By design, PMDK does not support any 32-bit architecture.
> Due to dependency on some inline assembly, PMDK can be compiled only
> on these architectures:
> - x86_64
> - ppc64le (experimental)
> - aarch64 (unmaintained, supporting hardware doesn't exist?)

so far, only x86_64 and ppc64le packages are built.

see also,
https://src.fedoraproject.org/rpms/nvml/blob/rawhide/f/nvml.spec

this change addresses a regression introduced by
a49d1dbb32

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-12 23:04:11 +08:00
Kefu Chai
6d625d6c7c
Merge pull request from tchaikov/wip-readme-ninja
README.md: correct notes on `-j` option

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-03-12 22:22:37 +08:00
Kefu Chai
1fab195e91 README.md: correct notes on -j option
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-12 22:18:10 +08:00
Kefu Chai
7bda7356ca
Merge pull request from tchaikov/wip-49726
Revert "osd: avoid two copy with same src cancel each other"

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-03-12 21:36:59 +08:00
Venky Shankar
fcdc229175
Merge pull request from vshankar/wip-cephfs-mirror-symlink-overrun
cephfs-mirror: fix possible incorrect symbolic link synchronization
2021-03-12 18:20:24 +05:30
Kefu Chai
ecc8c43f0b
Merge pull request from aclamk/wip-bs-alloc-check
os/bluestore: add asserts for allocator regions

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2021-03-12 20:31:56 +08:00
Kefu Chai
8089ba61db
Merge pull request from myoungwon/wip-fix-missing-snap-manifest
osd: fix missing adjacent snaps when handling manifest object

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-03-12 20:26:01 +08:00
Kefu Chai
3ba59e93e0
Merge pull request from tchaikov/wip-mgr-localpool-ann
mgr/localpool: add type annotations

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-03-12 20:09:21 +08:00
Kefu Chai
cd7870d1aa
Merge pull request from Rishabh4275/master
os/bluestore: Fix zoned code location in _do_truncate

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2021-03-12 20:03:04 +08:00
Kefu Chai
d350bd05b7
Merge pull request from tchaikov/wip-byteorder-endian
include/byteorder: drop init_le*() helpers

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2021-03-12 20:02:30 +08:00
Kefu Chai
848bae1f83
Merge pull request from tchaikov/wip-rwlock
src/: do not include RWLock.h unless RWLock is used

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-03-12 20:00:57 +08:00
Sebastian Wagner
beb151eb62
Merge pull request from sebastian-philipp/drive-group-validate-data-devices-none
python-common: Verify data_devices is not None

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-03-12 12:40:40 +01:00
Sebastian Wagner
515feee667
Merge pull request from adk3798/dup-labels
mgr/cephadm: remove duplicate labels when adding a host

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-12 12:04:54 +01:00
Venky Shankar
cecc3a6982 test: add symbolic link synchronization test for cephfs-mirror
Fixes: http://tracker.ceph.com/issues/49711
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-03-12 03:53:42 -05:00
Venky Shankar
30f2066cfd cephfs-mirror: null terminate buffer before synchronizing symbolc link
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-03-12 03:52:59 -05:00
Kefu Chai
6c5ab5df08 osd: Revert "osd: avoid two copy with same src cancel each other"
This reverts commit 617f7114e2.

Fixes: https://tracker.ceph.com/issues/49726
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-12 15:39:21 +08:00
Kefu Chai
ba56112835
Merge pull request from rishabh-d-dave/readme-update
README.md: replace "make" with "ninja"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-12 12:36:06 +08:00
Rishabh Dave
65ba380251 README.md: replace "make" by "ninja"
Update README.md since ninja is the default generator now.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2021-03-12 09:55:52 +05:30
Jason Dillaman
b52b5fe06d librbd/io: send alloc_hint when compression hint is set
Previously the hint would not be set if the object map indicated the
object may exist.

Fixes: https://tracker.ceph.com/issues/49690
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-03-11 19:44:15 -05:00
Sage Weil
1d590a07a2 Merge PR into master
* refs/pull/40034/head:
	qa/suites/rados/cephadm/upgrade: start at 15.2.9 to test iscsi upgrade
	qa/tasks/cephadm.py: don't set mgr count to +1

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-03-11 18:52:03 -05:00
David Galloway
ec5044394c doc: 14.2.17 Release Notes
Signed-off-by: David Galloway <dgallowa@redhat.com>
2021-03-11 17:07:54 -05:00
Sage Weil
f6e802a0d8 cephadm: use image id, not name, when inspecting for RepoDigests
The name is ambiguous, but the image_id is not!  This fixes problems
during upgrade where upgrade thinks the container is upgraded (due to
an incorrect digest) when in fact it is not.

Fixes: 0826c45e0c

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-11 17:00:20 -05:00
Sage Weil
6ccc3d83c0 qa/suites/rados/cephadm/upgrade: start at 15.2.9 to test iscsi upgrade
Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-11 16:13:46 -05:00
Sage Weil
dbdd4d46e3 qa/suites/rados/cephadm: add back centos+rhel with kubic podman
Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-11 13:46:23 -06:00
Sage Weil
0a139c1ffc qa/tasks/cephadm.py: don't set mgr count to +1
Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-11 14:16:15 -05:00
Neha Ojha
4018d3f8d0
Merge pull request from neha-ojha/wip-cc-weight
pybind/mgr/balancer/module.py: assign weight-sets to all buckets before balancing

Reviewed-by: David Zafman <dzafman@redhat.com>
2021-03-11 11:09:00 -08:00
Patrick Donnelly
87d3e17987
Merge PR into master
* refs/pull/39845/head:
	doc: clarify mirror daemon user capability requirements
	doc: doc changes for additional mirroring interfaces
	pybind/mirroring: add interface to list file system mirror peers
	pybind/mirroring: set libcephfs handle root uid/gid as 0:0
	test: add tests for mirroring bootstrap interfaces
	pybind/mirroring: introduce peer_bootstrap {create|import} commands
	cephfs-mirror: use peer cluster monitor address (and key) if available
	mon: peer_add should accept Ceph file system UUID
	mon: introduce "profile cephfs-mirror" cap constrained to "config-get cephfs/mirror/peer"
	test: add test for failed filesystem mirror instances
	cephfs-mirror: restart failed mirror filesystem instances

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-11 09:34:53 -08:00
Patrick Donnelly
b7f8c681d2
Merge PR into master
* refs/pull/39671/head:
	doc: snap-schedule documentation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-03-11 09:23:20 -08:00
Kefu Chai
cdbc1a9f22 doc/mgr: fix formatting
a code block should start with "::".

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-12 00:32:45 +08:00
Jason Dillaman
138d71fb06 rbd: clarify trash remove error code from interrupted move
Fixes: https://tracker.ceph.com/issues/49716
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-03-11 10:48:05 -05:00
Jason Dillaman
f6ed98d682 librbd/trash: don't return -ENOENT error from move state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-03-11 10:48:05 -05:00
Jason Dillaman
c808abea64 librbd/api: trash remove/purge should indicate interrupted move
This will help the user self-diagnose that a trash move operation
was interrupted and therefore the state is invalid.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-03-11 10:48:04 -05:00
Mykola Golub
14f6007dd7
Merge pull request from dillaman/wip-qa-rbd-rwl-ssd
qa/suites/rbd: added SSD PWL cache mode to tests

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-03-11 15:59:33 +02:00
Sebastian Wagner
f744878d82
Merge pull request from zdover23/wip-doc-cephadm-adoption-overview-and-limitations-rewrite-2021-Mar-06
doc/cephadm: rewrite part of adoption.rst

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-11 12:19:37 +01:00
Sebastian Wagner
543fc00951
Merge pull request from mgfritch/cephadm-nfsv3-deprecate
doc/cephadm: add note about deprecation of NFSv3

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-11 12:06:20 +01:00