Show Table of Contents
10.3. 更新 Overcloud 镜像
重要
在执行以下操作前,请阅读 第 10.1 节 “升级前需要注意的信息” 中的信息。
这个过程可以确保您有最新的镜像来进行节点发现和 Overcloud 部署。通过
rhosp-director-images 和 rhosp-director-images-ipa 软件包来获得这些新镜像:
$ sudo yum install rhosp-director-images rhosp-director-images-ipa
从
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 现在被更新为使用最新的镜像。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.