6.9. 更新 undercloud.conf 文件

您可以继续使用 Red Hat OpenStack Platform 13 环境的原始 undercloud.conf 文件,但必须修改该文件以保持与 Red Hat OpenStack Platform 16.1 的兼容性。

流程

  1. stack 用户身份登录 undercloud 主机。
  2. 编辑 undercloud.conf 文件。
  3. 在文件中的 DEFAULT 部分添加以下参数:

    container_images_file = /home/stack/containers-prepare-parameter.yaml

    此参数定义 containers-prepare-parameter.yaml 环境文件的位置,以便 director 从正确的位置拉取 undercloud 的容器镜像。

  4. 检查 generate_service_certificate 参数。此参数的默认值从 false 改为 true,它在升级过程中在 undercloud 上启用 SSL/TLS。
  5. 如果您迁移到可预测的 NIC 命名规则,请检查 local_interface 参数。
  6. 如果您在 Red Hat OpenStack Platform 13 中设置 masquerade_network 参数,请删除此参数,并为每个子网设置 masquerade = true
  7. 检查 文件中的所有其他参数是否有任何更改。
  8. 保存该文件。