Skip to content

Set service_type in [keystone_authtoken] for access rule validation#1136

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
Deydra71:service-type-access-rules
Jun 26, 2026
Merged

Set service_type in [keystone_authtoken] for access rule validation#1136
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
Deydra71:service-type-access-rules

Conversation

@Deydra71

@Deydra71 Deydra71 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Without service_type configured, keystonemiddleware cannot validate application credentials with custom access rules, causing HTTP 401 for end users.

Closes: OSPRH-22365

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>
@openshift-ci openshift-ci Bot requested review from SeanMooney and kk7ds June 25, 2026 08:57

@gibizer gibizer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense. Thanks

@mrkisaolamb mrkisaolamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@SeanMooney SeanMooney left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

[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

Details Needs approval from an approver in each of these files:
  • OWNERS [SeanMooney,gibizer,mrkisaolamb]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Deydra71

Deydra71 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

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.

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/c57cb468e4d64988a6be8bd13b9a7686

✔️ openstack-meta-content-provider SUCCESS in 3h 45m 12s
✔️ nova-operator-kuttl SUCCESS in 54m 34s
nova-operator-tempest-multinode RETRY_LIMIT in 20m 22s
nova-operator-tempest-multinode-ceph FAILURE in 2h 38m 38s

@SeanMooney

Copy link
Copy Markdown
Contributor

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.

hardcoding it is the correct approch
service typs are not configurable they are dirfed by
https://opendev.org/openstack/service-types-authority/src/branch/master/service-types.yaml

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

@Deydra71

Copy link
Copy Markdown
Contributor Author

recheck

@openshift-merge-bot openshift-merge-bot Bot merged commit 31edca4 into openstack-k8s-operators:main Jun 26, 2026
7 checks passed
@Deydra71

Copy link
Copy Markdown
Contributor Author

/cherry-pick 18.0-fr6

@openshift-cherrypick-robot

Copy link
Copy Markdown

@Deydra71: new pull request created: #1140

Details

In response to this:

/cherry-pick 18.0-fr6

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants