Provide list of available extra specs for users to choose from

Registered by Julie Gravel

Summary:
Currently users manage the volume type extra specs through the “View Extra Specs” action in Admin -> Volumes -> Volume Types table. This action allows users to create, edit, and delete extra specs associated to a volume type via a simple table and dialog mechanism. Both the “Create Volume Type Extra Spec” and the “Edit Volume Type Extra Spec” dialogs do not offer much help in terms of what the extra specs keys and values should be. Most of the time users have to look through the driver documentation or even the code to see what keys could be used in their situations. This is a rather difficult, error-prone, and time consuming task.

Motivation:
Horizon should provide a process that helps to guide users into completing a task in a more intuitive way which consumes less time.

Description:
The purpose of this blueprint is to offer a list of possible keys for users to select from when they set up extra specs for a volume type. Descriptions and possible values for the keys will also be available. Having this information handy allows users to set up extra specs in a shorter amount of time.

UX:
Both the “Create Volume Type Extra Spec” and the “Edit Volume Type Extra Spec” dialogs will be replaced with a widget similar to the one used in Admin -> Flavors -> Update Metadata dialog. The list of possible extra specs keys will be displayed on the left hand side table for users to select from. This list of keys will be provided by a Cinder command which fetches the list from the driver(s) that the volume type associates to. The Cinder command will provide some information about those keys such as key description, possible values, value range, and value type. The dialog can use this information to set constraints for the value field.

Outside Dependencies:
A new Cinder API and the corresponding command will be developed to provide the list of available extra specs keys. Please see the cinder specs proposal at https://review.openstack.org/127646 - specs/kilo/get-vol-type-extra-specs.rst.

Requirements Update Required:
N/A

Doc Impact:
N/A

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
Low
Drafter:
Julie Gravel
Direction:
Approved
Assignee:
Julie Gravel
Definition:
Obsolete
Series goal:
None
Implementation:
Blocked
Milestone target:
None
Started by
David Lyle
Completed by
David Lyle

Related branches

Sprints

Whiteboard

asahlin: +1

Gerrit topic: https://review.openstack.org/#q,topic:bp/vol-type-extra-specs-widget,n,z

Addressed by: https://review.openstack.org/139026
    Volume type extra specs widget

Gerrit topic: https://review.openstack.org/#q,topic:bp/vol-type-extra-specs-describe,n,z

Addressed by: https://review.openstack.org/147647
    Add support for cinder pools

Gerrit topic: https://review.openstack.org/#q,topic:bp/vol-type-set-backend-name,n,z

[david-lyle | 2015-03-03] python-cinderclient hasn't released making this unlikely for Kilo, moving out.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.