Using DeployArtifacts with IPv6 throws error from curl

Bug #1640148 reported by Marios Andreou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Giulio Fidente

Bug Description

As first discussed at https://bugzilla.redhat.com/show_bug.cgi?id=1392728#c8 in an IPv6 Deployment of stable/newton (the environment in the BZ was just upgraded from Mitaka to Newton, but I expect the error would occur on new Newton deployment too) there is a problem when using DeployArtifacts as the curl fails for '[]' in the v6 address.

Fixup from gfidente is at "Use --globoff when downloading artifacts " https://review.openstack.org/#/c/394914/ Ic86ba1e5fb674bc15b4bcc6bd3ea9e943c4fbf8e tripleo-heat-templates

Changed in tripleo:
assignee: Giulio Fidente (gfidente) → Marios Andreou (marios-b)
Changed in tripleo:
assignee: Marios Andreou (marios-b) → Giulio Fidente (gfidente)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/394987

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/394914
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=b1624dd33d2de12b3cb329b4d35a97949abe30f6
Submitter: Jenkins
Branch: master

commit b1624dd33d2de12b3cb329b4d35a97949abe30f6
Author: Giulio Fidente <email address hidden>
Date: Tue Nov 8 12:39:05 2016 +0100

    Use --globoff when downloading artifacts

    We do not encode the chars like [] possibly found in the artifacts
    URL, so curl tries to glob against IPv6 addresses in brackets. This
    change adds --globoff to the curl options so that IPv6 addresses in
    brackets are not misinterpreted.

    Closes-Bug: 1640148
    Change-Id: Ic86ba1e5fb674bc15b4bcc6bd3ea9e943c4fbf8e

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/394987
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=b053de1debd98e588db053525b9a266965b833c2
Submitter: Jenkins
Branch: stable/newton

commit b053de1debd98e588db053525b9a266965b833c2
Author: Giulio Fidente <email address hidden>
Date: Tue Nov 8 12:39:05 2016 +0100

    Use --globoff when downloading artifacts

    We do not encode the chars like [] possibly found in the artifacts
    URL, so curl tries to glob against IPv6 addresses in brackets. This
    change adds --globoff to the curl options so that IPv6 addresses in
    brackets are not misinterpreted.

    Closes-Bug: 1640148
    Change-Id: Ic86ba1e5fb674bc15b4bcc6bd3ea9e943c4fbf8e
    (cherry picked from commit b1624dd33d2de12b3cb329b4d35a97949abe30f6)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.1.0

This issue was fixed in the openstack/tripleo-heat-templates 5.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.1.0

This issue was fixed in the openstack/tripleo-heat-templates 5.1.0 release.

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.