Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1065605 - [RFE][glance]: Introspection of images
[RFE][glance]: Introspection of images
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance (Show other bugs)
unspecified
Unspecified Unspecified
high Severity medium
: Upstream M3
: 7.0 (Kilo)
Assigned To: Flavio Percoco
nlevinki
https://blueprints.launchpad.net/glan...
upstream_milestone_kilo-3 upstream_st...
: FutureFeature, Triaged
Depends On:
Blocks: 1213684
  Show dependency treegraph
 
Reported: 2014-02-15 00:07 EST by RHOS Integration
Modified: 2016-04-26 12:27 EDT (History)
5 users (show)

See Also:
Fixed In Version: openstack-glance-2015.1.0-6.el7ost
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-05 09:11:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 13:07:06 EDT

  None (edit)
Description RHOS Integration 2014-02-15 00:07:55 EST
Cloned from launchpad blueprint https://blueprints.launchpad.net/glance/+spec/introspection-of-images.

Description:

Several formats of images come with a set of metadata embedded inside the image itself.

For example, a stream optimized vmdk will look like this:
$ head -20 so-disk.vmdk

# Disk DescriptorFile
version=1
CID=d5a0bce5
parentCID=ffffffff
createType="streamOptimized"

# Extent description
RDONLY 209714 SPARSE "generated-stream.vmdk"

# The Disk Data Base
#DDB

ddb.adapterType = "buslogic"
ddb.geometry.cylinders = "102"
ddb.geometry.heads = "64"
ddb.geometry.sectors = "32"
ddb.virtualHWVersion = "4"

By introspecting this vmdk, we know easily that the disk_type is streamOptimized and the adapter_type is buslogic.
By doing this metadata extraction in Glance, the administrator doesn't have to care about all of these metadata unless he wants to override some of them.
These metadata are useful for the consumer of the image: in Nova, the workflow to instantiate a streamOptimized disk is totally different than the one to instantiate a flat disk.

This metadata extraction can be achieved using the asynchronous processing provided by this blueprint https://blueprints.launchpad.net/glance/+spec/async-glance-workers








Specification URL (additional information):

None
Comment 6 errata-xmlrpc 2015-08-05 09:11:43 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548

Note You need to log in before you can comment on or make changes to this bug.