-
Notifications
You must be signed in to change notification settings - Fork 43
Add S3 support for non-Cinder backends #838
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -58,6 +58,22 @@ def __init__( | |||||
| self.model = OPENSTACK_MODEL | ||||||
| self.apps = apps | ||||||
|
|
||||||
| def is_skip(self, context: StepContext) -> Result: | ||||||
| """Skip the temp-url-secret action when Glance uses external S3. | ||||||
|
|
||||||
| With an S3-backed Glance, ironic-conductor serves deploy images from the | ||||||
| S3 backend through its local HTTP server and does not rely on Ceph | ||||||
| RadosGW Swift temporary URLs, so no temp-url secret is required. | ||||||
| """ | ||||||
| from sunbeam.steps.openstack import is_glance_s3_storage_enabled | ||||||
|
|
||||||
| if is_glance_s3_storage_enabled(self.deployment.get_client()): | ||||||
| return Result( | ||||||
| ResultType.SKIPPED, | ||||||
| "Glance uses external S3 storage; temp-url secret not required.", | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| ) | ||||||
| return Result(ResultType.COMPLETED) | ||||||
|
|
||||||
| def run(self, context: StepContext) -> Result: | ||||||
| """Run the set-temp-url-secret action on ironic-conductor apps.""" | ||||||
| try: | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | ||||||
| # Telemetry service | ||||||
|
|
||||||
| This feature provides Telemetry service for Sunbeam. It is based on OpenStack Telemetry projects [Ceilometer](https://docs.openstack.org/designate/latest/), [Aodh](https://docs.openstack.org/aodh/latest/), [Gnocchi](https://wiki.openstack.org/wiki/Gnocchi). | ||||||
| This feature provides Telemetry service for Sunbeam. It is based on OpenStack Telemetry projects [Ceilometer](https://docs.openstack.org/ceilometer/latest/), [Aodh](https://docs.openstack.org/aodh/latest/), [Gnocchi](https://wiki.openstack.org/wiki/Gnocchi). | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| ## Installation | ||||||
|
|
||||||
|
|
@@ -13,11 +13,14 @@ sunbeam enable telemetry | |||||
| ## Contents | ||||||
|
|
||||||
| This feature will install the following services: | ||||||
|
|
||||||
| - Ceilometer: Data collection service [charm](https://opendev.org/openstack/charm-ceilometer-k8s) [ROCK](https://github.com/canonical/ubuntu-openstack-rocks/tree/main/rocks/ceilometer-consolidated) | ||||||
| - Aodh: Alarming service [charm](https://opendev.org/openstack/charm-aodh-k8s) [ROCK](https://github.com/canonical/ubuntu-openstack-rocks/tree/main/rocks/aodh-consolidated) | ||||||
| - Gnocchi: Time series database service [charm](https://opendev.org/openstack/charm-gnocchi-k8s) [ROCK](https://github.com/canonical/ubuntu-openstack-rocks/tree/main/rocks/gnocchi-consolidated) | ||||||
| - Ceilometer Agent: Agent on hypervisor [charm](https://opendev.org/openstack/charm-openstack-hypervisor) [SNAP](https://github.com/canonical/snap-openstack-hypervisor.git) | ||||||
| - MySQL Router for Designate [charm](https://github.com/canonical/mysql-router-k8s-operator) [ROCK](https://github.com/canonical/charmed-mysql-rock) | ||||||
| - TODO: ADD OPENSTACK EXPORTER INFO | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. resolve TODO or create a jira card. |
||||||
| - MySQL Router for Aodh [charm](https://github.com/canonical/mysql-router-k8s-operator) [ROCK](https://github.com/canonical/charmed-mysql-rock) | ||||||
| - MySQL Router for Gnocchi [charm](https://github.com/canonical/mysql-router-k8s-operator) [ROCK](https://github.com/canonical/charmed-mysql-rock) | ||||||
| - MySQL Instance in the case of a multi-mysql installation (for large deployments) [charm](https://github.com/canonical/mysql-k8s-operator) [ROCK](https://github.com/canonical/charmed-mysql-rock) | ||||||
|
|
||||||
| Services are constituted of charms, i.e. operator code, and ROCKs, the corresponding OCI images. | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/temp-url-secret/set-temp-url-secret/
set-temp-url-secretis the action per the ironic charmcraft.yaml