6.8. 获取用于升级的过渡容器


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

流程

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

    • 如果您的部署使用了使用 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
            ...
      • *_stein 参数定义 Red Hat OpenStack Platform 15 的容器镜像,升级过程用于数据库迁移。
      • ceph3 authenticate 参数定义 overcloud 使用的当前 Red Hat Ceph Storage 容器镜像。对于从 Red Hat Ceph Storage 3 转换到 4,overcloud 需要 ceph 3uildDefaults 和 cephuildDefaults 参数。
      • 如果您使用 Red Hat Satellite Server 进行容器镜像存储,请将命名空间设置为 Red Hat Satellite Server 上的镜像位置。
    • 如果您的部署使用外部 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
            ...
      • *_stein 参数定义 Red Hat OpenStack Platform 15 的容器镜像,升级过程用于数据库迁移。
      • cephui ldDefaults 参数定义 overcloud 使用的当前 Red Hat Ceph Storage 4 容器镜像。
      • 如果您使用 Red Hat Satellite Server 进行容器镜像存储,请将命名空间设置为 Red Hat Satellite Server 上的镜像位置。
  4. neutron_driver 参数更改为 openvswitch

    parameter_defaults:
      ContainerImagePrepare:
      - push_destination: true
        set:
          ...
          neutron_driver: openvswitch
          ...

    升级在整个流程中保留 Open vSwitch 兼容性。完成升级到 Red Hat OpenStack Platform 16.1 后,您要将 overcloud 从 Open vSwitch 迁移到 Open Virtual Network (OVN)。

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

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat, Inc.