]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/orchestrator: Improve debuggability 24147/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Tue, 18 Sep 2018 14:09:51 +0000 (16:09 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 18 Sep 2018 14:09:51 +0000 (16:09 +0200)
commitf81f7ecc084d8b8252b30cc922e33459960bbdf6
tree5f6565ff06259aa805c01dc4146873174df5af61
parentb035df69f706189134fb29c666b6d447c8037426
mgr/orchestrator: Improve debuggability

* `OrchestratorCli._wait()`: raise exception if all completions
  failed. Otherwise we will have an infinite loop here.
* The "Kubernetes module" is actually called `kubernetes`.
* Ignore k8s errors in `RookOrchestrator.serve()` , in
  order to provide an error message in `orchestrator status`
* Assert with error message

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/orchestrator_cli/module.py
src/pybind/mgr/rook/module.py