Share 'task_state' field introduced by share migration shouldn't be available in API < 2.5

Bug #1494746 reported by Igor Malinovskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Rodrigo Barbieri

Bug Description

Share migration feature added 'task_state' field to the share API output. But API returns this field for API versions < 2.5

Tags: api
Changed in manila:
importance: Undecided → Medium
Changed in manila:
milestone: none → liberty-rc1
tags: added: api
Changed in manila:
assignee: nobody → Rodrigo Barbieri (rodrigo-barbieri2010)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.openstack.org/223245

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/223245
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=350dfb8b4a376607bcdbe7fb3d10a214dc0a3f94
Submitter: Jenkins
Branch: master

commit 350dfb8b4a376607bcdbe7fb3d10a214dc0a3f94
Author: Rodrigo Barbieri <email address hidden>
Date: Mon Sep 14 14:51:44 2015 -0300

    Fix task_state field shown on API < 2.5

    After Share Migration was included, the task_state field was
    added to be displayed on GET requests, but API versions prior to
    2.5 should not see this field. This patch fixes that by using
    microversions.

    Closes-bug: #1494746
    Change-Id: Ie755ae53fe8efdf1702a0ecbabf022a5fe4beb93

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: liberty-rc1 → 1.0.0
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.