← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1683752] Re: Evacuate API loses the json-schema validation in 2.13

 

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 <hejie.xu@xxxxxxxxx>
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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1683752

Title:
  Evacuate API loses the json-schema validation in 2.13

Status in OpenStack Compute (nova):
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1683752/+subscriptions


References