Evacuate API loses the json-schema validation in 2.13

Bug #1683752 reported by Alex Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Alex Xu
Newton
Fix Released
High
Lee Yarwood
Ocata
Fix Released
High
Alex Xu

Bug Description

Evacuate API loses the json-schema validation since the commit c01d16e81af6cd9453ffe7133bdc6a4c82e4f6d5

http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/compute/evacuate.py?id=c01d16e81af6cd9453ffe7133bdc6a4c82e4f6d5#n80

    @validation.schema(evacuate.evacuate, "2.1", "2.12")
    @validation.schema(evacuate.evacuate_v214, "2.14")
    def _evacuate(self, req, id, body):
...

The is a gap between two validation.schema decorator.

Tags: api evacuate
Alex Xu (xuhj)
Changed in nova:
assignee: nobody → Alex Xu (xuhj)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/457577
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c97c44cdfb35ecbf473ac5c98c2d3a4e9871ee8c
Submitter: Jenkins
Branch: master

commit c97c44cdfb35ecbf473ac5c98c2d3a4e9871ee8c
Author: He Jie Xu <email address hidden>
Date: Tue Apr 18 19:40:50 2017 +0800

    Fix the evacuate API without json-schema validation in 2.13

    The evacuate API loses the json-schema validation in 2.13 since
    the commit c01d16e81af6cd9453ffe7133bdc6a4c82e4f6d5. This patch
    fixes it.

    Change-Id: I7f221e3b924d91739ec9b24fd090410fb5fce55a
    Closes-bug: #1683752

Changed in nova:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/458548

Matt Riedemann (mriedem)
tags: added: api evacuate
Changed in nova:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/460161

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/ocata)

Reviewed: https://review.openstack.org/458548
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4cd77a28bc5e51f73cff2c1876e5c78159a93207
Submitter: Jenkins
Branch: stable/ocata

commit 4cd77a28bc5e51f73cff2c1876e5c78159a93207
Author: He Jie Xu <email address hidden>
Date: Tue Apr 18 19:40:50 2017 +0800

    Fix the evacuate API without json-schema validation in 2.13

    The evacuate API loses the json-schema validation in 2.13 since
    the commit c01d16e81af6cd9453ffe7133bdc6a4c82e4f6d5. This patch
    fixes it.

    Change-Id: I7f221e3b924d91739ec9b24fd090410fb5fce55a
    Closes-bug: #1683752
    (cherry picked from commit c97c44cdfb35ecbf473ac5c98c2d3a4e9871ee8c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/newton)

Reviewed: https://review.openstack.org/460161
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=41aef64b79e0a1654f237b2783c0ba0ec681c42c
Submitter: Jenkins
Branch: stable/newton

commit 41aef64b79e0a1654f237b2783c0ba0ec681c42c
Author: He Jie Xu <email address hidden>
Date: Tue Apr 18 19:40:50 2017 +0800

    Fix the evacuate API without json-schema validation in 2.13

    The evacuate API loses the json-schema validation in 2.13 since
    the commit c01d16e81af6cd9453ffe7133bdc6a4c82e4f6d5. This patch
    fixes it.

    Change-Id: I7f221e3b924d91739ec9b24fd090410fb5fce55a
    Closes-bug: #1683752
    (cherry picked from commit c97c44cdfb35ecbf473ac5c98c2d3a4e9871ee8c)
    (cherry picked from commit 4cd77a28bc5e51f73cff2c1876e5c78159a93207)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 15.0.4

This issue was fixed in the openstack/nova 15.0.4 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 14.0.6

This issue was fixed in the openstack/nova 14.0.6 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 16.0.0.0b2

This issue was fixed in the openstack/nova 16.0.0.0b2 development milestone.

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.