Bug 1815928

Summary: DCN glance-api endpoint incorrect when internal_api network is IPv6
Product: Red Hat OpenStack Reporter: Alan Bishop <abishop>
Component: openstack-tripleo-heat-templatesAssignee: Alan Bishop <abishop>
Status: CLOSED ERRATA QA Contact: Mike Abrams <mabrams>
Severity: high Docs Contact:
Priority: high    
Version: 16.0 (Train)CC: amcleod, gfidente, jschluet, mabrams, marjones, mburns
Target Milestone: gaKeywords: Triaged, ZStream
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-0.20200401210637.e326174.el8ost Doc Type: Bug Fix
Doc Text:
Before this update, in deployments with an IPv6 internal API network, the Block Storage service (cinder) and Compute service (nova) were configured with a malformed glance-api endpoint URI. As a result, Block Storage service and Compute services located in a DCN or Edge deployment could not access the Image service (glance). + With this update, the IPv6 addresses in the glance-api endpoint URI are correct and the Block Storage and Compute services at Edge sites can access the Image service successfully.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-29 07:51:01 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 Alan Bishop 2020-03-22 19:42:33 UTC
Description of problem:

When deploying a DCN stack with an IPv6 internal_api network, the glance-api endpoint is missing the square brackets required around the IPv6 address. The incorrectly formatted URI appears in nova.conf ("api_servers") and cinder.conf ("glance_api_servers") in a DCN-HCI stack.

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


How reproducible:


Steps to Reproduce:
1. Deploy a DCN or DCN-HCI stack with IPv6
2.
3.

Actual results:

Nova's (and cinder's when stack is DCN-HCI) endpoint is missing square brackets around the IPv6 address.

Expected results:

The glance-api URI is properly formatted.


Additional info:

The relevant THT code is this:

https://opendev.org/openstack/tripleo-heat-templates/src/branch/stable/train/deployment/glance/glance-api-edge-container-puppet.yaml#L60

Comment 16 errata-xmlrpc 2020-07-29 07:51:01 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-2020:3148