신입개발자로 취업하기까지/오픈스택
Glance 이미지 관리하기(버전확인,활성화,이미지목록확인)
ordinarytoengineer
2020. 7. 21. 15:21
*cirros 이미지 활용
7. glance 서비스 테스트
yum -y install wget
wget http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img

openstack image create "cirrors" \
--file cirros-0.3.5-x86_64-disk.img \
--disk-format qcow2 \
--container-format bare \
--public

8.버전확인
glance --version
glance image-show id번호적기
id예) a732aca0-6a88-406b-9d27-1e3df3203fcc) //이미지내용확인

glance image-deactivate id번호적기
(a732aca0-
6a88-406b-9d27-1e3df3203fcc) //이미지비활성화
openstack image list //이미지 상태 확인
glance image-reactivate a732aca0-6a88-406b-9d27-1e3df3203fcc //이미지활성화

openstack image list //이미지 상태 확인

#오픈스택 바이블 책에 있는 p182의 glance-registry.conf 대로 수정하지 말 것
버전의 문제인 것으로 보인다.
olso.config. parseerror ~ 그리고 section must be started before signment 와 같은 장애 발생