Skip to content

Add support for Glance Location API configuration in OpenStack operator#1841

Open
fmount wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
fmount:location-api
Open

Add support for Glance Location API configuration in OpenStack operator#1841
fmount wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
fmount:location-api

Conversation

@fmount
Copy link
Contributor

@fmount fmount commented Mar 6, 2026

This change integrates the Location API feature exposed by Glance.
It enables single GlanceAPI StatefulSet deployments for regular backends in RHOSO 19, and it reduces the PVC resource requirements, resulting in a simplified deployment topology.
The Location API is controlled via the glance.openstack.org/location-api annotation set in the Glance CR for backward compatibility, allowing existing deployments (based on RHOSO 18) to continue to work with the split method while enabling the new single API deployment model for new (19 based) setups.

Jira: https://issues.redhat.com/browse/OSPRH-17562

Depends-On: openstack-k8s-operators/glance-operator#748

@openshift-ci openshift-ci bot requested review from rebtoor and slagle March 6, 2026 10:34
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 6, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: fmount
Once this PR has been reviewed and has the lgtm label, please assign rabi for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

OpenStackControlPlane CRD Size Report

Metric Value
CRD JSON size 322063 bytes (315KB)
Base branch size 322062 bytes
Change +0.00%
Status yellow — growing
Threshold reference
Color Range Meaning
🟢 green < 300KB Comfortable
🟡 yellow 300–400KB Growing
🟠 orange 400–750KB Concerning
🔴 red > 750KB Approaching 1.5MB etcd limit (cut in half to allow space for update)

@fmount fmount requested review from abays, dprince, konan-abhi and stuggi and removed request for rebtoor and slagle March 6, 2026 10:34
@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/0f5accedf44c4e289232c675f5db9697

openstack-k8s-operators-content-provider FAILURE in 15m 30s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4c99ce0d1cf84c22be9394cb7f66dbf4

openstack-k8s-operators-content-provider FAILURE in 16m 56s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

This change integrates the Glance Location API feature exposed by Glance.
It enables "single" GlanceAPI StatefulSet deployments with regular backends
for RHOSO 19, and it reduces the PVC resource requirements, resulting in a
simplified deployment topology.
The Location API is controlled via the "glance.openstack.org/location-api"
annotation in the Glance CR for backward compatibility, allowing existing
deployments to continue to work with the split method while enabling the new
single-API deployment model for new (19 based) setups.

Signed-off-by: Francesco Pantano <fpantano@redhat.com>
@softwarefactory-project-zuul
Copy link

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/5180a4e250a64508a8e7146d63698de7

openstack-k8s-operators-content-provider FAILURE in 14m 03s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 6, 2026

@fmount: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/precommit-check c8f7a0b link true /test precommit-check
ci/prow/openstack-operator-build-deploy-kuttl-4-18 c8f7a0b link true /test openstack-operator-build-deploy-kuttl-4-18

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

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.

1 participant