Пример #1
0
class InvalidState(Invalid):
    _msg_fmt = _("Invalid resource state.")
Пример #2
0
class Base64Exception(MoganException):
    _msg_fmt = _("Invalid Base 64 data for file %(path)s")
Пример #3
0
class KeypairNotFound(NotFound):
    _msg_fmt = _("Keypair %(name)s not found for user %(user_id)s")
Пример #4
0
class ConfigDriveMountFailed(MoganException):
    _msg_fmt = _("Could not mount vfat config drive. %(operation)s failed. "
                 "Error: %(error)s")
Пример #5
0
class ServerUserDataTooLarge(MoganException):
    _msg_fmt = _("User data too large. User data must be no larger than "
                 "%(maxsize)s bytes once base64 encoded. Your data is "
                 "%(length)d bytes")
Пример #6
0
class ReservationNotFound(NotFound):
    _msg_fmt = _("Reservation %(uuid)s could not be found.")
Пример #7
0
class ConsoleNotAvailable(MoganException):
    _msg_fmt = _("Console not available.")
Пример #8
0
class NetworkRequiresSubnet(Invalid):
    _msg_fmt = _("Network %(network_uuid)s requires a subnet in order to boot"
                 " servers on.")
Пример #9
0
class ServerIsLocked(Invalid):
    _msg_fmt = _("Server %(server_uuid)s is locked")
Пример #10
0
class FloatingIpMultipleFoundForAddress(MoganException):
    _msg_fmt = _("Multiple floating IPs are found for address %(address)s.")
Пример #11
0
class NetworkNotFound(NotFound):
    _msg_fmt = _("Network %(network_id)s could not be found.")
Пример #12
0
class FloatingIpNotFoundForAddress(NotFound):
    _msg_fmt = _("Floating IP not found for address %(address)s.")
Пример #13
0
class PortNotFound(NotFound):
    _msg_fmt = _("Port id %(port_id)s could not be found.")
Пример #14
0
class DuplicateState(Conflict):
    _msg_fmt = _("Resource already exists.")
Пример #15
0
class QuotaAlreadyExists(MoganException):
    _msg_fmt = _("Quota with name %(name)s and project %(project_id)s already"
                 " exists.")
Пример #16
0
class ServerInMaintenance(Invalid):
    _msg_fmt = _("Server %(server_uuid)s is in maintenance mode")
Пример #17
0
class ReservationAlreadyExists(MoganException):
    _msg_fmt = _("Reservation with name %(name)s and project %(project_id)s "
                 "already exists.")
Пример #18
0
class InvalidReservationExpiration(Invalid):
    _msg_fmt = _("Invalid reservation expiration %(expire)s.")
Пример #19
0
class InvalidToken(Invalid):
    _msg_fmt = _("Invalid token: %(token)s")
Пример #20
0
class QuotaNotFound(NotFound):
    _msg_fmt = _("Quota %(quota_name)s could not be found.")
Пример #21
0
class ConsoleTypeUnavailable(Invalid):
    _msg_fmt = _("Unavailable console type %(console_type)s.")
Пример #22
0
class ProjectQuotaNotFound(QuotaNotFound):
    _msg_fmt = _("Quota for project %(project_id)s could not be found.")
Пример #23
0
class ConfigDriveUnknownFormat(MoganException):
    _msg_fmt = _("Unknown config drive format %(format)s. Select one of "
                 "iso9660 or vfat.")
Пример #24
0
class QuotaResourceUnknown(QuotaNotFound):
    _msg_fmt = _("Unknown quota resources %(unknown)s.")
Пример #25
0
class ServerUserDataMalformed(MoganException):
    _msg_fmt = _("User data needs to be valid base 64.")
Пример #26
0
class OverQuota(MoganException):
    _msg_fmt = _("Quota exceeded for resources: %(overs)s")
Пример #27
0
class KeyPairExists(MoganException):
    _msg_fmt = _("KeyPaire with key name %(key_name)s already exists.")
Пример #28
0
class PortLimitExceeded(OverQuota):
    _msg_fmt = _("Maximum number of ports exceeded")
Пример #29
0
class InvalidKeypair(Invalid):
    _msg_fmt = _("Keypair data is invalid: %(reason)s")
Пример #30
0
class AZNotFound(NotFound):
    _msg_fmt = _("The availability zone could not be found.")