Commit Graph

108400 Commits

Author SHA1 Message Date
Sage Weil
91a90d5763 Merge PR #33518 into master
* refs/pull/33518/head:
	doc/foundation: add Samsung

Reviewed-by: Myougnwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Myoungwon Oh <omwmw@sk.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-27 12:58:14 -06:00
Sebastian Wagner
424e3b2773
Merge pull request #33044 from jschmid1/drive_group_docs
doc/drivegroups: add docs for DriveGroups with excessive examples

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
2020-02-27 19:57:37 +01:00
Casey Bodley
f5f14e91af
Merge pull request #33218 from yuvalif/add_cls_queue_ut
cls/queue: add unit tests

Reviewed-by: Pritha Srivastava <prsivas@redhat.com>
2020-02-27 12:53:03 -05:00
Mykola Golub
6fc2eab9af
Merge pull request #33561 from dillaman/wip-44249
doc/rbd: document the new snapshot-based mirroring feature

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-02-27 18:27:14 +02:00
Mykola Golub
f1c7155713
Merge pull request #33490 from dillaman/wip-43934
rbd-mirror: add support for snapshot-based mirroring resyncs

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-02-27 18:26:41 +02:00
Sage Weil
9fb5f423ad Merge PR #33574 into master
* refs/pull/33574/head:
	doc/mgr/orchestrator: Add CephFS
	doc/mgr/orchestrator: Add documentation for plcement specs
	doc/mgr: Reordering

Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-27 10:24:46 -06:00
Sage Weil
069f78b42b Merge PR #33577 into master
* refs/pull/33577/head:
	doc: Add sphinx_autodoc_typehints extension

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-27 09:35:02 -06:00
Lenz Grimmer
43b4636952
Merge pull request #33555 from LenzGr/master-documentation
doc: Add Dashboard Octopus release notes

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-02-27 14:57:54 +00:00
Jason Dillaman
04ab492d43 rbd-mirror: no need to perform extra image-meta filtering for image-state
The image-state now only stores non RBD-internal image-meta keys and only
non RBD-internal image-meta keys are returned from the image-meta helper
state machine.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 08:22:58 -05:00
Jason Dillaman
ae2b13fe7f librbd: snapshot image-state should use get image-meta state machine
This commit was accidentally dropped from commit bcbdd6cf69 when all
existing logic was updated to use the new helper state machine.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 08:22:58 -05:00
Jason Dillaman
f523d7059c librbd: optionally filter internal image-meta when copying/cloning
Any ".rbd"-prefixed image-meta keys will be considered RBD-internal and
will not be added to the new image when copied/cloned.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 08:22:58 -05:00
Jason Dillaman
281a64acf9 librbd: remove snapshot mirror image-meta when disabling
Remove the snapshot-based mirroring image-meta key/value pair
(if any) when disabling mirroring.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 08:22:58 -05:00
Jason Dillaman
86d39fb9ee rbd-mirror: support resync request for snapshot-based mirroring
When a local image has the resync requested image-meta property, the
snapshot replayer will stop and initiate the resync request.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 08:22:58 -05:00
Jason Dillaman
fc073c54a1 rbd-mirror: register for local image updates in snapshot replayer
The snapshot replayer will need to watch for local forced-promotion
events and also resync requests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 08:22:57 -05:00
Kefu Chai
badebe7477
Merge pull request #32937 from rzarzynski/wip-bl-carry-_carriage
common/bl: carry the bufferlist::_carriage over std::moves

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-27 20:41:43 +08:00
Kefu Chai
8e65d1fd41
Merge pull request #32515 from majianpeng/osd-remove-unused-func3
osd: remove unused functions

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-27 20:39:54 +08:00
Sebastian Wagner
30d415974c doc: Add sphinx_autodoc_typehints extension
`mgr/orchestrator_modules.rst` makes heavy use type hints.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-27 13:16:00 +01:00
Sebastian Wagner
3d782a0e86 doc/mgr/orchestrator: Add CephFS
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-27 12:40:48 +01:00
Sebastian Wagner
4e15f03a63 doc/mgr/orchestrator: Add documentation for plcement specs
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-27 12:40:48 +01:00
Sebastian Wagner
e59eae1c96 doc/mgr: Reordering
* Moved *Configuring the Orchestrator CLI*
* Updated the definitions

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-27 12:40:48 +01:00
Laura Paduano
53febd478d
Merge pull request #33573 from votdev/fix_mypy_issue
mgr/dashboard: make check mypy failure

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-02-27 11:30:06 +01:00
Volker Theile
cf37ffd02b mgr/dashboard: make check mypy failure
Fixes: https://tracker.ceph.com/issues/44319

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-02-27 11:02:11 +01:00
Jan Fajerski
2242f1307f
Merge pull request #33079 from jan--f/c-v-scan-dmcrypt-osds
ceph-volume: strip _dmcrypt suffix in simple scan json output
2020-02-27 10:00:26 +01:00
Kefu Chai
fdb4725093
Merge pull request #33562 from dillaman/wip-fix-doc-builds
Revert "doc: do not add suffix for search result links"

Reviewed-by:  Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-27 16:32:27 +08:00
Lenz Grimmer
66ea644418
Merge pull request #32953 from votdev/issue_43665_smart_data
mgr/dashboard: smart: smart data read out on down osd causes error popup

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-02-27 08:23:17 +00:00
Patrick Donnelly
9df18d944d
Merge PR #33547 into master
* refs/pull/33547/head:
	mgr/volumes: unregister job upon async threads exception

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-26 20:37:37 -08:00
Venky Shankar
46476ef2e2 mgr/volumes: unregister job upon async threads exception
If the async threads hit a temporary exception the job is
never unregistered and therefore gets skipped by the async
threads on subsequent scans.

Patrick hit this in nautilus when one of the purge threads
hit an exception when trying to log a message. The trash
entry was never picked up again by the purge threads.

Fixes: http://tracker.ceph.com/issues/44293
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-02-26 23:34:31 -05:00
Sage Weil
f83f38a26e Merge PR #33552 into master
* refs/pull/33552/head:
	mgr/dashboard: Enhance user create CLI command to force password change

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-02-26 17:13:02 -06:00
Sage Weil
1b51e5e9b0 Merge PR #33550 into master
* refs/pull/33550/head:
	rpm,deb: poke Python OpenSSL dependencies
	mgr: outsource creation of self-signed certificates

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-26 17:12:31 -06:00
Sage Weil
cb39b57004 Merge PR #33517 into master
* refs/pull/33517/head:
	cephadm: bootstrap: nag about telemetry

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-26 17:12:20 -06:00
Sage Weil
2627512fb4 Merge PR #33519 into master
* refs/pull/33519/head:
	cephadm: shell: make a root home dir (/root) in /var/log/ceph/$fsid/home

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-26 17:11:26 -06:00
Sage Weil
ffaa19ac4c Merge PR #33544 into master
* refs/pull/33544/head:
	qa/workunits/cephadm/test_cephadm.sh: remove image param non-ceph tests
	qa/workunits/cephadm/test_cephadm.sh: consolidate wait loop logic

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-26 17:11:11 -06:00
Joshua Schmid
044b400f23 doc/drivegroups: add initial write-up
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-02-26 22:53:15 +01:00
Jason Dillaman
6c9c8d6a92 doc/rbd: document the new snapshot-based mirroring feature
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-02-26 15:48:30 -05:00
Jason Dillaman
26e7cad290 Revert "doc: do not add suffix for search result links"
This reverts commit 88d6d499e0.

All doc builds are currently broken due to this change since
the HTML files are written without the necessary ".html"
extension.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-02-26 15:18:24 -05:00
Sage Weil
4b40899ec3 cephadm: shell: make a root home dir (/root) in /var/log/ceph/$fsid/home
This makes the shell much more friendly to humans.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-26 10:53:38 -06:00
Sage Weil
aa0296d286 Merge PR #33551 into master
* refs/pull/33551/head:
	doc/cephadm: Rephrased introduction sentence
	doc/cephadm: Rename section titles and fix introductions
	doc/cephadm: Add CLI and OS recommendations to TOC
	doc: move cephadm mgr doc to /doc/cephadm
	doc: move bootstrap.rst to cephadm

Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-26 09:41:02 -06:00
anurag rakesh bandhu
5cc0b204be
Merge pull request #33321 from rhcs-dashboard/43801-purge-button
mgr/dashboard: Fixes rbd image 'purge trash' button & modal text
2020-02-26 20:36:19 +05:30
Volker Theile
f1f7df3d33 mgr/dashboard: Enhance user create CLI command to force password change
Fixes: https://tracker.ceph.com/issues/44301

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-02-26 15:50:53 +01:00
Patrick Seidensal
c0c7f7dacc rpm,deb: poke Python OpenSSL dependencies
to ceph-mgr-modules-core package.

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

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-02-26 15:48:57 +01:00
Patrick Seidensal
792af9f743 mgr: outsource creation of self-signed certificates
Remove duplicated code from mgr/cephadm and mgr/dashboard and move it to
`mgr_util.py`.

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

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-02-26 15:48:57 +01:00
Casey Bodley
92703f39af
Merge pull request #33537 from cbodley/wip-test-rgw-common-commit
test/rgw: fixes for test-rgw-multisite.sh

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2020-02-26 09:46:49 -05:00
Yuval Lifshitz
1169cd014b cls/queue: add multithreaded unit tests
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2020-02-26 16:44:41 +02:00
Alexandra Settle
00753e45c6 doc/cephadm: Rephrased introduction sentence
Signed-off-by: Alexandra Settle <asettle@suse.com>
2020-02-26 15:39:20 +01:00
Sebastian Wagner
4ab4e6b3d8
Merge pull request #33463 from sebastian-philipp/cephadm-workerpool-10
mgr/cephadm: set thread pool size to 10

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-26 15:37:45 +01:00
Patrick Donnelly
a7d273cef7
Merge PR #31200 into master
* refs/pull/31200/head:
	qa/cephfs: test case for auto reconnect after blacklisted

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-26 06:26:13 -08:00
Lenz Grimmer
b200d22988 doc: Add Dashboard Octopus release notes
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2020-02-26 15:22:35 +01:00
anurag
803a0e2599 mgr/dashboard: Fixes rbd image 'purge trash' button & modal text
Fixes: https://tracker.ceph.com/issues/43801
Signed-off-by: anurag <abandhu@redhat.com>
2020-02-26 19:07:15 +05:30
Jan Fajerski
cb07c0464f
Merge pull request #33478 from yehudasa/wip-44246
ceph-volume: lvm: get_device_vgs() filter by provided prefix
2020-02-26 14:30:23 +01:00
Yuval Lifshitz
cd7fb56d75 cls/queue: add unit tests
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2020-02-26 15:22:58 +02:00