]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/orchestrator: Add error handling to interface 27095/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 13 Feb 2019 14:01:25 +0000 (15:01 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 21 Mar 2019 11:33:30 +0000 (12:33 +0100)
commitb02656cd311da9de6df787fc4b976ea3775fae09
tree539e3cf860d5125c949e99b3be134af06efb4877
parent3a54b2b6d167d4a2a19e003a705696d4fe619afc
mgr/orchestrator: Add error handling to interface

Also:

* Small test_orchestrator refactorization
* Improved Docstring in MgrModule.remote
* Added `raise_if_exception` that raises Exceptions
* Added `OrchestratorError` and `OrchestratorValidationError`
* `_orchestrator_wait` no longer raises anything
* `volumes` model also calls `raise_if_exception`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 61d53ed70e2deafd6bebdf0a8e569cdc46b89e97)
doc/mgr/orchestrator_modules.rst
qa/tasks/mgr/test_orchestrator_cli.py
src/pybind/mgr/mgr_module.py
src/pybind/mgr/orchestrator.py
src/pybind/mgr/orchestrator_cli/module.py
src/pybind/mgr/orchestrator_cli/test_orchestrator.py
src/pybind/mgr/test_orchestrator/module.py
src/pybind/mgr/volumes/module.py