Bug 1714655 - run-os-net-config.sh does not parse hostname that resolves to IPv6 address properly (OSP-14)
Summary: run-os-net-config.sh does not parse hostname that resolves to IPv6 address pr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z3
: 14.0 (Rocky)
Assignee: Emilien Macchi
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On: 1713305
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-28 14:15 UTC by Bob Fournier
Modified: 2019-07-02 20:09 UTC (History)
13 users (show)

Fixed In Version: openstack-tripleo-heat-templates-9.3.1-0.20190513171724.9995be9.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, validation scripts in OSP14 would fail when checking connectivity to API endpoints using hostnames that resolve to an IPv6 address. This patch modifies the validation scripts to properly support environments with hostnames and IPv6 addresses.
Clone Of: 1713305
Environment:
Last Closed: 2019-07-02 20:09:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 661588 0 None None None 2019-05-28 14:17:51 UTC
Red Hat Product Errata RHBA-2019:1672 0 None None None 2019-07-02 20:09:14 UTC

Comment 9 mlammon 2019-06-18 17:03:36 UTC
Environment:
2019-06-10.3

yum info openstack-tripleo-heat-templates
Loaded plugins: search-disabled-repos
rhelosp-14.0-optools-puddle                                                                                                                                                                                 125/125
rhelosp-14.0-puddle                                                                                                                                                                                         856/856
Installed Packages
Name        : openstack-tripleo-heat-templates
Arch        : noarch
Version     : 9.3.1
Release     : 0.20190513171729.9995be9.el7ost
Size        : 4.2 M
Repo        : installed


Code verification only:(undercloud) [stack@undercloud-0 ~]$ grep getent -A 4  /usr/share/openstack-tripleo-heat-templates/network/scripts/run-os-net-config.sh
    _IP="$(getent hosts $METADATA_IP | awk '{ print $1 }')"
    _ping=ping
    if [[ "$_IP" =~ ":" ]] ; then
        _ping=ping6
    fi

Comment 11 errata-xmlrpc 2019-07-02 20:09:06 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:1672


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