]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orch: add misssing `raise_if_exception`
authorMichael Fritch <mfritch@suse.com>
Wed, 29 Apr 2020 20:00:35 +0000 (14:00 -0600)
committerMichael Fritch <mfritch@suse.com>
Tue, 5 May 2020 18:54:45 +0000 (12:54 -0600)
pickle exceptions during during `nfs apply`

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/orchestrator/module.py

index 65f995b1e4db21232ad7751a42b6b95b6068c506..403af967794cc567810bd43f69eba96666e2aa13 100644 (file)
@@ -924,6 +924,7 @@ Usage:
         )
         completion = self.apply_nfs(spec)
         self._orchestrator_wait([completion])
+        raise_if_exception(completion)
         return HandleCommandResult(stdout=completion.result_str())
 
     @_cli_write_command(