metalsmith.exceptions module

exception metalsmith.exceptions.CapabilitiesNotFound(message, capabilities)

基类: ReservationFailed

请求的capabilities与任何节点不匹配。

变量:

requested_capabilities – 请求节点的capabilities。

exception metalsmith.exceptions.CustomPredicateFailed(message, nodes)

基类: ReservationFailed

自定义谓词没有产生任何节点。

变量:

nodes – 检查的节点列表。

exception metalsmith.exceptions.DeploymentFailed

基类: Error

部署失败。

metalsmith.exceptions.DeploymentFailure

的别名 DeploymentFailed

exception metalsmith.exceptions.DeploymentTimeout

基类: DeploymentFailed

部署超时。

exception metalsmith.exceptions.Error

基础: Exception

Metalsmith错误的基类。

exception metalsmith.exceptions.InstanceNotFound

基类: Error

实例未找到或节点没有关联的实例。

exception metalsmith.exceptions.InvalidImage

基类: Error

请求的镜像无效,无法使用。

metalsmith.exceptions.InvalidInstance

的别名 InstanceNotFound

exception metalsmith.exceptions.InvalidNIC

基类: Error

请求的NIC无效,无法使用。

exception metalsmith.exceptions.InvalidNode

基类: Error

此节点无法部署。

exception metalsmith.exceptions.NetworkResourceNotFound

基类: Error

找不到网络资源、端口、网络、子网

exception metalsmith.exceptions.NodesNotFound(resource_class, conductor_group)

基类: ReservationFailed

初始节点查找返回一个空列表。

变量:
  • requested_resource_class – 请求的资源类。

  • requested_conductor_group – 请求的从其选择节点的conductor组。

exception metalsmith.exceptions.ReservationFailed

基类: Error

未能预留合适的节点。

这是所有预留失败的基类。

exception metalsmith.exceptions.UnknownRootDiskSize

基类: Error

无法确定根磁盘大小。