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.
Apparently linked to https://github.com/openstack/octavia/commit/2eac7a7862330746ad77d9b28760c99fa706e179
An upstream review to address this issue has been created and can be tracked here: https://review.opendev.org/#/c/759280/
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
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
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