]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoMerge pull request #33044 from jschmid1/drive_group_docs
Sebastian Wagner [Thu, 27 Feb 2020 18:57:37 +0000 (19:57 +0100)]
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>
5 years agoMerge pull request #33218 from yuvalif/add_cls_queue_ut
Casey Bodley [Thu, 27 Feb 2020 17:53:03 +0000 (12:53 -0500)]
Merge pull request #33218 from yuvalif/add_cls_queue_ut

cls/queue: add unit tests

Reviewed-by: Pritha Srivastava <prsivas@redhat.com>
5 years agoMerge pull request #33561 from dillaman/wip-44249
Mykola Golub [Thu, 27 Feb 2020 16:27:14 +0000 (18:27 +0200)]
Merge pull request #33561 from dillaman/wip-44249

doc/rbd: document the new snapshot-based mirroring feature

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #33490 from dillaman/wip-43934
Mykola Golub [Thu, 27 Feb 2020 16:26:41 +0000 (18:26 +0200)]
Merge pull request #33490 from dillaman/wip-43934

rbd-mirror: add support for snapshot-based mirroring resyncs

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge PR #33574 into master
Sage Weil [Thu, 27 Feb 2020 16:24:46 +0000 (10:24 -0600)]
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>
5 years agoMerge PR #33577 into master
Sage Weil [Thu, 27 Feb 2020 15:35:02 +0000 (09:35 -0600)]
Merge PR #33577 into master

* refs/pull/33577/head:
doc: Add sphinx_autodoc_typehints extension

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #33555 from LenzGr/master-documentation
Lenz Grimmer [Thu, 27 Feb 2020 14:57:54 +0000 (14:57 +0000)]
Merge pull request #33555 from LenzGr/master-documentation

doc: Add Dashboard Octopus release notes

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agorbd-mirror: no need to perform extra image-meta filtering for image-state 33490/head
Jason Dillaman [Tue, 25 Feb 2020 14:31:13 +0000 (09:31 -0500)]
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>
5 years agolibrbd: snapshot image-state should use get image-meta state machine
Jason Dillaman [Tue, 25 Feb 2020 14:00:44 +0000 (09:00 -0500)]
librbd: snapshot image-state should use get image-meta state machine

This commit was accidentally dropped from commit bcbdd6cf698 when all
existing logic was updated to use the new helper state machine.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: optionally filter internal image-meta when copying/cloning
Jason Dillaman [Tue, 25 Feb 2020 13:54:37 +0000 (08:54 -0500)]
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>
5 years agolibrbd: remove snapshot mirror image-meta when disabling
Jason Dillaman [Mon, 24 Feb 2020 22:33:51 +0000 (17:33 -0500)]
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>
5 years agorbd-mirror: support resync request for snapshot-based mirroring
Jason Dillaman [Sat, 22 Feb 2020 20:23:10 +0000 (15:23 -0500)]
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>
5 years agorbd-mirror: register for local image updates in snapshot replayer
Jason Dillaman [Sat, 22 Feb 2020 19:00:47 +0000 (14:00 -0500)]
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>
5 years agoMerge pull request #32937 from rzarzynski/wip-bl-carry-_carriage
Kefu Chai [Thu, 27 Feb 2020 12:41:43 +0000 (20:41 +0800)]
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>
5 years agoMerge pull request #32515 from majianpeng/osd-remove-unused-func3
Kefu Chai [Thu, 27 Feb 2020 12:39:54 +0000 (20:39 +0800)]
Merge pull request #32515 from majianpeng/osd-remove-unused-func3

osd: remove unused functions

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agodoc: Add sphinx_autodoc_typehints extension 33577/head
Sebastian Wagner [Thu, 27 Feb 2020 12:16:00 +0000 (13:16 +0100)]
doc: Add sphinx_autodoc_typehints extension

`mgr/orchestrator_modules.rst` makes heavy use type hints.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agodoc/mgr/orchestrator: Add CephFS 33574/head
Sebastian Wagner [Thu, 27 Feb 2020 09:59:59 +0000 (10:59 +0100)]
doc/mgr/orchestrator: Add CephFS

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agodoc/mgr/orchestrator: Add documentation for plcement specs
Sebastian Wagner [Thu, 27 Feb 2020 09:57:58 +0000 (10:57 +0100)]
doc/mgr/orchestrator: Add documentation for plcement specs

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agodoc/mgr: Reordering
Sebastian Wagner [Thu, 27 Feb 2020 09:24:37 +0000 (10:24 +0100)]
doc/mgr: Reordering

* Moved *Configuring the Orchestrator CLI*
* Updated the definitions

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #33573 from votdev/fix_mypy_issue
Laura Paduano [Thu, 27 Feb 2020 10:30:06 +0000 (11:30 +0100)]
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>
5 years agomgr/dashboard: make check mypy failure 33573/head
Volker Theile [Thu, 27 Feb 2020 09:38:14 +0000 (10:38 +0100)]
mgr/dashboard: make check mypy failure

Fixes: https://tracker.ceph.com/issues/44319
Signed-off-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #33079 from jan--f/c-v-scan-dmcrypt-osds
Jan Fajerski [Thu, 27 Feb 2020 09:00:26 +0000 (10:00 +0100)]
Merge pull request #33079 from jan--f/c-v-scan-dmcrypt-osds

ceph-volume: strip _dmcrypt suffix in simple scan json output

5 years agoMerge pull request #33562 from dillaman/wip-fix-doc-builds
Kefu Chai [Thu, 27 Feb 2020 08:32:27 +0000 (16:32 +0800)]
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>
5 years agoMerge pull request #32953 from votdev/issue_43665_smart_data
Lenz Grimmer [Thu, 27 Feb 2020 08:23:17 +0000 (08:23 +0000)]
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>
5 years agoMerge PR #33547 into master
Patrick Donnelly [Thu, 27 Feb 2020 04:37:37 +0000 (20:37 -0800)]
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>
5 years agomgr/volumes: unregister job upon async threads exception 33547/head
Venky Shankar [Wed, 26 Feb 2020 04:52:37 +0000 (23:52 -0500)]
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>
5 years agoMerge PR #33552 into master
Sage Weil [Wed, 26 Feb 2020 23:13:02 +0000 (17:13 -0600)]
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>
5 years agoMerge PR #33550 into master
Sage Weil [Wed, 26 Feb 2020 23:12:31 +0000 (17:12 -0600)]
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>
5 years agoMerge PR #33517 into master
Sage Weil [Wed, 26 Feb 2020 23:12:20 +0000 (17:12 -0600)]
Merge PR #33517 into master

* refs/pull/33517/head:
cephadm: bootstrap: nag about telemetry

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #33519 into master
Sage Weil [Wed, 26 Feb 2020 23:11:26 +0000 (17:11 -0600)]
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>
5 years agoMerge PR #33544 into master
Sage Weil [Wed, 26 Feb 2020 23:11:11 +0000 (17:11 -0600)]
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>
5 years agodoc/drivegroups: add initial write-up 33044/head
Joshua Schmid [Mon, 3 Feb 2020 15:22:02 +0000 (16:22 +0100)]
doc/drivegroups: add initial write-up

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agodoc/rbd: document the new snapshot-based mirroring feature 33561/head
Jason Dillaman [Wed, 26 Feb 2020 19:48:52 +0000 (14:48 -0500)]
doc/rbd: document the new snapshot-based mirroring feature

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoRevert "doc: do not add suffix for search result links" 33562/head
Jason Dillaman [Wed, 26 Feb 2020 20:18:24 +0000 (15:18 -0500)]
Revert "doc: do not add suffix for search result links"

This reverts commit 88d6d499e0ff8341f8dc4c73b7a7c3cdc41b63d5.

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>
5 years agocephadm: shell: make a root home dir (/root) in /var/log/ceph/$fsid/home 33519/head
Sage Weil [Mon, 24 Feb 2020 19:26:17 +0000 (13:26 -0600)]
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>
5 years agoMerge PR #33551 into master
Sage Weil [Wed, 26 Feb 2020 15:41:02 +0000 (09:41 -0600)]
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>
5 years agoMerge pull request #33321 from rhcs-dashboard/43801-purge-button
anurag rakesh bandhu [Wed, 26 Feb 2020 15:06:19 +0000 (20:36 +0530)]
Merge pull request #33321 from rhcs-dashboard/43801-purge-button

mgr/dashboard: Fixes rbd image 'purge trash' button & modal text

5 years agomgr/dashboard: Enhance user create CLI command to force password change 33552/head
Volker Theile [Wed, 26 Feb 2020 08:17:18 +0000 (09:17 +0100)]
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>
5 years agorpm,deb: poke Python OpenSSL dependencies 33550/head
Patrick Seidensal [Tue, 25 Feb 2020 14:13:43 +0000 (15:13 +0100)]
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>
5 years agomgr: outsource creation of self-signed certificates
Patrick Seidensal [Tue, 25 Feb 2020 11:42:33 +0000 (12:42 +0100)]
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>
5 years agoMerge pull request #33537 from cbodley/wip-test-rgw-common-commit
Casey Bodley [Wed, 26 Feb 2020 14:46:49 +0000 (09:46 -0500)]
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>
5 years agocls/queue: add multithreaded unit tests 33218/head
Yuval Lifshitz [Thu, 13 Feb 2020 17:42:40 +0000 (19:42 +0200)]
cls/queue: add multithreaded unit tests

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
5 years agodoc/cephadm: Rephrased introduction sentence 33551/head
Alexandra Settle [Wed, 26 Feb 2020 13:30:47 +0000 (14:30 +0100)]
doc/cephadm: Rephrased introduction sentence

Signed-off-by: Alexandra Settle <asettle@suse.com>
5 years agoMerge pull request #33463 from sebastian-philipp/cephadm-workerpool-10
Sebastian Wagner [Wed, 26 Feb 2020 14:37:45 +0000 (15:37 +0100)]
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>
5 years agoMerge PR #31200 into master
Patrick Donnelly [Wed, 26 Feb 2020 14:26:13 +0000 (06:26 -0800)]
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>
5 years agodoc: Add Dashboard Octopus release notes 33555/head
Lenz Grimmer [Wed, 26 Feb 2020 14:22:35 +0000 (15:22 +0100)]
doc: Add Dashboard Octopus release notes

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
5 years agomgr/dashboard: Fixes rbd image 'purge trash' button & modal text 33321/head
anurag [Thu, 6 Feb 2020 08:27:46 +0000 (13:57 +0530)]
mgr/dashboard: Fixes rbd image 'purge trash' button & modal text

Fixes: https://tracker.ceph.com/issues/43801
Signed-off-by: anurag <abandhu@redhat.com>
5 years agoMerge pull request #33478 from yehudasa/wip-44246
Jan Fajerski [Wed, 26 Feb 2020 13:30:23 +0000 (14:30 +0100)]
Merge pull request #33478 from yehudasa/wip-44246

ceph-volume: lvm: get_device_vgs() filter by provided prefix

5 years agocls/queue: add unit tests
Yuval Lifshitz [Mon, 10 Feb 2020 16:34:54 +0000 (18:34 +0200)]
cls/queue: add unit tests

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
5 years agorbd-mirror: check for resync request during snapshot prepare state machine
Jason Dillaman [Sat, 22 Feb 2020 17:42:28 +0000 (12:42 -0500)]
rbd-mirror: check for resync request during snapshot prepare state machine

Before attempting to start the image replayer for snapshot-based mirroring,
check to ensure that a resync hasn't already been requested.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agodoc/cephadm: Rename section titles and fix introductions
Sebastian Wagner [Wed, 26 Feb 2020 11:48:37 +0000 (12:48 +0100)]
doc/cephadm: Rename section titles and fix introductions

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agodoc/cephadm: Add CLI and OS recommendations to TOC
Sebastian Wagner [Wed, 26 Feb 2020 10:46:00 +0000 (11:46 +0100)]
doc/cephadm: Add CLI and OS recommendations to TOC

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agodoc: move cephadm mgr doc to /doc/cephadm
Sebastian Wagner [Wed, 26 Feb 2020 10:40:51 +0000 (11:40 +0100)]
doc: move cephadm mgr doc to /doc/cephadm

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agodoc: move bootstrap.rst to cephadm
Sebastian Wagner [Wed, 26 Feb 2020 10:28:18 +0000 (11:28 +0100)]
doc: move bootstrap.rst to cephadm

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #33171 from rhcs-dashboard/wip-42914-fix-ui-issues
Lenz Grimmer [Wed, 26 Feb 2020 09:57:08 +0000 (09:57 +0000)]
Merge pull request #33171 from rhcs-dashboard/wip-42914-fix-ui-issues

mgr/dashboard: UI fixes

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #33405 from rhcs-dashboard/wip-44198-fix-style-issues
Lenz Grimmer [Wed, 26 Feb 2020 09:55:25 +0000 (09:55 +0000)]
Merge pull request #33405 from rhcs-dashboard/wip-44198-fix-style-issues

mgr/dashboard: 'destroyed' view in CRUSH map viewer

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #33459 from liewegas/doc-adopt
Sebastian Wagner [Wed, 26 Feb 2020 09:48:49 +0000 (10:48 +0100)]
Merge pull request #33459 from liewegas/doc-adopt

doc/mgr/cephadm: document adoption process

Reviewed-by: Zac Dover <zac.dover@gmail.com>
5 years agoMerge pull request #33454 from votdev/fix_mypy_issues
Lenz Grimmer [Wed, 26 Feb 2020 09:25:20 +0000 (09:25 +0000)]
Merge pull request #33454 from votdev/fix_mypy_issues

mgr/dashboard: Fix mypy issues and enable it by default

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge pull request #33372 from pritha-srivastava/rgw-omap-offload-gc-fixes
Yuval Lifshitz [Wed, 26 Feb 2020 08:58:20 +0000 (10:58 +0200)]
Merge pull request #33372 from pritha-srivastava/rgw-omap-offload-gc-fixes

Fixes related to omap offload and gc.

5 years agoMerge pull request #33528 from cyx1231st/wip_crimson_osd_misc_fixes
Kefu Chai [Wed, 26 Feb 2020 05:51:16 +0000 (13:51 +0800)]
Merge pull request #33528 from cyx1231st/wip_crimson_osd_misc_fixes

crimson/osd: misc fixes and cleanup

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #33543 from badone/wip-doc-min_size-applicable-to-ec-pools
Brad Hubbard [Wed, 26 Feb 2020 04:21:43 +0000 (14:21 +1000)]
Merge pull request #33543 from badone/wip-doc-min_size-applicable-to-ec-pools

doc/rados/operations: min_size is applicable to EC

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/workunits/cephadm/test_cephadm.sh: remove image param non-ceph tests 33544/head
Michael Fritch [Tue, 25 Feb 2020 21:13:37 +0000 (14:13 -0700)]
qa/workunits/cephadm/test_cephadm.sh: remove image param non-ceph tests

non-ceph components have a default image
as of 97def7cb60de8c52db1cfca198bd2cd64585883f

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoqa/workunits/cephadm/test_cephadm.sh: consolidate wait loop logic
Michael Fritch [Tue, 25 Feb 2020 20:47:59 +0000 (13:47 -0700)]
qa/workunits/cephadm/test_cephadm.sh: consolidate wait loop logic

into an `is_available` function

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agodoc/rados/operations: Detail for min_size on EC pools 33543/head
Brad Hubbard [Wed, 26 Feb 2020 01:58:21 +0000 (11:58 +1000)]
doc/rados/operations: Detail for min_size on EC pools

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #32342 from dzafman/wip-43126
David Zafman [Wed, 26 Feb 2020 01:42:00 +0000 (17:42 -0800)]
Merge pull request #32342 from dzafman/wip-43126

mon: Improvements to slow heartbeat health messages

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agodoc/rados/operations: min_size is applicable to EC
Brad Hubbard [Wed, 26 Feb 2020 00:33:22 +0000 (10:33 +1000)]
doc/rados/operations: min_size is applicable to EC

min_size is *not* replicated pool specific.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #33379 from badone/wip-upgrade-ansible-version-for-ca
Brad Hubbard [Tue, 25 Feb 2020 23:56:02 +0000 (09:56 +1000)]
Merge pull request #33379 from badone/wip-upgrade-ansible-version-for-ca

qa/ceph-ansible: Upgrade ansible version

5 years agoMerge PR #33516 into master
Sage Weil [Tue, 25 Feb 2020 23:51:06 +0000 (17:51 -0600)]
Merge PR #33516 into master

* refs/pull/33516/head:
ceph.in: Fix name retval is not defined error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Gabriel Brascher <gabriel@apache.org>
5 years agoMerge PR #33525 into master
Sage Weil [Tue, 25 Feb 2020 23:50:36 +0000 (17:50 -0600)]
Merge PR #33525 into master

* refs/pull/33525/head:
osd/PeeringState.h: ignore RemoteBackfillReserved in WaitLocalBackfillReserved

Reviewed-by: David Zafman <dzafman@redhat.com>
5 years agoMerge PR #33263 into master
Patrick Donnelly [Tue, 25 Feb 2020 22:45:49 +0000 (14:45 -0800)]
Merge PR #33263 into master

* refs/pull/33263/head:
qa/vstart_runner.py: make run()'s interface same as teuthology's run

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #33499 into master
Patrick Donnelly [Tue, 25 Feb 2020 22:37:30 +0000 (14:37 -0800)]
Merge PR #33499 into master

* refs/pull/33499/head:
mount: fix the debug log when keyring getting secret failed

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge PR #33515 into master
Sage Weil [Tue, 25 Feb 2020 22:15:55 +0000 (16:15 -0600)]
Merge PR #33515 into master

* refs/pull/33515/head:
mgr/cephadm: replace static SSL cert
mgr/cephadm: dynamically add Grafana data sources
mgr/cephadm: provide static default configs for grafana deployment
mgr/cephadm: provision grafana
mgr/orch: add grafana hooks

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #29816 from coder-hugo/feature/fix-ldap-auth-doc
Casey Bodley [Tue, 25 Feb 2020 20:10:45 +0000 (15:10 -0500)]
Merge pull request #29816 from coder-hugo/feature/fix-ldap-auth-doc

rgw: Fix documentation for rgw_ldap_secret

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoMerge PR #33480 into master
Patrick Donnelly [Tue, 25 Feb 2020 19:07:29 +0000 (11:07 -0800)]
Merge PR #33480 into master

* refs/pull/33480/head:
test: add new ceph_lseek test
client: fix error handling in lseek SEEK_HOLE/SEEK_DATA cases

Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
5 years agoMerge PR #33427 into master
Patrick Donnelly [Tue, 25 Feb 2020 19:05:57 +0000 (11:05 -0800)]
Merge PR #33427 into master

* refs/pull/33427/head:
qa/cephfs: rewrite a bit of code xfstests_dev.py
qa/cephfs: update xfstests-dev deps for RHEL 8

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32657 into master
Patrick Donnelly [Tue, 25 Feb 2020 19:04:06 +0000 (11:04 -0800)]
Merge PR #32657 into master

* refs/pull/32657/head:
test: query using mds id, not rank
mgr: re-enable mds `scrub status` info in ceph status
mon: filter out ceph normal ceph entity types when dumping service metadata
mgr: filter out normal ceph services when processing service map
mgr: helper function to check if a service is a normal ceph service

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #33449 into master
Patrick Donnelly [Tue, 25 Feb 2020 19:03:00 +0000 (11:03 -0800)]
Merge PR #33449 into master

* refs/pull/33449/head:
mds: handle bad purge queue item encoding

Reviewed-by: Zheng Yan <zyan@redhat.com>
5 years agoMerge PR #33471 into master
Patrick Donnelly [Tue, 25 Feb 2020 19:01:54 +0000 (11:01 -0800)]
Merge PR #33471 into master

* refs/pull/33471/head:
mds: relevel debug message levels for balancer/migrator
mds: inline mds_role_t stream operator

Reviewed-by: Mark Nelson <mnelson@redhat.com>
5 years agoMerge pull request #33535 from smithfarm/wip-rados-cephadm-smoke-152 33535/head
Nathan Cutler [Tue, 25 Feb 2020 17:36:11 +0000 (18:36 +0100)]
Merge pull request #33535 from smithfarm/wip-rados-cephadm-smoke-152

qa: run cephadm/smoke on opensuse 15.2 instead of 15.1

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoMerge PR #33078 into master
Patrick Donnelly [Tue, 25 Feb 2020 17:14:37 +0000 (09:14 -0800)]
Merge PR #33078 into master

* refs/pull/33078/head:
qa: avoid subtree rep in test_version_splitting

Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoceph-volume: don't create Volume/VolumeGroup objects with empty name 33478/head
Jan Fajerski [Tue, 25 Feb 2020 15:18:57 +0000 (16:18 +0100)]
ceph-volume: don't create Volume/VolumeGroup objects with empty name

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoceph-volume: get_device_lvs filter by provided prefix
Jan Fajerski [Tue, 25 Feb 2020 15:18:24 +0000 (16:18 +0100)]
ceph-volume: get_device_lvs filter by provided prefix

Fixes: https://tracker.ceph.com/issues/44124
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoceph-volume: lvm.get_device_vgs: don't create VolumeGroup with empty name
Jan Fajerski [Tue, 25 Feb 2020 15:27:08 +0000 (16:27 +0100)]
ceph-volume: lvm.get_device_vgs: don't create VolumeGroup with empty name

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #33456 from smithfarm/wip-44182
Nathan Cutler [Tue, 25 Feb 2020 14:09:21 +0000 (15:09 +0100)]
Merge pull request #33456 from smithfarm/wip-44182

ceph-backport.sh: fix setup routine

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge pull request #33510 from krig/mypy-cache-gitignore
Sebastian Wagner [Tue, 25 Feb 2020 14:04:55 +0000 (15:04 +0100)]
Merge pull request #33510 from krig/mypy-cache-gitignore

.gitignore: Add .mypy_cache to .gitignore

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge PR #33504 into master
Sage Weil [Tue, 25 Feb 2020 13:44:18 +0000 (07:44 -0600)]
Merge PR #33504 into master

* refs/pull/33504/head:
cephadm: allow skipping prepare_host in bootstrap step

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
5 years agomgr/cephadm: replace static SSL cert 33515/head
Patrick Seidensal [Mon, 24 Feb 2020 14:17:23 +0000 (15:17 +0100)]
mgr/cephadm: replace static SSL cert

with dynamically generated one.

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agoqa: run cephadm/smoke on opensuse 15.2 instead of 15.1
Nathan Cutler [Tue, 25 Feb 2020 13:28:35 +0000 (14:28 +0100)]
qa: run cephadm/smoke on opensuse 15.2 instead of 15.1

Companion PR to https://github.com/ceph/ceph-build/pull/1509

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge PR #33495 into master
Sage Weil [Tue, 25 Feb 2020 13:05:31 +0000 (07:05 -0600)]
Merge PR #33495 into master

* refs/pull/33495/head:
mgr/cephadm: do not refresh device inventory on mgr restart
mgr/cephadm: make cache invalidate less racy
mgr/cephadm: fix last_device_update persistence

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Gabriel Brascher <gabriel@apache.org>
5 years agoMerge PR #33501 into master
Sage Weil [Tue, 25 Feb 2020 13:02:26 +0000 (07:02 -0600)]
Merge PR #33501 into master

* refs/pull/33501/head:
debian: modules-core replaces and breaks older ceph-mgr

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agorbd-mirror: do not mirror snapshot image-meta key/value pairs
Jason Dillaman [Sat, 22 Feb 2020 02:14:50 +0000 (21:14 -0500)]
rbd-mirror: do not mirror snapshot image-meta key/value pairs

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: support resync requests for snapshot-based mirrored images
Jason Dillaman [Sat, 22 Feb 2020 00:13:18 +0000 (19:13 -0500)]
librbd: support resync requests for snapshot-based mirrored images

The image resync API now detects the current mirroring mode and stores
the resync request either in the image-meta for snapshot-based mirroring
or in the journal for journal-based mirroring.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: image-meta wrapper for snapshot-based mirroring properties
Jason Dillaman [Fri, 21 Feb 2020 21:48:56 +0000 (16:48 -0500)]
librbd: image-meta wrapper for snapshot-based mirroring properties

The only property currently stored within the image-meta is the
resync request flag.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agomgr/cephadm: dynamically add Grafana data sources
Patrick Seidensal [Mon, 24 Feb 2020 13:54:50 +0000 (14:54 +0100)]
mgr/cephadm: dynamically add Grafana data sources

depending on which Prometheus services have been deployed.

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agomgr/cephadm: provide static default configs for grafana deployment
Patrick Seidensal [Fri, 21 Feb 2020 12:42:01 +0000 (13:42 +0100)]
mgr/cephadm: provide static default configs for grafana deployment

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agomgr/cephadm: provision grafana
Patrick Seidensal [Fri, 21 Feb 2020 11:42:10 +0000 (12:42 +0100)]
mgr/cephadm: provision grafana

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agomgr/dashboard: Fix mypy issues and enable it by default 33454/head
Volker Theile [Mon, 24 Feb 2020 12:03:13 +0000 (13:03 +0100)]
mgr/dashboard: Fix mypy issues and enable it by default

The decorator @no_type_check is used:
* To prevent a mypy error like 'error: INTERNAL ERROR -- Please try using mypy master on Github:'
* '#type: ignore' does not work, e.g. in broken lines

Fixes: https://tracker.ceph.com/issues/44269
Signed-off-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #33513 from liewegas/fix-44271
Lenz Grimmer [Tue, 25 Feb 2020 10:20:07 +0000 (10:20 +0000)]
Merge pull request #33513 from liewegas/fix-44271

mgr/dashboard: behave when pwdUpdateRequired key is missing

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agomgr/orch: add grafana hooks
Patrick Seidensal [Fri, 21 Feb 2020 11:41:43 +0000 (12:41 +0100)]
mgr/orch: add grafana hooks

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agocrimson/osd: hide add_blocker() and clear_blocker() in Operation 33528/head
Yingxin Cheng [Tue, 25 Feb 2020 08:17:50 +0000 (16:17 +0800)]
crimson/osd: hide add_blocker() and clear_blocker() in Operation

Cleanup. Hide add_blocker() and clear_blocker() as private members
because no one is using them anymore. They are not exception-safe. Also
take the chance to reorder Operation class members.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>