Introspection of images
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=
# Extent description
RDONLY 209714 SPARSE "generated-
# The Disk Data Base
#DDB
ddb.adapterType = "buslogic"
ddb.geometry.
ddb.geometry.heads = "64"
ddb.geometry.
ddb.virtualHWVe
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:/
Blueprint information
- Status:
- Complete
- Approver:
- Mark Washenberger
- Priority:
- Medium
- Drafter:
- Arnaud Legendre
- Direction:
- Approved
- Assignee:
- Flavio Percoco
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Implemented
- Milestone target:
- 2015.1.0
- Started by
- Nikhil Komawar
- Completed by
- Nikhil Komawar
Related branches
Related bugs
Sprints
Whiteboard
Arnaud,
I just came across this blueprint and associated design: https:/
Should we consider moving that blueprint under this one? or marking it as depending on this blueprint?
I think epa-ovf-
(nikhil): I'm very interested in this BP. We at Rackspace have the proof of concept import task running with some sort of introspection already. Would really like to provide feedback on what are the existing use cases, some lessons learnt and ideas around how we can collaborate more on this front. Also, wish to be involved in the design discussions, review feedback on the MPs and code contributions if needed.
Gerrit topic: https:/
Addressed by: https:/
Glance Image Introspection
Gerrit topic: https:/
Work Items
Dependency tree
* Blueprints in grey have been implemented.