metalsmith.exceptions module¶
-
exception
metalsmith.exceptions.CapabilitiesNotFound(message, capabilities)¶ Bases:
metalsmith.exceptions.ReservationFailedRequested capabilities do not match any nodes.
- Variables
requested_capabilities – Requested node’s capabilities.
-
exception
metalsmith.exceptions.CustomPredicateFailed(message, nodes)¶ Bases:
metalsmith.exceptions.ReservationFailedCustom predicate yielded no nodes.
- Variables
nodes – List of nodes that were checked.
-
exception
metalsmith.exceptions.DeploymentFailed¶ Bases:
metalsmith.exceptions.ErrorDeployment failed.
-
metalsmith.exceptions.DeploymentFailure¶
-
exception
metalsmith.exceptions.DeploymentTimeout¶ Bases:
metalsmith.exceptions.DeploymentFailedTimeout during deployment.
-
exception
metalsmith.exceptions.Error¶ Bases:
ExceptionBase class for Metalsmith errors.
-
exception
metalsmith.exceptions.InstanceNotFound¶ Bases:
metalsmith.exceptions.ErrorInstance not found or node doesn’t have an instance associated.
-
exception
metalsmith.exceptions.InvalidImage¶ Bases:
metalsmith.exceptions.ErrorRequested image is invalid and cannot be used.
-
metalsmith.exceptions.InvalidInstance¶
-
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.NodesNotFound(resource_class, conductor_group)¶ Bases:
metalsmith.exceptions.ReservationFailedInitial nodes lookup returned an empty list.
- Variables
requested_resource_class – Requested resource class.
requested_conductor_group – Requested conductor group to pick nodes from.
-
exception
metalsmith.exceptions.ReservationFailed¶ Bases:
metalsmith.exceptions.ErrorFailed to reserve a suitable node.
This is the base class for all reservation failures.
-
exception
metalsmith.exceptions.UnknownRootDiskSize¶ Bases:
metalsmith.exceptions.ErrorCannot determine the root disk size.