This patch configures Nova to send a service token along with the
received user token on requests to other services. This can allow those
other services to accept the request even if the user token has been
invalidated since received by Nova. Also with this patch Nova will
accept request from other services with invalid user tokens but valid
service tokens. Service tokens exist since Openstack Queens.
Closes-Bug: #1992840
Change-Id: I78b43ef77dc1d7b5976ec81ecddf63c9e6c8b6c1
(cherry picked from commit 3c53110282b97c42a00cee9ee344f32dc8cf29c5)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- nova-compute/ +/883404 /opendev. org/openstack/ charm-nova- compute/ commit/ 2f2f34c84f3a499 2cef86d10176a39 4d65a5bf10
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit 2f2f34c84f3a499 2cef86d10176a39 4d65a5bf10
Author: Jorge Merlino <email address hidden>
Date: Tue Nov 29 14:36:57 2022 -0300
Add support for using service tokens
This patch configures Nova to send a service token along with the
received user token on requests to other services. This can allow those
other services to accept the request even if the user token has been
invalidated since received by Nova. Also with this patch Nova will
accept request from other services with invalid user tokens but valid
service tokens. Service tokens exist since Openstack Queens.
Closes-Bug: #1992840 b5976ec81ecddf6 3c9e6c8b6c1 2a00cee9ee344f3 2dc8cf29c5)
Change-Id: I78b43ef77dc1d7
(cherry picked from commit 3c53110282b97c4