Files
devstack/lib
Stephen Finucane 1c86258e6b Enable response validation in Keystone
Unlike other projects, Keystone was previously enabling validation for
all responses. This is a bad idea (TM). Quoting from the Keystone docs
for the new '[api] response_validation' option added in [1]:

  'warn' is the current recommendation for production environments. If
  you find it necessary to enable the 'ignore' option, please report the
  issues you are seeing to the Keystone team so we can improve our
  schemas.

  'error' should not be used in a production environment. This is
  because schema validation happens *after* the response body has been
  generated, meaning any side effects will still happen and the call may
  be non-idempotent despite the user receiving a HTTP 500 error.

DevStack is not used for production environments and is instead the
test harness used for the bulk of our integration testing. We *do* want
failed response validation to result in an error, since it will
highlight bugs in our schemas. Thus, we should override the default
value for this option.

[1] https://review.opendev.org/c/openstack/keystone/+/962851

Change-Id: I9fc2c5dce9511165ad2c1ab18db5eb439d357d9b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Related-bug: #2126676
2025-11-06 15:30:35 +00:00
..
2025-08-13 12:37:38 +00:00
2025-03-04 15:25:34 +00:00
2025-05-05 14:13:45 +05:30
2024-08-20 17:23:02 +09:00
2025-05-08 19:05:27 +00:00
2024-12-03 17:15:36 +00:00
2025-06-27 15:00:34 +00:00
2023-08-24 03:28:31 +00:00
2022-12-16 09:59:11 +01:00
2023-02-16 12:01:39 +01:00
2019-03-29 11:20:19 -07:00