when testing with IPv6 and keystone isn't on the ctlplane error ERROR: openstack Failed to parse: 2620:52:0:23a9:0:0:0:20:35357

Bug #1543946 reported by Marios Andreou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-cloud-config
Fix Released
Medium
James Slagle

Bug Description

 When trying the overcloud deploy with IPv6 enabled ( using https://review.openstack.org/#/c/235423/ ) and the KeystoneAdminApiNetwork is set to a network where IPv6 is enabled (rather than the default ctlplane internal_api in the ServiceNetMap [1] which is v4) then os-cloud-config doesn't factor in the '[]' needed around the v6 address for construction of the URI used by the keystone client, resulting in
"
ERROR: openstack Failed to parse: 2620:52:0:23a9:0:0:0:20:35357
"

while the heat stack has gone to CREATE_COMPLETE, as originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=1306022

A fix for this has already been proposed at https://review.openstack.org/#/c/278111/

Revision history for this message
Marios Andreou (marios-b) wrote :

sorry forgot the link I promised at [1] :)

[1] https://github.com/openstack/tripleo-heat-templates/blob/ff33f2a64e7d0d6350ce11c737016a6dabe8a6fd
/overcloud.yaml#L649

Revision history for this message
Marios Andreou (marios-b) wrote :

 https://github.com/openstack/tripleo-heat-templates/blob/ff33f2a64e7d0d6350ce11c737016a6dabe8a6fd
/overcloud.yaml#L649

trying again because the spacing broke the link (if this ends up the same try copy/paste sorry)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-cloud-config (master)

Reviewed: https://review.openstack.org/278111
Committed: https://git.openstack.org/cgit/openstack/os-cloud-config/commit/?id=3d3ec8128180afe92e71fbf212f697f9fce4f58b
Submitter: Jenkins
Branch: master

commit 3d3ec8128180afe92e71fbf212f697f9fce4f58b
Author: James Slagle <email address hidden>
Date: Tue Feb 9 16:58:15 2016 -0500

    Add []'s around ipv6 address when creating keystone clients

    []'s are needed around ipv6 addresses when creating the initial keystone
    clients in os-cloud-config. While the keystone api is on the ctlplane by
    default, it can be switched to any network, including those that support
    ipv6, by modifying the ServiceNetMap tripleo-heat-templates parameter.

    Closes-Bug: #1543946
    Change-Id: I90cb5f0fd0d7c24971bed5638d444839e2288c7d

Changed in os-cloud-config:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.