Chapter 3. Restoring images for overcloud nodes
The director requires the latest disk images for provisioning new overcloud nodes. Follow this procedure to restore these images.
Procedure
Source the
stackrcfile to enable the director’s command line tools:[stack@director ~]$ source ~/stackrcInstall the
rhosp-director-imagesandrhosp-director-images-ipapackages:(undercloud) [stack@director ~]$ sudo yum install rhosp-director-images rhosp-director-images-ipaExtract the images archives to the
imagesdirectory in thestackuser’s home (/home/stack/images):(undercloud) [stack@director ~]$ cd ~/images (undercloud) [stack@director images]$ for i in /usr/share/rhosp-director-images/overcloud-full-latest-13.0.tar /usr/share/rhosp-director-images/ironic-python-agent-latest-13.0.tar; do tar -xvf $i; doneImport these images into the director:
(undercloud) [stack@director images]$ cd ~/images (undercloud) [stack@director images]$ openstack overcloud image upload --image-path /home/stack/images/Configure nodes in your environment to use the new images:
(undercloud) [stack@director images]$ for NODE in $(openstack baremetal node list -c UUID -f value) ; do openstack overcloud node configure $NODE ; done