Ability to add metadata to an image through horizon

Registered by Maithem

When creating an image through horizon, the user can specify some properties for the image. For example, the user can specify the size, image name, etc. Often, images need to be created with metadata, so that the virt driver can spawn images correctly. For example, whether the vm's controller is an ide or scsi, the virt driver must be notified. Glance enables this type of behavior by letting the user specify extra image properties in the form of key=value, a user can specify multiple sets of key=value pairs, which will be the images metadata. Horizon doesn't expose this basic functionality.

This blueprint will implement this functionality by adding an extra text field in the create image form. The user will be able to add metadata by inputting a key=value pairs on each line. For example:
Key1=val1
Key2=val2
This will be passed to glance as --property key1=val1 and --property key2=val2

Examples of image metadata:
http://docs.openstack.org/image-guide/content/image-metadata.html
Glance’s support for image metadata:
The [--property <key=value>]flag enables the addition of metadata key=value pairs
http://docs.openstack.org/user-guide/content/glanceclient_commands.html

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
Low
Drafter:
Maithem
Direction:
Approved
Assignee:
Maithem
Definition:
Superseded
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Maithem
Completed by
David Lyle

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/horizon-create-image-metadata,n,z

Addressed by: https://review.openstack.org/73527
    Allow metadata addition for image creation

Why is this marked as superseded? Superseded by what, the review is still in-progress?

[david-lyle | 2014.10.14] This work is superseded by https://blueprints.launchpad.net/horizon/+spec/tagging

The new method reduces the risk of typos, etc and is a fuller implementation of adding metadata.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.