cinder-api-microversions code

Bug #1549548 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Unassigned

Bug Description

https://review.openstack.org/224910
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/cinder" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.

commit 6b11d276d13cc866aea9b3cfa321b3b19ee13d55
Author: scottda <email address hidden>
Date: Wed Sep 16 12:57:35 2015 +0000

    cinder-api-microversions code

    Many changes to the Cinder REST API require changes to the consumers of the API.
    For example, If we need to add a required parameter to a method that is called
     by Nova, we'd need both the Nova calling code and the cinderclient that
    Nova uses to change. But newer Cinder versions with the change must work with
    older Nova versions, and there is no mechanism for this at the moment. Adding
    microversions will solve this problem.
    With microversions, the highest supported version will be negotiated by a field
    in the HTTP header that is sent to the Cinder API. In the case where the field
    'versions' is not sent (i.e. clients and scripts that pre-date this change),
    then the lowest supported version would be used. In order to ensure that the
    API consumer is explicitly asking for a microversioned API, a new endpoint v3
    is added, which is identical to API version v2. This means that our new
    Cinder API v3 would be the default, and consumers of the API that wished to
    use a newer version could do so by using that endpoint and a microversion in
    the HTTP header.
    New tests for microversioned API features on endpoint /v3 should be added to
    cinder/tests/unit/api/v3/ directory. Existing functionality will be tested via
    the .../v2/ unit tests.

    DocImpact
    APIImpact
    Implements: https://blueprints.launchpad.net/cinder/+spec/cinder-api-microversions
    Change-Id: I48cdbbc900c2805e59ee9aebc3b1c64aed3212ae

Revision history for this message
Michal Dulko (michal-dulko-f) wrote :

Hey Scott, can you explain what is needed to be added to docs (maybe examples from Nova/Manila) and reassign this to openstack-manuals?

Changed in cinder:
assignee: nobody → Scott DAngelo (scott-dangelo)
Changed in cinder:
importance: Undecided → High
Revision history for this message
Scott DAngelo (scott-dangelo) wrote :

I don't think anything needs to be added that is not already included in the devref:
http://docs.openstack.org/developer/cinder/devref/api_microversion_dev.html

Changed in cinder:
assignee: Scott DAngelo (scott-dangelo) → nobody
Revision history for this message
Scott DAngelo (scott-dangelo) wrote :

I'm unable to re-assign this bug to openstack-manuals (I lack the permissions).
This can be closed AFAIC, if that doesn't cause any issues.

affects: cinder → openstack-manuals
Changed in openstack-manuals:
importance: High → Medium
status: New → Confirmed
tags: added: autogenerate-config-docs
Changed in openstack-manuals:
milestone: none → mitaka
Changed in openstack-manuals:
milestone: mitaka → newton
Revision history for this message
KATO Tomoyuki (kato-tomoyuki) wrote :
Changed in openstack-manuals:
status: Confirmed → Won't Fix
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.