コード例 #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.")