Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2255168

Summary: [RFE] Implement availability_zone parameter for OS::Octavia::LoadBalancer resource
Product: Red Hat OpenStack Reporter: yatanaka
Component: openstack-heatAssignee: Rabi Mishra <ramishra>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 17.1 (Wallaby)CC: dhughes, gurpsing, jamsmith, mariel, mburns, njohnston, pgrist, prgutier, pweeks, ramishra
Target Milestone: z3Keywords: FutureFeature, Triaged
Target Release: 17.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-heat-16.1.1-17.1.20231007000826.el9ost Doc Type: Enhancement
Doc Text:
With this update, you can add load balancing capability to specific availability zones. In the `OS::Octavia::LoadBalancer` resource, use the new `availability_zone` property to specify an availability zone for the load balancer.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-22 20:39:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2222869    

Description yatanaka 2023-12-19 01:09:56 UTC
Description of problem:

One of my customers is interested in using Heat to deploy octavia loadbalancers onto a specific availability zone.

Upstream Xena and later, we can use "availability_zone" parameter for OS::Octavia::LoadBalancer resource.

~~~
https://docs.openstack.org/heat/latest/template_guide/openstack.html#OS::Octavia::LoadBalancer-prop-availability_zone

- availability_zone
  Available since 17.0.0
  The availability zone of the Load Balancer.
  String value expected.
  Updates cause replacement.
~~~

However, "availability_zone" is not available in RHOSP 17.1 or Wallaby.
Could we backport "availability_zone" to RHOSP 17.1?

I suppose we need to backport the following change to implement "availability_zone" in RHOSP 17.1:
- https://github.com/openstack/heat/commit/ba0b6676c07e944ba046b2b067832e0583163662


Version-Release number of selected component (if applicable):
RHOSP 17.1


Actual results:
We cannot deploy loadbalancers onto a specific AZ using Heat.

Expected results:
We can deploy loadbalancers onto a specific AZ using Heat.

Comment 24 errata-xmlrpc 2024-05-22 20:39:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 17.1.3 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:2741