]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/orchestrator: Add error handling to interface
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 13 Feb 2019 14:01:25 +0000 (15:01 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 7 Mar 2019 13:13:44 +0000 (14:13 +0100)
commit61d53ed70e2deafd6bebdf0a8e569cdc46b89e97
treeda523f4125258e6ff0bc0531e3974e0b0a800d55
parent476d88ae6be2fbb0c5430a8d52720ffbbb8bbb82
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>
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