Bug 1299604 - ERROR: openstack Failed to parse: 2001:db8:fd00:1000:f816:3eff:fef3:5451:8774
Summary: ERROR: openstack Failed to parse: 2001:db8:fd00:1000:f816:3eff:fef3:5451:8774
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: os-cloud-config
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
Target Milestone: y3
: 7.0 (Kilo)
Assignee: Jay Dobies
QA Contact: yeylon@redhat.com
Depends On:
TreeView+ depends on / blocked
Reported: 2016-01-18 18:07 UTC by Marius Cornea
Modified: 2016-04-18 07:13 UTC (History)
6 users (show)

Fixed In Version: os-cloud-config-0.2.8-13.el7ost
Doc Type: Bug Fix
Doc Text:
Keystone endpoint creation failed due to incorrectly parsed IPv6 addresses. This fix modifies the Keystone client creation mechanism to correctly parse IPv6 addresses. 'os-cloud-config' now creates Keystone endpoints successfully.
Clone Of:
Last Closed: 2016-02-18 16:50:17 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
OpenStack gerrit 269254 None None None 2016-01-18 20:26:06 UTC
Red Hat Product Errata RHBA-2016:0264 normal SHIPPED_LIVE Red Hat Enterprise Linux OSP 7 director Bug Fix Advisory 2016-02-18 21:41:29 UTC

Description Marius Cornea 2016-01-18 18:07:26 UTC
Description of problem:
During post config the following error shows up:
ERROR: openstack Failed to parse: 2001:db8:fd00:1000:f816:3eff:fef3:5451:8774

| nova       | computev3     | regionOne                                                                                                  |
|            |               |   publicURL: http://2001:db8:fd00:1000:f816:3eff:fef3:5451:8774/v3                                         |
|            |               |   internalURL: http://2001:db8:fd00:1000:f816:3eff:fef3:5451:8774/v3                                       |
|            |               |   adminURL: http://2001:db8:fd00:1000:f816:3eff:fef3:5451:8774/v3                           

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

How reproducible:

Steps to Reproduce:
1. Deploy ipv6 enabled overcloud 

Actual results:
Deploying templates in the directory /home/stack/templates/my-overcloud
The following cert files already exist, use --rebuild to remove the existing files before regenerating:
/etc/keystone/ssl/certs/ca.pem already exists
/etc/keystone/ssl/private/signing_key.pem already exists
/etc/keystone/ssl/certs/signing_cert.pem already exists
Connection to closed.
ERROR: openstack Failed to parse: 2001:db8:fd00:1000:f816:3eff:fef3:5451:8774

Expected results:
No error shows up.

Comment 3 Emilien Macchi 2016-01-18 19:47:48 UTC
slagle pointed out on IRC that https://github.com/openstack/os-cloud-config/blob/master/os_cloud_config/keystone.py#L346 is the code that manage endpoints in OSP7.

The {host} value does not contain brackets when running IPv6, which is the bug here.
James is working on a patch in os-cloud-config to add brackets when the IP is v6.

Comment 6 errata-xmlrpc 2016-02-18 16:50: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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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