6.8. 获取用于升级的过渡容器
升级需要来自之前版本的 Red Hat OpenStack Platform 和 Red Hat Ceph Storage 的容器。这些容器有助于过渡到 Red Hat OpenStack Platform 16.1。
流程
-
以
stack
用户身份登录 undercloud 主机。 -
编辑
containers-prepare-parameter.yaml
文件。 在
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 Storage3
转换到 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 上的镜像位置。
-
将
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)。
-
保存
containers-prepare-parameter.yaml
文件。