Set service_type in [keystone_authtoken] for access rule validation#1136
Conversation
Without service_type configured, keystonemiddleware cannot validate application credentials with custom access rules, causing HTTP 401 for end users. Closes: OSPRH-22365 Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
SeanMooney
left a comment
There was a problem hiding this comment.
looking at https://redhat.atlassian.net/browse/OSPRH-22365 this does seam valid
im not sure that this is docuemented partically well upstream and that reminds me we aslo need to enable apllciation creditial in devstakc in the upstream ci.
but this is good to knwo that we shoudl be populating this to have the correct behaivor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Deydra71, gibizer, mrkisaolamb, SeanMooney The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Hi! @SeanMooney @gibizer There's been a question raised in glance-operator to propagate service_type using templateParameters eg - [1] [1] https://github.com/openstack-k8s-operators/glance-operator/blob/main/internal/glance/const.go#L36 In nova we would need to put it in every nove controller, correct? WDYT about hardcoding vs using the template parameter. |
|
Build failed (check pipeline). Post ✔️ openstack-meta-content-provider SUCCESS in 3h 45m 12s |
hardcoding it is the correct approch and are quried to have specific value for cloud interoperatblity so for nova nad placmeent this patch is good as is we dont really need to pass it as a template parmater since its not something we will be changing so there is no need to add a constant in go and pass that in to the template rendering |
|
recheck |
31edca4
into
openstack-k8s-operators:main
|
/cherry-pick 18.0-fr6 |
|
@Deydra71: new pull request created: #1140 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Without service_type configured, keystonemiddleware cannot validate application credentials with custom access rules, causing HTTP 401 for end users.
Closes: OSPRH-22365