Bug 1815928 - DCN glance-api endpoint incorrect when internal_api network is IPv6
Summary: DCN glance-api endpoint incorrect when internal_api network is IPv6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ga
: 16.1 (Train on RHEL 8.2)
Assignee: Alan Bishop
QA Contact: Mike Abrams
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-22 19:42 UTC by Alan Bishop
Modified: 2022-08-08 12:28 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2020-07-29 07:51:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1868579 0 None None None 2020-03-23 15:53:20 UTC
OpenStack gerrit 714815 0 None MERGED DCN/Edge: Handle ipv6 address for local glance endpoint 2021-02-16 08:46:50 UTC
Red Hat Issue Tracker OSP-10395 0 None None None 2022-08-08 12:28:02 UTC
Red Hat Product Errata RHBA-2020:3148 0 None None None 2020-07-29 07:51:16 UTC

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


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