Achieving Zen-like Bliss with Glance
Brian Rosmaita, irc: rosmaita Erno Kuvaja, irc: jokke_
November 2017
Achieving Zen-like Bliss with Glance Brian Rosmaita, irc: rosmaita - - PowerPoint PPT Presentation
November 2017 Achieving Zen-like Bliss with Glance Brian Rosmaita, irc: rosmaita Erno Kuvaja, irc: jokke_ Brian Rosmaita Distinguished Member of the Technical Staff Verizon Wireless Erno Kuvaja Senior Software Engineer The OpenStack Image
Brian Rosmaita, irc: rosmaita Erno Kuvaja, irc: jokke_
November 2017
Distinguished Member of the Technical Staff Verizon Wireless
Erno Kuvaja
Senior Software Engineer
The OpenStack Image Service (codenamed “Glance”) is developed and maintained by the Glance project. Glance allows you to to store, browse, share, distribute, and manage bootable disk images. The glance software provides the Image Service APIs.
removed in the Queens release developer.openstack.org/api-ref/image
○ Tuesday, 4:10-4:50pm ○ Level 4 - C4.11
○ Wednesday, 11:25-11:45am ○ Level 3 Convention Center - C3.2
start using it! ○ Wednesday, 4:30-5:10pm ○ Level 3 Convention Center - Cockle Bay Room 2
1.
How do I discover images ?
2.
How do I share images effectively with my organization?
3.
How can I make better use of my image metadata using property protections?
4.
How do I ensure the authenticity of image data using digital signature?
5.
What are image locations? Are they appropriate for my cloud?
6.
What is the new image import workflow, and what does it do for me?
November 2017
➡ The Glance image-list call ➡ GET /v2/images
available to the end user
➡ The Glance image-list call ➡ GET /v2/images
➡ The Glance image-list call ➡ GET /v2/images
➡ The Glance image-list call ➡ GET /v2/images
filter
➡ The Glance image-list call ➡ GET /v2/images
properties with standardized values across OpenStack clouds
negations
(introduced in Mitaka)
OpenStack front end to ElasticSearch)
➡ The Glance image-list call ➡ GET /v2/images
November 2017
➡ Well, it depends on who you are and what you want to accomplish! ➡ We’ll consider “sharing” to mean “make an image available to someone other than the
image owner”
➡ In Glance, who has access to an image is tied to the image’s ‘visibility’ property
➡ You change an image’s visibility by using the image-update (PATCH) call
➡ Public images
between the operator and end users
best to keep this expectation in mind
➡ Community images
available to all users, and were willing to maintain the image and support it themselves
exactly has access to it
➡ Shared images
image
➡ Shared images
Ocata)
has access to the image
the image
image
November 2017
➡ Property protections were introduced in Havana ➡ Allow an operator to specify CRUD on custom image properties (“image metadata”) ➡ Called “property protections” instead of “protected properties” because they’re not a
particular kind of image property
➡ Can be configured to use roles or policy rules to describe the permissions ➡ Left to the operator to document how the protections are set in a particular cloud
➡ Configuring
➡ The property_protection_file
property
➡ The property_protection_file
property_protection_rule_format is set)
➡ Hints
easy to misconfigure
don’t do more than you want
➡ Hints
rules that are different from your other glance policy rules
what’s allowed and publish it
November 2017
➡ Glance has had this capability since Liberty ➡ It was strengthened in Newton to eliminate dependency on MD5 ➡ Requires a bit of infrastructure
➡ Requires offline work by the end user
method identifier, and the signature
➡ What Glance does
validates the data based on what Glance has computed during the upload vs. the signature stored as an image property
November 2017
➡ Image locations are part of the Images API that exposes the values which Glance uses to
track the actual data associated with images.
➡ Per default the API exposing the locations is disabled by configuration and allowed in
policies.
➡ Every Glance deployment uses image locations but none of them should expose it to their
end users
locations
➡ There are legit use cases to expose the locations API:
glance locations to do snapshots etc.
So why do we have this feature still?
➡ Effectively only way to do this right is to have fenced out nodes for
the needed use cases
but not by the public
November 2017
➡ We’ll only touch on this briefly today ➡ There’s a full session devoted to the new interoperable image import process later this
week
@OpenStack
Thank you!
OpenStackFoundation