Glance

splited into sub services

Glance-api

roles:
1. expose glance api to all other openstack component
2. image management as background job

Glance Config
1. DB to use
2. credential for auth with keystone
3. storage backend cofnig

Glance command
openstack image list
openstack image create
openstack image set

Supported backend
file / ceph /swift / cinder / S3
\

Image Compatibility
RAW: on-disk
Qcow2: compression + copy on writeV
VMDK: by VMware
VHD: now Microsoft
AMI: Amazon machine image

It also possible to upload the new kernetl with its ramdisk to glance in order to prevent creating a whole new image

Glance Configuration
1. DB connection
2. Keystone connection and credentials to authenticate glance itself

Creating Image

there are some way to create but a notice:
add cloud-init in linux based images and cloudbase.init to windows images
we can also convert a physical machine to vm image in linux using dd to create raw image (don’t forget to modify setting to match virtual env. like /etc/fstab and grub)
p2v is a bit more difficult for windows, because of driver and controllers that specific to the underlying hardware

Leave a Reply

Your email address will not be published. Required fields are marked *