blob: 762ce782127186a87aba719f0998ad0272249915 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# exceptions.py - cephadm specific exception types
class Error(Exception):
pass
class ClusterAlreadyExists(Exception):
pass
class TimeoutExpired(Error):
pass
class UnauthorizedRegistryError(Error):
pass
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
|