Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new glanceAPI struct #514

Merged

Conversation

fmount
Copy link
Contributor

@fmount fmount commented Oct 13, 2023

This change is the first of a series where the purpose is to move away from the harcoded internal/external GlanceAPI instance in favor of an arbitrary number of GlanceAPI deployments.
The current change is based on [1] that does not introduce the ability to deploy >1 GlanceAPI instances, but introduces the a single glanceAPI struct that will serve this purpose.
The split behavior is still preserved, but it happens behind the scenes in Glance.
Finally, this patch bumps the operators to make sure everything works with the latest version of the API.

[1] openstack-k8s-operators/glance-operator#329

@openshift-ci openshift-ci bot requested review from olliewalsh and stuggi October 13, 2023 11:29
@fmount fmount requested review from fultonj, stuggi, dprince and abays and removed request for olliewalsh and stuggi October 13, 2023 11:29
@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://review.rdoproject.org/zuul/buildset/807f1254ae9a41d58cd62b4816bf83c3

openstack-k8s-operators-content-provider FAILURE in 11m 14s
⚠️ 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

@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://review.rdoproject.org/zuul/buildset/f30943d530ff4dea91bbf0d0f74f9dec

openstack-k8s-operators-content-provider FAILURE in 10m 48s
⚠️ 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

@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://review.rdoproject.org/zuul/buildset/04fcdbb60f574ddab726a0b496b3be91

openstack-k8s-operators-content-provider FAILURE in 10m 38s
⚠️ 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

@fmount fmount force-pushed the single_instance branch 2 times, most recently from 5c5303c to 0c51edb Compare October 13, 2023 20:11
@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://review.rdoproject.org/zuul/buildset/3824f47b3f814cb0ac24e82ac1c1f62f

openstack-k8s-operators-content-provider FAILURE in 10m 15s
⚠️ 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

@fmount fmount force-pushed the single_instance branch 2 times, most recently from 199baae to dcf5980 Compare October 16, 2023 07:04
@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://review.rdoproject.org/zuul/buildset/04b4e2c19eb840648f1d61516801f96c

openstack-k8s-operators-content-provider FAILURE in 10m 21s
⚠️ 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

@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://review.rdoproject.org/zuul/buildset/697e44b1cba74ba68e0dbf6254e20724

openstack-k8s-operators-content-provider FAILURE in 9m 31s
⚠️ 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

@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://review.rdoproject.org/zuul/buildset/052be63c5e7e4348a314d5e574e5462d

openstack-k8s-operators-content-provider FAILURE in 10m 19s
⚠️ 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

@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://review.rdoproject.org/zuul/buildset/c950ccc87ccf4eadacf2a1a16b9d2367

openstack-k8s-operators-content-provider FAILURE in 9m 49s
⚠️ 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

@fmount fmount force-pushed the single_instance branch 2 times, most recently from 8e6d27a to 051479c Compare October 17, 2023 10:33
@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://review.rdoproject.org/zuul/buildset/53ac8a2eb869410da39ece8e81f9e650

openstack-k8s-operators-content-provider FAILURE in 10m 08s
⚠️ 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

@fmount fmount force-pushed the single_instance branch 2 times, most recently from a1ff1ae to 2d22685 Compare November 8, 2023 06:21
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://review.rdoproject.org/zuul/buildset/de785b585d2c4b379d0b7f796e19cab2

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 27m 32s
podified-multinode-edpm-deployment-crc FAILURE in 1h 01m 12s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 00m 35s
openstack-operator-tempest-multinode FAILURE in 1h 10m 32s

fao89 pushed a commit to fmount/data-plane-adoption that referenced this pull request Nov 13, 2023
GlanceAPI has been simplified by patches [1][2], and the implication of
those patches is a change in the CRD used to define the glanceAPI
service.
This patch aligns both the existing documentation and the test suite to
work with the new way of deploying glance.

[1] openstack-k8s-operators/glance-operator#329
[2] openstack-k8s-operators/openstack-operator#514

Signed-off-by: Francesco Pantano <[email protected]>
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://review.rdoproject.org/zuul/buildset/e6c25b8efed34b7e91d67ac9412acaed

openstack-k8s-operators-content-provider FAILURE in 10m 50s
⚠️ 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
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@fmount fmount force-pushed the single_instance branch 2 times, most recently from eb03c4a to ed4b2b1 Compare November 15, 2023 09:22
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://review.rdoproject.org/zuul/buildset/364f1396a581447d954b379d2e80787f

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 26m 57s
podified-multinode-edpm-deployment-crc FAILURE in 1h 03m 21s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 03m 55s
openstack-operator-tempest-multinode FAILURE in 1h 09m 11s

@fmount
Copy link
Contributor Author

fmount commented Nov 15, 2023

recheck

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://review.rdoproject.org/zuul/buildset/eadc4628c15f40c7bbece99d4cd3392c

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 25m 17s
podified-multinode-edpm-deployment-crc FAILURE in 1h 05m 01s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 59m 07s
openstack-operator-tempest-multinode FAILURE in 1h 10m 11s

This change is the first of a series where the purpose is to move away
from the harcoded internal/external glanceAPI instance in favor of an
arbitrary number of GlanceAPI instances.
The current change doesn't introduce the ability to deploy >1 GlanceAPI
instance, but introduces the logic that will serve this purpose.
The split behavior is still preserved, but it happens behind the scenes
in Glance.

Signed-off-by: Francesco Pantano <[email protected]>
databaseInstance: openstack
storageClass: ""
storageRequest: 10G
glanceAPI:
type: single
Copy link
Contributor Author

@fmount fmount Nov 15, 2023

Choose a reason for hiding this comment

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

@abays given we're using statefulset where each instance has stable access to a given pvc, we need to have a "single" instance when "file" is used as a backend (same story for all the backends except Ceph)

fmount added a commit to fmount/architecture that referenced this pull request Nov 15, 2023
Glance moved to a new API definition via [1][2] and this patch aligns
VA1 to the current changes.

[1] openstack-k8s-operators/glance-operator#329
[2] openstack-k8s-operators/openstack-operator#514

Signed-off-by: Francesco Pantano <[email protected]>
fmount added a commit to fmount/architecture that referenced this pull request Nov 15, 2023
Glance moved to a new API definition via [1][2] and this patch aligns
VA1 to the current changes.

[1] openstack-k8s-operators/glance-operator#329
[2] openstack-k8s-operators/openstack-operator#514

Signed-off-by: Francesco Pantano <[email protected]>
Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Contributor

openshift-ci bot commented Nov 16, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, fmount

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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

@openshift-merge-bot openshift-merge-bot bot merged commit 927d8b1 into openstack-k8s-operators:main Nov 16, 2023
1 check passed
fmount added a commit to fmount/data-plane-adoption that referenced this pull request Nov 17, 2023
GlanceAPI has been simplified by patches [1][2], and the implication of
those patches is a change in the CRD used to define the glanceAPI
service.
This patch aligns both the existing documentation and the test suite to
work with the new way of deploying glance.

[1] openstack-k8s-operators/glance-operator#329
[2] openstack-k8s-operators/openstack-operator#514

Signed-off-by: Francesco Pantano <[email protected]>
bogdando pushed a commit to bogdando/data-plane-adoption that referenced this pull request Nov 27, 2023
GlanceAPI has been simplified by patches [1][2], and the implication of
those patches is a change in the CRD used to define the glanceAPI
service.
This patch aligns both the existing documentation and the test suite to
work with the new way of deploying glance.

[1] openstack-k8s-operators/glance-operator#329
[2] openstack-k8s-operators/openstack-operator#514

Signed-off-by: Francesco Pantano <[email protected]>
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.

4 participants