metalsmith.exceptions module¶
-
exception
metalsmith.exceptions.
AllNodesReserved
(requested_resource_class, requested_capabilities)¶ Bases:
metalsmith.exceptions.ReservationFailed
All nodes are already reserved.
-
exception
metalsmith.exceptions.
CapabilitiesNotFound
(message, requested_resource_class, requested_capabilities)¶ Bases:
metalsmith.exceptions.ReservationFailed
Requested capabilities do not match any nodes.
-
exception
metalsmith.exceptions.
DeploymentFailure
(message, nodes)¶ Bases:
metalsmith.exceptions.Error
One or more nodes have failed the deployment.
Variables: nodes – List of failed nodes.
-
exception
metalsmith.exceptions.
Error
¶ Bases:
exceptions.Exception
Base class for Metalsmith errors.
-
exception
metalsmith.exceptions.
InvalidImage
¶ Bases:
metalsmith.exceptions.Error
Requested image is invalid and cannot be used.
-
exception
metalsmith.exceptions.
InvalidNIC
¶ Bases:
metalsmith.exceptions.Error
Requested NIC is invalid and cannot be used.
-
exception
metalsmith.exceptions.
InvalidNode
¶ Bases:
metalsmith.exceptions.Error
This node cannot be deployed onto.
-
exception
metalsmith.exceptions.
ReservationFailed
(message, requested_resource_class, requested_capabilities)¶ Bases:
metalsmith.exceptions.Error
Failed to reserve a suitable node.
-
exception
metalsmith.exceptions.
ResourceClassNotFound
(requested_resource_class, requested_capabilities)¶ Bases:
metalsmith.exceptions.ReservationFailed
No nodes match the given resource class.
-
exception
metalsmith.exceptions.
UnknownRootDiskSize
¶ Bases:
metalsmith.exceptions.Error
Cannot determine the root disk size.
-
exception
metalsmith.exceptions.
ValidationFailed
(message, requested_resource_class, requested_capabilities)¶ Bases:
metalsmith.exceptions.ReservationFailed
Validation failed for all requested nodes.