metalsmith.exceptions module¶
-
exception
metalsmith.exceptions.AllNodesReserved(requested_resource_class, requested_capabilities)¶ Bases:
metalsmith.exceptions.ReservationFailedAll nodes are already reserved.
-
exception
metalsmith.exceptions.CapabilitiesNotFound(message, requested_resource_class, requested_capabilities)¶ Bases:
metalsmith.exceptions.ReservationFailedRequested capabilities do not match any nodes.
-
exception
metalsmith.exceptions.DeploymentFailure(message, nodes)¶ Bases:
metalsmith.exceptions.ErrorOne or more nodes have failed the deployment.
Variables: nodes – List of failed nodes.
-
exception
metalsmith.exceptions.Error¶ Bases:
exceptions.ExceptionBase class for Metalsmith errors.
-
exception
metalsmith.exceptions.InvalidImage¶ Bases:
metalsmith.exceptions.ErrorRequested image is invalid and cannot be used.
-
exception
metalsmith.exceptions.InvalidNIC¶ Bases:
metalsmith.exceptions.ErrorRequested NIC is invalid and cannot be used.
-
exception
metalsmith.exceptions.InvalidNode¶ Bases:
metalsmith.exceptions.ErrorThis node cannot be deployed onto.
-
exception
metalsmith.exceptions.ReservationFailed(message, requested_resource_class, requested_capabilities)¶ Bases:
metalsmith.exceptions.ErrorFailed to reserve a suitable node.
-
exception
metalsmith.exceptions.ResourceClassNotFound(requested_resource_class, requested_capabilities)¶ Bases:
metalsmith.exceptions.ReservationFailedNo nodes match the given resource class.
-
exception
metalsmith.exceptions.UnknownRootDiskSize¶ Bases:
metalsmith.exceptions.ErrorCannot determine the root disk size.
-
exception
metalsmith.exceptions.ValidationFailed(message, requested_resource_class, requested_capabilities)¶ Bases:
metalsmith.exceptions.ReservationFailedValidation failed for all requested nodes.