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/ +/882390 /opendev. org/openstack/ charm-nova- compute/ commit/ d9dc048a514546c 481d1a1acb87f7f 52a31a4a39
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit d9dc048a514546c 481d1a1acb87f7f 52a31a4a39
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