Newton 系列发布说明

1.7.1-2

错误修复

  • 允许使用 –provision-state 参数的 OSC node list 命令的所有配置状态。

1.7.1

错误修复

  • 修复了 ‘ironic create <file>’ 命令,使其能够正确处理文件参数。

1.7.0

新特性

  • 添加了一个新的 ironic create 命令,该命令创建在多个 JSON (*.json) 或 YAML (*.yaml) 文件中指定的资源(机箱、节点、端口)。

  • 添加了一个新的 openstack baremetal create 命令。与 ironic create 命令类似,此命令创建在多个文件中指定的资源。(请注意,openstack baremetal create 也可以通过指定节点属性来创建节点。但是,此功能自 1.4.0 起已被弃用。)

  • ironic port-showironic port-list --detailironic node-port-list --detail 命令现在在输出中包含 internal_info 字段。

  • 添加了新的 OpenStackClient 命令

    • openstack baremetal chassis create

    • openstack baremetal chassis delete

    • openstack baremetal chassis list

    • openstack baremetal chassis set

    • openstack baremetal chassis show

    • openstack baremetal chassis unset

    • openstack baremetal driver list

    • openstack baremetal driver passthru call

    • openstack baremetal driver passthru list

    • openstack baremetal driver show

    • openstack baremetal node adopt

    • openstack baremetal node boot device set

    • openstack baremetal node boot device show

    • openstack baremetal node console disable

    • openstack baremetal node console enable

    • openstack baremetal node console show

    • openstack baremetal node passthru call

    • openstack baremetal node passthru list

    • openstack baremetal node validate

    • openstack baremetal port delete

    • openstack baremetal port list

    • openstack baremetal port set

    • openstack baremetal port unset

    请参阅每个命令的帮助信息以获取更多信息。

  • openstack baremetal node list 命令添加了一个选项 --chassis <chassis UUID>。它提供了获取指定机箱的节点列表的功能。

  • 允许通过 OpenStackClient 插件命令 openstack baremetal node set --target-raid-configopenstack baremetal node unset --target-raid-config 分别设置和取消设置(清除)节点的 target RAID 配置。

  • ironic node-set-provision-state 命令和关联的 Python API 中的 node.wait_for_provision_state 方法添加了 --wait 标志。该标志适用于所有配置状态更改,但不包括 abort

弃用说明

  • 弃用了 openstack baremetal port create 命令的 -l 参数,以支持 --local-link-connection,因为根据 OpenStackClient 指南,选项应为完整的单词。

错误修复

  • 在没有指定 os_ironic_api_version 的情况下,在创建 v1 客户端时,如果 API 响应中没有 endpoint 字段,则会发生 EndpointException 而不是 IndexError。

1.6.0

新特性

  • 添加了对 API 版本 1.21 中引入的新 node.resource_class 字段的支持。

  • 扩展了 OpenStackClient 插件,添加了新的命令

    • openstack baremetal port show

1.5.0

新特性

  • 添加了对新字段的支持

    • node.network_interface 在 API 1.20 中引入,指定用于节点的网络接口。

    • port.local_link_connection 包含端口绑定配置文件。

    • port.pxe_enabled 指示端口是否启用了 PXE。

    port.local_link_connectionport.pxe_enabled 字段是在 API 1.19 中引入的。

1.4.0

新特性

  • 添加了通过环境变量“IRONICCLIENT_CACHE_EXPIRY”指定 Ironic API 版本缓存的过期时间(以秒为单位)的支持。

  • 为客户端添加了一个 –json 选项,以显示来自 Ironic API 的 JSON 响应体,而不对其进行格式化。

  • 扩展了 OpenStackClient 插件,添加了新的命令

    • openstack baremetal node abort

    • openstack baremetal node clean

    • openstack baremetal node create

    • openstack baremetal node delete - 支持删除多个节点

    • openstack baremetal node deploy

    • openstack baremetal node inspect

    • openstack baremetal node list

    • openstack baremetal node maintenance set

    • opnestack baremetal 节点维护取消设置

    • openstack baremetal node manage

    • openstack baremetal node power

    • openstack baremetal node provide

    • openstack baremetal node reboot

    • openstack baremetal node rebuild

    • openstack baremetal node set

    • openstack baremetal node show

    • openstack baremetal node undeploy

    • openstack baremetal node unset

    • openstack baremetal port create

  • 已添加对 `node-set-provision-state` 动词的 `adopt` 支持,该动词需要 API 版本 1.17。此功能允许操作员将节点从 `MANAGABLE` 状态移动到 `ACTIVE` 状态,而无需执行清理或部署操作。

弃用说明

  • 弃用以下命令,以支持新的命令

    • openstack baremetal create

    • openstack baremetal delete

    • openstack baremetal list

    • openstack baremetal set

    • openstack baremetal show

    • openstack baremetal unset

    这些将在 ‘Queens’ 版本中移除。

错误修复

  • 如果启用了特定请求的重试,客户端现在将在 keystoneauth 可重试的连接失败时重试。这确保了在 keystone 身份验证服务出现临时网络中断时,将在达到请求的重试次数之前重试请求。

  • 修复了 SessionClient 在执行会话请求时忽略 endpoint_override 的问题,这导致在多区域部署中结果不确定。