Skip to content

Commit

Permalink
Do not crate amphora image when octavia not enabled
Browse files Browse the repository at this point in the history
Related-Prod: PRODX-3456
Change-Id: Idadea585edd4dcfebebc1997ad7d1c436256a15d
  • Loading branch information
jumpojoy committed Dec 4, 2024
1 parent 6a313c0 commit c3b2385
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openstack/glance/templates/bin/_bootstrap.py.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ ost = openstack.connect()
for image_name, image in STRUCTURED_IMAGES.items():
image_name = image.pop("name", image_name)
if not image.get("enabled", True):
LOG.info("Skipping handling image {image_name} as its not enabled.")
LOG.info(f"Skipping handling image {image_name} as its not enabled.")
continue
LOG.info(f"Handling image: {image_name}")

Expand Down
2 changes: 2 additions & 0 deletions rockoon/templates/services/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ spec:
enabled: true
hash_method: SHA-256
{%- endif %}
{%- if "load-balancer" in spec.features.services %}
amphora-x64-haproxy:
container_format: bare
image_type: qcow2
Expand All @@ -182,6 +183,7 @@ spec:
enabled: true
hash_method: SHA-256
{%- endif %}
{%- endif %}
{%- if "shared-file-system" in spec.features.services %}
manila-service-image:
container_format: bare
Expand Down

0 comments on commit c3b2385

Please sign in to comment.