11.3. Atomic Host 이미지 업로드
director에는 이미지 저장소로 atomic-image
로 가져온 Red Hat Enterprise Linux 7 Atomic Host의 Cloud Image 사본이 필요합니다. 이는 오버클라우드 생성 단계에서 컴퓨팅 노드에 기본 OS에 이 이미지가 필요하기 때문입니다.
Red Hat Enterprise Linux 7 Atomic Host 제품 페이지( https://access.redhat.com/downloads/content/271/ver=/rhel---7/7.2.2-2/x86_64/product-software)에서 Cloud Image 사본을 다운로드하여 stack
사용자의 홈 디렉터리의 images
하위 디렉터리에 저장합니다.https://access.redhat.com/downloads/content/271/ver=/rhel---7/7.2.2-2/x86_64/product-software
이미지 다운로드가 완료되면 이미지를 stack
사용자로 director로 가져옵니다.
$ glance image-create --name atomic-image --file ~/images/rhel-atomic-cloud-7.2-12.x86_64.qcow2 --disk-format qcow2 --container-format bare
그러면 이미지를 다른 Overcloud 이미지와 함께 가져옵니다.
$ glance image-list +--------------------------------------+------------------------+ | ID | Name | +--------------------------------------+------------------------+ | 27b5bad7-f8b2-4dd8-9f69-32dfe84644cf | atomic-image | | 08c116c6-8913-427b-b5b0-b55c18a01888 | bm-deploy-kernel | | aec4c104-0146-437b-a10b-8ebc351067b9 | bm-deploy-ramdisk | | 9012ce83-4c63-4cd7-a976-0c972be747cd | overcloud-full | | 376e95df-c1c1-4f2a-b5f3-93f639eb9972 | overcloud-full-initrd | | 0b5773eb-4c64-4086-9298-7f28606b68af | overcloud-full-vmlinuz | +--------------------------------------+------------------------+