3.3. Director에서 오버클라우드 이미지 업그레이드
다음 절차의 단계를 시도하기 전에 3.1절. “중요한 사전 업그레이드 노트” 의 정보를 읽으십시오.
이 절차에서는 노드 검색 및 Overcloud 배포를 위한 최신 이미지가 있는지 확인합니다. rhosp-director-images
및 rhosp-director-images-ipa
패키지의 새 이미지는 Undercloud 업그레이드에서 이미 업데이트되었습니다.
stack
사용자 홈(/home/stack/
)의 images 디렉터리에서 기존 이미지를 제거한 다음 새 이미지 아카이브를 복사합니다.
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/.
$ 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
$ 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 overcloud image upload --update-existing --image-path ~/images/.
$ openstack baremetal configure boot
이미지 업데이트를 완료하려면 새 이미지가 있는지 확인합니다.
openstack image list ls -l /httpboot
$ openstack image list
$ ls -l /httpboot
이제 director가 최신 이미지로 업그레이드되었습니다.
Overcloud 이미지 버전이 Undercloud 버전에 해당하는지 확인합니다.