6.8. 为升级获取过渡容器
升级需要之前版本的 Red Hat OpenStack Platform 和 Red Hat Ceph Storage 的容器。这些容器有助于过渡到 Red Hat OpenStack Platform 16.2。
流程
-
以
stack用户身份登录 undercloud 主机。 -
编辑
containers-prepare-parameter.yaml文件。 添加 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 ...-
*_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 ...-
*_stein参数为 Red Hat OpenStack Platform 15 定义容器镜像,升级过程用于数据库迁移。 -
ceph_*参数定义 overcloud 使用的当前 Red Hat Ceph Storage 4 容器镜像。 - 如果您使用 Red Hat Satellite Server 进行容器镜像存储,请将命名空间设置为 Red Hat Satellite 服务器上的镜像位置。
-
将
neutron_driver参数更改为openvswitch:parameter_defaults: ContainerImagePrepare: - push_destination: true set: ... neutron_driver: openvswitch ...升级在整个过程中保持 Open vSwitch 兼容性。完成升级到 Red Hat OpenStack Platform 16.2 后,您可以将 overcloud 从 Open vSwitch 迁移到 Open Virtual Network(OVN)。
-
保存
containers-prepare-parameter.yaml文件。