Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
OPENSTACK GLANCE
OpenStack STL Meetup
5/21/2015
OpenStack Glance
• OpenStack Glance introduction
• Releases
• Software Architecture
• Deployment architecture
• Using Open...
OpenStack Glance
• Glance image services include discovering, registering,
and retrieving virtual machine images. Glance h...
OpenStack Glance Components
• glance-api
• Accepts Image API calls for image discovery, retrieval, and storage.
• glance-r...
OpenStack Glance - Supported Disk and
Container formats
• Disk Formats
• raw (unstructured)
• qcow2 (Qemu)
• iso
• vhd, vm...
OpenStack Glance Architecture
6
OpenStack Glance Image Status Flow
7
OpenStack Glance Images & Instances
8
OpenStack Glance Image Cache
9
• By default, image caching is disabled.
• The Glance API server may be configured to have ...
OpenStack Glance - Keystone
Authentication
10
• [filter:authtoken]
• paste.filter_factory =
keystonemiddleware.auth_token:...
OpenStack Glance Storage Backend
• There are a number of configuration options in Glance
that control how Glance stores di...
OpenStack Glance vSphere Backend
12
Using OpenStack Glance
$ qemu-img create -f qcow2 /data/centos-6.4.qcow2 10G
$ glance image-create --name centos64-image -...
OpenStack Glance – Image updates
• OpenStack Linux image requirements
• http://docs.openstack.org/image-
guide/content/ch_...
OpenStack Glance Contributors
15
OpenStack Glance Kilo Release
16
• Ability to deactivate an image.
• Basic support for Image conversion during the import
...
Q & A
17
• Thanks to our Sponsors (Cisco)
Upcoming SlideShare
Loading in …5
×

OpenStack Glance

1,942 views

Published on

OpenStack Glance

Published in: Technology
  • Be the first to comment

OpenStack Glance

  1. 1. OPENSTACK GLANCE OpenStack STL Meetup 5/21/2015
  2. 2. OpenStack Glance • OpenStack Glance introduction • Releases • Software Architecture • Deployment architecture • Using OpenStack Glance 2
  3. 3. OpenStack Glance • Glance image services include discovering, registering, and retrieving virtual machine images. Glance has a RESTful API that allows querying of VM image metadata as well as retrieval of the actual image. • VM images made available through Glance can be stored in a variety of locations from simple filesystems to object- storage systems like the OpenStack Swift project. 3
  4. 4. OpenStack Glance Components • glance-api • Accepts Image API calls for image discovery, retrieval, and storage. • glance-registry • Stores, processes, and retrieves metadata about images. Metadata includes items such as size and type. • glance database • Stores image metadata and you can choose your database depending on your preference. Most deployments use MySQL or SQLite. • Storage repository for image files 4
  5. 5. OpenStack Glance - Supported Disk and Container formats • Disk Formats • raw (unstructured) • qcow2 (Qemu) • iso • vhd, vmdk, vdi (Hyper-V, Esxi, Virtual Box) • aki, ari, ami (amazon images) • Container Formats • bare • OVF • aki, ari, ami 5
  6. 6. OpenStack Glance Architecture 6
  7. 7. OpenStack Glance Image Status Flow 7
  8. 8. OpenStack Glance Images & Instances 8
  9. 9. OpenStack Glance Image Cache 9 • By default, image caching is disabled. • The Glance API server may be configured to have an optional local image cache. A local image cache stores a copy of image files, essentially enabling multiple API servers to serve the same image file, resulting in an increase in scalability due to an increased number of endpoints serving an image file.
  10. 10. OpenStack Glance - Keystone Authentication 10 • [filter:authtoken] • paste.filter_factory = keystonemiddleware.auth_token:filter_factor y • identity_uri = http://127.0.0.1:35357 • admin_user = glance_admin • admin_tenant_name = service_admins • admin_password = password1234
  11. 11. OpenStack Glance Storage Backend • There are a number of configuration options in Glance that control how Glance stores disk images. • glance-api.conf config file • Available options for this option are (file, swift, s3, rbd, sheepdog, cinder or vsphere). 11
  12. 12. OpenStack Glance vSphere Backend 12
  13. 13. Using OpenStack Glance $ qemu-img create -f qcow2 /data/centos-6.4.qcow2 10G $ glance image-create --name centos64-image --disk- format=qcow2 --container-format=bare --is- public=True –file=/data/centos-6.4.qcow2 13
  14. 14. OpenStack Glance – Image updates • OpenStack Linux image requirements • http://docs.openstack.org/image- guide/content/ch_openstack_images.html • Tools for manipulating disk files • guestfish • Libfuestfs • Tools for creating images • Diskimage-builder • Oz • Packer 14
  15. 15. OpenStack Glance Contributors 15
  16. 16. OpenStack Glance Kilo Release 16 • Ability to deactivate an image. • Basic support for Image conversion during the import process of an Image • Images v2 API supports new sorting syntax including ability to specify the sort dir for each key. • Multiple datastore support for VMware Storage driver. • Glance Swift Store to use Multiple Containers for Storing Images.
  17. 17. Q & A 17 • Thanks to our Sponsors (Cisco)

×