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-show、ironic port-list --detail和ironic node-port-list --detail命令现在在输出中包含internal_info字段。
添加了新的 OpenStackClient 命令
openstack baremetal chassis createopenstack baremetal chassis deleteopenstack baremetal chassis listopenstack baremetal chassis setopenstack baremetal chassis showopenstack baremetal chassis unsetopenstack baremetal driver listopenstack baremetal driver passthru callopenstack baremetal driver passthru listopenstack baremetal driver showopenstack baremetal node adoptopenstack baremetal node boot device setopenstack baremetal node boot device showopenstack baremetal node console disableopenstack baremetal node console enableopenstack baremetal node console showopenstack baremetal node passthru callopenstack baremetal node passthru listopenstack baremetal node validateopenstack baremetal port deleteopenstack baremetal port listopenstack baremetal port setopenstack baremetal port unset
请参阅每个命令的帮助信息以获取更多信息。
为
openstack baremetal node list命令添加了一个选项--chassis <chassis UUID>。它提供了获取指定机箱的节点列表的功能。
允许通过 OpenStackClient 插件命令
openstack baremetal node set --target-raid-config和openstack 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_connection和port.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 的问题,这导致在多区域部署中结果不确定。