6.8. 为升级获取过渡容器


升级需要之前版本的 Red Hat OpenStack Platform 和 Red Hat Ceph Storage 的容器。这些容器有助于过渡到 Red Hat OpenStack Platform 16.2。

流程

  1. stack 用户身份登录 undercloud 主机。
  2. 编辑 containers-prepare-parameter.yaml 文件。
  3. 添加 transitional 容器参数,以在 ContainerImagePrepare 参数中设置。根据您的部署类型,以以下方式设置参数。

    • 如果您的部署使用了使用 director 部署的 Red Hat Ceph Storage 集群,请添加以下参数:

      parameter_defaults:
        ContainerImagePrepare:
        - push_destination: true
          set:
            ...
            name_prefix_stein: openstack-
            name_suffix_stein: ''
            namespace_stein: registry.redhat.io/rhosp15-rhel8
            tag_stein: 15.0
            ceph3_namespace: registry.redhat.io/rhceph
            ceph3_tag: latest
            ceph3_image: rhceph-3-rhel7
            ...
      Copy to Clipboard Toggle word wrap
      • *_stein 参数为 Red Hat OpenStack Platform 15 定义容器镜像,升级过程用于数据库迁移。
      • ceph3_* 参数定义 overcloud 使用的当前 Red Hat Ceph Storage 容器镜像。overcloud 需要 ceph3_*ceph_* 参数才能从 Red Hat Ceph Storage 3 转换到 4。
      • 如果您使用 Red Hat Satellite Server 进行容器镜像存储,请将命名空间设置为 Red Hat Satellite 服务器上的镜像位置。
    • 如果您的部署使用外部 Ceph Storage 集群,请添加以下参数:

      parameter_defaults:
        ContainerImagePrepare:
        - push_destination: true
          set:
            ...
            name_prefix_stein: openstack-
            name_suffix_stein: ''
            namespace_stein: registry.redhat.io/rhosp15-rhel8
            tag_stein: 15.0
            ceph_namespace: registry.redhat.io/rhceph
            ceph_tag: latest
            ceph_image: rhceph-4-rhel8
            ...
      Copy to Clipboard Toggle word wrap
      • *_stein 参数为 Red Hat OpenStack Platform 15 定义容器镜像,升级过程用于数据库迁移。
      • ceph_* 参数定义 overcloud 使用的当前 Red Hat Ceph Storage 4 容器镜像。
      • 如果您使用 Red Hat Satellite Server 进行容器镜像存储,请将命名空间设置为 Red Hat Satellite 服务器上的镜像位置。
  4. neutron_driver 参数更改为 openvswitch

    parameter_defaults:
      ContainerImagePrepare:
      - push_destination: true
        set:
          ...
          neutron_driver: openvswitch
          ...
    Copy to Clipboard Toggle word wrap

    升级在整个过程中保持 Open vSwitch 兼容性。完成升级到 Red Hat OpenStack Platform 16.2 后,您可以将 overcloud 从 Open vSwitch 迁移到 Open Virtual Network(OVN)。

  5. 保存 containers-prepare-parameter.yaml 文件。
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat