Guillaume Abrioux
02e6f33f08
ceph-volume: fix test_setup_device_device_name_is_none
...
Let's call this function by using the same syntax than other tests.
This will make it work with py2 in nautilus branch.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-11-20 11:46:51 +01:00
jhonxue
23cdcb1b47
test/objectstore: handle -ENOSPC returned by allocate()
...
Fixes: https://tracker.ceph.com/issues/48288
Signed-off-by: Xue Yantao <jhonxue@tencent.com>
2020-11-20 17:29:57 +08:00
Anthony D'Atri
84757fc202
doc/rados/troubleshooting: description of upgrade procedure - stopping/starting OSDs
...
Fixes: https://tracker.ceph.com/issues/14730
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-11-19 23:39:42 -08:00
Anthony D'Atri
3e2e3e3735
doc/rados/operations: Add description of new auth profiles
2020-11-19 23:34:32 -08:00
Anthony D'Atri
4aa98df043
doc/dev/developer_guide: "What Is Merged and When?" could be less colloquial
...
Fixes: https://tracker.ceph.com/issues/46364
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-11-19 23:12:02 -08:00
Anthony D'Atri
73435185a3
doc/dev/developer_guide: verb disagreement on "Testing: Unit Tests" page
...
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
Fixes: https://tracker.ceph.com/issues/46367
2020-11-19 23:08:23 -08:00
Anthony D'Atri
9c67b80495
doc/mgr: Fix msgr2 TCP port in a couple of examples
...
Fixes: https://tracker.ceph.com/issues/47976
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-11-19 22:58:10 -08:00
Anthony D'Atri
154d05fe11
doc: object -> file -> disk is wrong for bluestore
...
Address tracker 23443
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
doc: object -> file -> disk is wrong for bluestore
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-11-19 22:43:59 -08:00
Kefu Chai
a74f8de1c3
mgr/dashboard: use http://docs.ceph.com/en/${release}/ for the domain of the docs
...
* use the URL of RTD, where the locale is encoded in it.
* s/http/https/
* add test accordingly
Fixes: https://tracker.ceph.com/issues/48012
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-20 10:31:07 +08:00
Kefu Chai
9863aa99a8
Merge pull request #38179 from tchaikov/wip-github-labeler-manpage
...
github/labeler: label manpages changes with related component labels
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-11-20 09:21:34 +08:00
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
21c8ccc3f5
github/labeler: label manpages changes with related component labels
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-20 09:04:32 +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
Xiubo Li
9084e6bbd2
rbd: drop initd-based systems for rbdmap
...
Ceph versions jewel and above only support systemd.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-11-20 08:58:11 +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
Jason Dillaman
c0069b00e4
pybind/mgr/rbd_support: delay creation of progress event
...
Create the progress module event upon receipt of the first
progress callback from the librbd API. This will help to ensure
that all prereqs have been validated for retryable errors like
scheduling an image to be removed while it still has attached
cloned children.
Fixes: https://tracker.ceph.com/issues/48296
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-11-19 16:09:22 -05:00
Jason Dillaman
66ddfee859
pybind/mgr/rbd_support: include retryable error message in task
...
If a retryable error occurs, include the reason message in the
task JSON structure that is exposed via the "rbd task list"
MGR command.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-11-19 16:09:22 -05:00
Jason Dillaman
b8a4685cf9
pybind/mgr/rbd_support: add linear backoff to retried tasks
...
When a task fails but will be retried, linearly increase the
delay for the next retry up to a maximum of 5 minutes.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-11-19 15:25:52 -05: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