Skip to content

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

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

Set service_type in [keystone_authtoken] for access rule validation#933
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 dprince and stuggi June 25, 2026 08:51
@Deydra71 Deydra71 requested a review from fmount June 25, 2026 09:38

@fmount fmount 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

@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, fmount

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:

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

@fmount fmount removed the lgtm label Jun 25, 2026
memcache_tls_cafile = {{ .MemcachedAuthCa }}
memcache_tls_enabled = true
{{end}}
service_type = image

@fmount fmount Jun 25, 2026

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.

@Deydra71 before merging I was wondering if it makes sense to propagate [1] via templateParameters.
In addition looks like ServiceType is what we use in the first place to call the keystoneAPI and register a new Service [2].

[1] https://github.com/openstack-k8s-operators/glance-operator/blob/main/internal/glance/const.go#L36
[2] https://github.com/openstack-k8s-operators/glance-operator/blob/main/internal/controller/glance_controller.go#L476

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.

@Deydra71 I won't paste the same comment everywhere but worth double checking this part for other operators as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks @fmount ! I raised your question in nova --> openstack-k8s-operators/nova-operator#1136 (comment)

With that I think we should keep it hardcoded so it's unified across operators, wdyt?

@fmount fmount Jun 25, 2026

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.

ok, let's keep consistency and hardcode it everywhere. we'll folllow up if we really need to!

@fmount

fmount commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Jun 25, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit 45d91b1 into openstack-k8s-operators:main Jun 25, 2026
6 checks passed
@fmount

fmount commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@Deydra71 at this point main is supposed to be 19: feel free to cherry-pick to FR6 to make sure we get this fix

@Deydra71

Copy link
Copy Markdown
Contributor Author

/cherry-pick 18.0-fr6

@openshift-cherrypick-robot

Copy link
Copy Markdown

@Deydra71: new pull request created: #937

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.

3 participants