You must specify the 'policies' field. Currently, not doing so will
result in a HTTP 500 error code. This should be a 4xx error. Add a test
to demonstrate the bug before we provide a fix.
Change-Id: I72e85855f621d3a51cd58d14247abd302dcd958b
Signed-off-by: Stephen Finucane <email address hidden>
Related-Bug: #1894966
(cherry picked from commit 2c66962c7a40d8ef4fab54324e06edcdec1bd716)
Reviewed: https:/ /review. opendev. org/752371 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=94d24e3e8d0 4488abdebd4969d af98b780125297
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 94d24e3e8d04488 abdebd4969daf98 b780125297
Author: Stephen Finucane <email address hidden>
Date: Wed Sep 16 10:52:17 2020 +0100
tests: Add regression test for bug 1894966
You must specify the 'policies' field. Currently, not doing so will
result in a HTTP 500 error code. This should be a 4xx error. Add a test
to demonstrate the bug before we provide a fix.
Change-Id: I72e85855f621d3 a51cd58d14247ab d302dcd958b f4fab54324e06ed cdec1bd716)
Signed-off-by: Stephen Finucane <email address hidden>
Related-Bug: #1894966
(cherry picked from commit 2c66962c7a40d8e