Bug 1593904

Summary: TERMINATED_HTTPS Listener Type Unavailable due to Barbican 404
Product: Red Hat OpenStack Reporter: Andrew Austin <aaustin>
Component: openstack-octavia-uiAssignee: Carlos Goncalves <cgoncalves>
Status: CLOSED ERRATA QA Contact: Bruna Bonguardo <bbonguar>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: amcleod, cgoncalves, ihrachys, lpeer, majopela, rdopiera, rzaleski
Target Milestone: z6Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-octavia-ui-1.0.1-3.el7ost Doc Type: Bug Fix
Doc Text:
Previously, the `TERMINATED_HTTPS` listener type was unavailable. With this update, the `TERMINATED_HTTPS` listener type is now available.
Story Points: ---
Clone Of:
: 1686883 (view as bug list) Environment:
Last Closed: 2019-04-30 17:23:43 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: 1686883    
Bug Blocks:    

Description Andrew Austin 2018-06-21 19:50:14 UTC
Description of problem:
When creating a load balancer through Horizon, the TERMINATED_HTTPS listener type is greyed out. This is due to a 404 when hitting /dashboard/api/barbican/certificates.

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

How reproducible:
Deploy an OSP13 overcloud with Ocatvia and Barbican. Attempt to create a load balancer through the Horizon UI and note that the TERMINATED_HTTPS listener type is not available and your browser reports 404 responses from the octavia_horizon Barbican APIs.

Actual results:

TERMINATED_HTTPS is greyed out

Expected results:

TERMINATED_HTTPS should be selectable and certificates should appear in the UI

Additional info:

The return from the octavia_horizon Barbican API indicates that the Keystone URL is malformed. Adding /v3 to the Keystone URL in the Horizon configuration results in the expected behavior.

Comment 6 Radomir Dopieralski 2019-02-27 11:22:42 UTC
Horizon will automatically add the /v3 at the end if it's missing, so it seems like the octavia plugin is not using horizon's mechanisms here, but instead doing something weird on their own?

Comment 7 Carlos Goncalves 2019-02-28 12:22:57 UTC
I can reproduce this in latest OSP 13. I will be working on a fix in the coming days.

Thanks to Radomir for the help troubleshooting and pointing me in the right direction to a fix.

Comment 14 errata-xmlrpc 2019-04-30 17:23:43 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, 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-2019:0926