Bug 2126726

Summary: Octavia client suggests TERMINATED_HTTPS protocol for pools and it is not supported
Product: Red Hat OpenStack Reporter: Omer Schwartz <oschwart>
Component: python-octaviaclientAssignee: Omer Schwartz <oschwart>
Status: CLOSED ERRATA QA Contact: Bruna Bonguardo <bbonguar>
Severity: low Docs Contact:
Priority: low    
Version: 17.1 (Wallaby)CC: beagles, gthiemon, jschluet
Target Milestone: z3Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-octaviaclient-2.3.1-17.1.20231106100828.51347bc.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-21 09:38:17 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:

Description Omer Schwartz 2022-09-14 10:55:21 UTC
Description of problem:
Running 
openstack loadbalancer pool create --help 
returns
--protocol {TCP,HTTP,HTTPS,TERMINATED_HTTPS,PROXY,PROXYV2,UDP,SCTP}

even though TERMINATED_HTTPS is not a supported pool protocol.


The Octavia API denies the call when one tries to create a TERMINATED_HTTPS pool:

(overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer pool create --name pool1 --lb-algorithm ROUND_ROBIN --listener listener_h2 --protocol TERMINATED_HTTPS
Invalid input for field/attribute protocol. Value: 'TERMINATED_HTTPS'. Value should be one of: TCP, PROXY, SCTP, HTTP, HTTPS, UDP, PROXYV2 (HTTP 400) (Request-ID: req-baaf8d0d-2881-4ca6-b83b-80bbe6f4f3cd)


Version-Release number of selected component (if applicable):
(overcloud) [stack@undercloud-0 ~]$ cat core_puddle_version                                                                                                   
RHOS-17.1-RHEL-9-20220830.n.1

How reproducible:
100%

Steps to Reproduce:
1. Deploy Octavia
2. Run openstack loadbalancer pool create --help

Actual results:
TERMINATED_HTTPS appears as a valid option for pools.

Expected results:
TERMINATED_HTTPS should not appear as a valid option for pools.

Comment 18 errata-xmlrpc 2024-11-21 09:38:17 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 (RHOSP 17.1.4 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:9974