Horizon Use Cinder V2 as Preferred Version

Registered by Gloria Gu

Current Horizon cinder API supports cinderclient v1 and cinderclient v2. However cinderclient v1 is by default the preferred version.

In order to see the features which are implemented in Horizon and only supported in cinderclient v2, user need to change settings files local_settings.py to uncomment the following :

OPENSTACK_API_VERSIONS = {
    #"identity": 3,
   "volume": 2
}

cinderclient v2 is backwards compatible, propose to set the Horizon cinder API to use cinderclient v2 by default.

VERSIONS = base.APIVersionManager("volume", preferred_version=2)

By the way nova project is moving to use cinderclient v2 as default.
https://blueprints.launchpad.net/nova/+spec/support-cinderclient-v2

Note: changes are simple, however testing should be thoroughly performed.

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
Medium
Drafter:
Gloria Gu
Direction:
Approved
Assignee:
Gary W. Smith
Definition:
Approved
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
milestone icon 2015.1.0
Started by
David Lyle
Completed by
David Lyle

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bug/1376424,n,z

Addressed by: https://review.openstack.org/130398
    Use cinder API v2, remove support for v1

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.