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.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.InvalidInstance¶ Bases:
metalsmith.exceptions.ErrorThe node(s) does not have a metalsmith instance associated.
-
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.NoNodesReserved(nodes)¶ Bases:
metalsmith.exceptions.ReservationFailedAll nodes are already reserved or failed validation.
Variables: nodes – List of nodes that were checked.
-
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.TraitsNotFound(message, traits)¶ Bases:
metalsmith.exceptions.ReservationFailedRequested traits do not match any nodes.
Variables: requested_traits – Requested node’s traits.
-
exception
metalsmith.exceptions.UnknownRootDiskSize¶ Bases:
metalsmith.exceptions.ErrorCannot determine the root disk size.
-
exception
metalsmith.exceptions.ValidationFailed¶ Bases:
metalsmith.exceptions.ReservationFailedValidation failed for all requested nodes.