Train 系列发布说明

18.0.0.0b1-203

新特性

  • os_tempest 角色现在可以通过将 tempest_install_method 设置为 distro 从发行版包安装。

  • 引入了新的变量 tempest_workspace 以设置 tempest 工作区的路径。

  • 默认 tempest 配置文件的位置现在是 /etc/tempest/tempest.conf,而不是以前的默认位置 $HOME/.tempest/etc

  • 添加了新的参数 tempest_services,用于自动设置 tempest_service_available_{service_name} 变量。

  • 在 tempest_test_blacklist ansible 变量中添加了 launchpad 和 bugzilla 密钥。开发人员必须能够追踪为什么测试被插入到 skiplist 中,其中一种方法是通过 bug。此功能在 os_tempest 的跳过测试列表中添加了有关此信息。

  • Python-tempestconf 是一种基于 openstack 安装的凭据生成 tempest.conf 文件的工具。它使用 openstack 的可发现 api 来检查服务、功能等。

    添加了使用 python-tempestconf 工具生成 tempest.conf 文件,而不是使用角色模板的可能性。

  • Keystone 中 tempest 的服务设置现在将通过委托到 tempest_service_setup_host 执行,默认情况下为 localhost(部署主机)。部署者可以选择将其更改为实用程序容器,方法是在 user_variables.yml 中实现以下覆盖。

    tempest_service_setup_host: "{{ groups['utility_all'][0] }}"
    
  • 不再使用硬编码的项目和用户集,现在可以使用变量 tempest_projectstempest_users 配置 tempest 的自定义列表。

  • 现在可以使用 tempest_test_blacklist 列表变量指定 tempest 在执行时要黑名单的测试列表。

升级说明

  • 已更新 tempest_test_blacklist 的数据结构,以添加与正在跳过的测试关联的 launchpad 和/或 bugzilla 链接。

  • 删除了变量 tempest_image_dir_owner,转而使用默认 ansible 用户来创建镜像目录。

弃用说明

  • 变量 tempest_public_net_physical_type 将在 Train 版本中被移除,转而使用 tempest_public_net_physical_name

  • 变量 tempest_requires_pip_packages 已不再需要,因此已被移除。

  • 变量 tempest_image_downloader 已被移除。镜像下载现在使用与 tempest_service_setup_host 变量指定的镜像设置主机相同的宿主机进行下载。