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