Commit Graph

117001 Commits

Author SHA1 Message Date
Kefu Chai
d9f820c247
Merge pull request #38192 from rzarzynski/wip-crimson-backfill-improve-debugs
crimson: improve debugs in the backfill code

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-20 09:19:21 +08:00
Kefu Chai
fc9b8686ca
Merge pull request #38191 from rzarzynski/wip-crimson-fix-typo-in-errorator
crimson: fix a typo in errorator-related comment.

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-20 09:18:34 +08:00
Kefu Chai
060016904d
Merge pull request #38197 from dillaman/wip-github-rbd-label
github/labeler: add rbd label to pybind/mgr/rbd_support

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-20 09:17:31 +08:00
Kefu Chai
5dec5c7a7f
Merge pull request #38153 from tchaikov/wip-cmake-silence-warning
cmake: set advice.detachedHead=false when cloning liburing

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-20 09:14:08 +08:00
Kefu Chai
ed15ed5196
Merge pull request #38169 from ktdreyer/cephadm-noarch
rpm: cephadm package is noarch

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-20 09:10:40 +08:00
Kefu Chai
b472281184
Merge pull request #38183 from tchaikov/wip-doc-peering-diagram
doc: build peering state diagram using sphinx

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-11-20 08:59:29 +08:00
Jason Dillaman
2f5f16a041
Merge pull request #33750 from petrutlucian94/windows.10
rbd: add Windows RBD support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-11-19 18:47:22 -05:00
Jason Dillaman
365cb2f9ee github/labeler: add rbd label to pybind/mgr/rbd_support
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-11-19 16:13:28 -05:00
Jan Fajerski
969010da7e Merge PR #38147 into master
* refs/pull/38147/head:
	ceph-volume: cover devices.lvm.prepare.setup_device
	ceph-volume: fix filestore/dmcrypt activate

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
2020-11-19 22:09:55 +01:00
Radoslaw Zarzynski
6403cef750 crimson: fix a debug in BackfillState::Enqueuing::Enqueuing.
Printed messages were messed up due to the erroneous comma.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-11-19 17:55:31 +01:00
Radoslaw Zarzynski
dd91fc1285 crimson: add a debug in update_on_peers() of the backfill code.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-11-19 17:55:31 +01:00
Radoslaw Zarzynski
08b9f03800 crimson: fix a typo in errorator-related comment.
It was introduced in dca575992b.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-11-19 17:50:57 +01:00
Adam C. Emerson
e5b74af4b5
Merge pull request #37586 from cbodley/wip-rgw-bilog-layout
rgw: add bucket index log layout structure

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2020-11-19 10:56:43 -05:00
Casey Bodley
aaf644daa9
Merge pull request #37914 from IlsooByun/rgw_invalid_resp
rgw: fix invalid payload issue when serving s3website error page

Reviewed-by: Or Friedmann <ofriedma@redhat.com>
2020-11-19 10:23:22 -05:00
Jason Dillaman
e60ff50052
Merge pull request #38182 from orozery/librbd-crypto-image-dispatch-fixes
librbd: fix crypto prepare_copyup to use new remap_extents api

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-11-19 10:01:17 -05:00
Guillaume Abrioux
9e2a0a3edd ceph-volume: cover devices.lvm.prepare.setup_device
Add some unit tests to cover setup_device() in devices.lvm.prepare

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-11-19 15:46:25 +01:00
Guillaume Abrioux
ee3aece808 ceph-volume: fix filestore/dmcrypt activate
The uuid set for tags['ceph.journal_uuid'] should point to its
corresponding lv_uuid instead of the uuid generated for the lv_name.

The variable name 'uuid' used so far was probably too confusing so let's
change it to make it more clear.

Closes: https://tracker.ceph.com/issues/48271

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-11-19 15:45:50 +01:00
Kefu Chai
4d4983dc0a doc/script/gen_state_diagram: wrap lines which is over 80 chars
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-19 21:05:14 +08:00
Kefu Chai
ac1f3fa4b3 doc/script/gen_state_diagram: use itertools.cycle() for cycling in colors
for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-19 21:05:14 +08:00
Ernesto Puerta
dc42564807
Merge pull request #38158 from rhcs-dashboard/fix-labeler-master
github/labeler: disable sync-labels

Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: neha-ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-19 12:33:09 +01:00
Kefu Chai
3c0bc49875 doc: pass graphviz options in conf.py
easier to maintain the options of sphinx extensions in a single place.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-19 17:00:29 +08:00
Kefu Chai
cc5864234e doc: generate peering graph in conf.py
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-19 17:00:29 +08:00
Kefu Chai
a14b2b42be doc/script/gen_state_diagram: add "output" parameter to emit_dot()
this allows us to reuse this python script as a module.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-19 17:00:29 +08:00
Kefu Chai
e9af59a50e doc/script/gen_state_diagram: only run if called as a script
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-19 17:00:29 +08:00
Kefu Chai
ba99f56f52
Merge pull request #38146 from ljishen/peering_state_model
doc: increase visibility of the peering state diagram

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-19 16:09:14 +08:00
Or Ozeri
bb987178c1 librbd: fix crypto prepare_copyup to use new remap_extents api
This commit changes the crypto prepare_copyup implementation to correctly
translate object extents to image extents, via the remap_extents api.
Additionally, we fix relevant unit tests that call this api to correctly expect these calls.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2020-11-19 10:03:54 +02:00
Jianshen Liu
909bfa34e6 doc: increase visibility of the peering state diagram
Signed-off-by: Jianshen Liu <jliu120@ucsc.edu>
2020-11-18 21:26:54 -07:00
Kefu Chai
f9c6629062
Merge pull request #38001 from badone/wip-powertools-repo-name-change
install-deps.sh: Make powertools repo case insensitive

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-19 12:12:08 +08:00
Neha Ojha
a24f40bb8d
Merge pull request #38172 from zdover23/wip-doc-dev-unit-test-list-update
doc/dev: update list in unit test section

Reviewed-By: Nathan Cutler <ncutler@suse.com>
2020-11-18 15:50:01 -08:00
Jason Dillaman
eb733e9411
Merge pull request #38114 from orozery/librbd-crypto-prepare-copyup
librbd: add encryption support for copyup

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-11-18 17:55:16 -05:00
Jason Dillaman
be72ffdfec
Merge pull request #37935 from orozery/librbd-image-address-remap
librbd: add crypto image dispatch layer

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-11-18 17:55:00 -05:00
Neha Ojha
becb9b6db2
Merge pull request #38133 from zdover23/wip-doc-dev-unit-tests-1-of-7
doc/dev: update unit test 1 of 7

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-18 12:19:42 -08:00
Neha Ojha
42c599bd1f
Merge pull request #38134 from zdover23/wip-doc-dev-unit-tests-2-of-7
doc/dev: update unit tests 2 of 7

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-18 12:18:55 -08:00
Patrick Donnelly
50a2c7ead0
Merge PR #38126 into master
* refs/pull/38126/head:
	doc/cephfs/health-messages: add dot between mds identifier and it's name

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-18 12:15:22 -08:00
Neha Ojha
020cd51d00
Merge pull request #38174 from neha-ojha/wip-fix-label
.github/labeler.yml: fix bluestore rule, add label for tests and classify core tests 

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-18 12:12:00 -08:00
pcuzner
9ba45ee661
Merge pull request #37607 from pcuzner/docs-cephadm-host-maintenance
doc/dev/cephadm: Doc defining the design for host maintenance
2020-11-19 09:03:19 +13:00
Or Ozeri
3c11d5a2eb librbd: add encryption support for copyup
This commit implements the prepare_copyup api by the crypto object dispatch layer.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2020-11-18 21:08:30 +02:00
Neha Ojha
0dfcba1969 .github/labeler.yml: add label for tests and classify core tests
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-11-18 18:42:23 +00:00
Neha Ojha
2e99863077 .github/labeler.yml: fix bluestore rule
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-11-18 18:32:31 +00:00
Zac Dover
491a2fa8dc doc/dev: update list in unit test section
This commit removes an unwanted extra
nested list layer from a list.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-11-19 03:35:19 +10:00
zdover23
ff5f9e155e
Merge pull request #38150 from zdover23/wip-doc-dev-unit-tests-3-of-7
doc/dev: update unit test declaration

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-11-19 03:16:44 +10:00
David Zafman
89af82bf4f
Merge pull request #38054 from dzafman/wip-test-fixes
test: Fix osd-scrub-test.sh and ver-health.sh tests

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-18 08:52:28 -08:00
Ken Dreyer
d73134660e rpm: cephadm package is noarch
The cephadm package contains an architecture-independent Python script,
empty directories, and an empty authorized_keys file. There are no
architecture-dependent files here, so we can use a single noarch RPM
across all host architectures.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2020-11-18 09:21:27 -07:00
rakeshgm
672c4844ef
Merge pull request #38132 from ceph/rhel_8_distros
qa/distros: add RHEL 8.3 and use RHEL 8.3 as default
2020-11-18 21:39:25 +05:30
Patrick Donnelly
cfabba6668
Merge PR #34552 into master
* refs/pull/34552/head:
	tests: add snap schedule tests
	snap-schedule: reject invalid retention specs
	mgr/snap_schedule: log snapshot name on creation
	pybind / snap_schedule: sanely dump schedules and retention specs
	pybind/snap_schedule: config option to allow minute granularity snaps
	pybind / snap_schedule: remove 'SNAP_SCHED_TESTING' check

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-18 07:54:15 -08:00
Neha Ojha
1523bf9bdb
Merge pull request #38107 from ceph/wip-mgr-progress-fix-48217
qa/mgr/test_progress: add _get_osd_in_out_events to account for osd marked in/out events

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-18 07:15:22 -08:00
Zac Dover
0dd7b26fb3 doc/dev: update unit test declaration
This commit updates the text in the "How
Unit Tests Are Declared" section of
tests-unit-tests.rst. This commit breaks
long sentences into shorter sentences and
breaks a sentence into a bulleted list that
might reduce the reader's cognitive load.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-11-19 01:13:37 +10:00
Lucian Petrut
fbed349232 common: add trailing newline before parsing cfg
Ceph fails to parse config files that lack a trailing newline.
This mainly affects Windows, where text editors won't add one by
default.

This issue has been addressed by a previous commit [1] but that
code path is no longer reached [2][3], so we need to go down a level.

[1] 3b590314ac
[2] http://paste.openstack.org/raw/800153/
[3] e7dcc403b2

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2020-11-18 13:35:41 +00:00
Kefu Chai
fc2c5bab55
Merge pull request #38129 from jan--f/add-ceph-volume-autolabel
github: add ceph-volume autolabel

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-18 21:21:51 +08:00
Ernesto Puerta
59702b6198
github/labeler: disable sync-labels
Yaml syntax cleaned too.

Fixes: https://github.com/ceph/ceph/pull/38107#issuecomment-729300615
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-11-18 13:15:41 +01:00