← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
     Assignee: Alex Xu (xuhj)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Alex Xu (xuhj)

-- 
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):
  New

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


Follow ups