3.3. 升级 Director 上的 Overcloud 镜像


重要

确保在以下流程中的任何步骤前读取 第 3.1 节 “重要的 Pre-Upgrade 备注” 中的信息。

此流程确保您具有用于节点发现和 Overcloud 部署的最新镜像。来自 rhosp-director-imagesrhosp-director-images-ipa 软件包的新镜像已从 Undercloud 升级更新。

stack 用户的主目录上的 images 目录中删除任何现有镜像(/home/stack/images),然后复制新镜像存档:

$ rm -rf ~/images/*
$ cp /usr/share/rhosp-director-images/overcloud-full-latest-8.0.tar ~/images/.
$ cp /usr/share/rhosp-director-images/ironic-python-agent-latest-8.0.tar ~/images/.

提取存档:

$ cd ~/images
$ for tarfile in *.tar; do tar -xf $tarfile; done

将最新的镜像导入到 director 中,并配置节点以使用新镜像

$ openstack overcloud image upload --update-existing --image-path ~/images/.
$ openstack baremetal configure boot

要完成镜像更新,请验证新镜像是否存在:

$ openstack image list
$ ls -l /httpboot

director 现在使用最新的镜像升级。

重要

确保 Overcloud 镜像版本对应于 Undercloud 版本。

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.