diff --git a/manila/api/openstack/wsgi.py b/manila/api/openstack/wsgi.py index c5b9f1837e..7368190a84 100644 --- a/manila/api/openstack/wsgi.py +++ b/manila/api/openstack/wsgi.py @@ -864,7 +864,7 @@ class Resource(wsgi.Application): for hdr, val in response.headers.items(): val = utils.convert_str(val) response.headers[hdr] = val - + _set_request_id_header(request, response.headers) if not request.api_version_request.is_null(): response.headers[API_VERSION_REQUEST_HEADER] = ( request.api_version_request.get_string()) diff --git a/releasenotes/notes/bug-1815532-supply-request-id-in-all-apis-74419bc1b1feea1e.yaml b/releasenotes/notes/bug-1815532-supply-request-id-in-all-apis-74419bc1b1feea1e.yaml new file mode 100644 index 0000000000..e705202c24 --- /dev/null +++ b/releasenotes/notes/bug-1815532-supply-request-id-in-all-apis-74419bc1b1feea1e.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - APIs that were not returning a request ID ('x-compute-request-id') in the + response headers have been fixed.