Conflicting policies should fail with ValidationError in v3

Bug #1413281 reported by Ildiko Vancsa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Ildiko Vancsa

Bug Description

With the new JSONSchema validation conflicting policies now fail with webob.exc.HTTPBadRequest as opposed to exception.ValidationError, as it is validated outside of the schema. This should be fixed.

Changed in nova:
assignee: nobody → Ildiko Vancsa (ildiko-vancsa)
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit ad0eab8bb2cb7ef50600d3a08a2c201f374304c8
Author: Ildiko Vancsa <email address hidden>
Date: Wed Jan 21 17:55:02 2015 +0100

    Fix policy validation in JSONSchema

    Fix the JSONSchema for server_group to include the validation of
    conflicting policies. The check in the create function in v3 was
    removed.

    Change-Id: I258f76adb6e5b85838bb2daae0ac25057ea8e650
    Closes-Bug: #1413281

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-2 → 2015.1.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.