Bug 1887424 - HEAT stack does not support the load balancing algorithm SOURCE_IP_PORT in pool definitions
Summary: HEAT stack does not support the load balancing algorithm SOURCE_IP_PORT in po...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-heat
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: zstream
: 16.2 (Train on RHEL 8.4)
Assignee: Zane Bitter
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-12 12:25 UTC by Arieh Maron
Modified: 2021-09-15 07:09 UTC (History)
7 users (show)

Fixed In Version: openstack-heat-13.1.1-2.20201217073508.0d7e5bd.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 07:09:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 771606 0 None NEW Add SOURCE_IP_PORT to LB_ALGORITHM allowed values 2021-02-11 13:21:11 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:09:47 UTC

Description Arieh Maron 2020-10-12 12:25:41 UTC
Description of problem:

HEAT stack does not support the load balancing algorithm SOURCE_IP_PORT in pool definitions

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

OSP: 16.1 (Train)
HEAT: all versions


How reproducible:
 100%

Steps to Reproduce:
1.Build a yaml HEAT template with the parameter "lb_algorithm: SOURCE_IP_PORT"
2.Try to run the template with "openstack stack create -t ..."

Actual results:

"RESP BODY: {"code": 400, "title": "Bad Request", "explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "error": {"type": "StackValidationFailed", "traceback": null, "message": "Property error: : resources.pool.properties.lb_algorithm: : \"SOURCE_IP_PORT\" is not an allowed value [\"ROUND_ROBIN\", \"LEAST_CONNECTIONS\", \"SOURCE_IP\"]"}}


Expected results:

The stack should be successfully built


Additional info:


SOURCE_IP_PORT is the ONLY load balancing algorithm currently supported by the OVN Provider driver.

Comment 1 Cédric Jeanneret 2020-10-13 08:08:17 UTC
Apparently linked to https://github.com/openstack/octavia/commit/2eac7a7862330746ad77d9b28760c99fa706e179

Comment 3 Kevin Carter 2020-10-22 15:50:03 UTC
An upstream review to address this issue has been created and can be tracked here: https://review.opendev.org/#/c/759280/

Comment 9 Arieh Maron 2021-04-19 06:28:31 UTC
testing with puddle release RHOS-16.2-RHEL-8-20210216.n.2
with openstack heat version openstack-heat-13.1.1-2.20210209004946.069c4db.el8ost.1
fails:

                                                                                                                                 
(overcloud) [stack@undercloud-0 ~]$ openstack stack create -t tree.yaml ovntree
ERROR: Property error: : resources.loadbalancer.properties: : Unknown Property lb_algorithm

Comment 12 Arieh Maron 2021-04-19 10:40:34 UTC
Testing successfull:

puddle release: RHOS-16.2-RHEL-8-20210216.n.2
openstack heat version: openstack-heat-13.1.1-2.20210209004946.069c4db.el8ost.1

Previous failure was a result of an error in the yaml used in the test

Comment 13 Arieh Maron 2021-04-19 10:40:59 UTC
Testing successfull:

puddle release: RHOS-16.2-RHEL-8-20210216.n.2
openstack heat version: openstack-heat-13.1.1-2.20210209004946.069c4db.el8ost.1

Previous failure was a result of an error in the yaml used in the test

Comment 15 errata-xmlrpc 2021-09-15 07:09:19 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 (RHOSP) 16.2 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/RHEA-2021:3483


Note You need to log in before you can comment on or make changes to this bug.