summaryrefslogtreecommitdiffstats
path: root/src/cephadm/cephadmlib/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cephadm/cephadmlib/exceptions.py')
-rw-r--r--src/cephadm/cephadmlib/exceptions.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cephadm/cephadmlib/exceptions.py b/src/cephadm/cephadmlib/exceptions.py
index 0d215fdd332..762ce782127 100644
--- a/src/cephadm/cephadmlib/exceptions.py
+++ b/src/cephadm/cephadmlib/exceptions.py
@@ -19,3 +19,16 @@ class UnauthorizedRegistryError(Error):
class PortOccupiedError(Error):
pass
+
+
+class DaemonStartException(Exception):
+ """
+ Special exception type we raise when the
+ systemctl start command fails during daemon
+ deployment. Necessary because the cephadm mgr module
+ needs to handle this case differently than a failure
+ earlier in the deploy process where no attempt was made
+ to actually start the daemon
+ """
+
+ pass