Tempest tests fail on Glance: "Endpoint not found" when IPv6

Bug #1557814 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Sofer Athlan-Guyot
Revision history for this message
Clark Boylan (cboylan) wrote :

The issue seems to be that when using https tempest overrides the connect method on the httplib class and specifies ipv4 at https://git.openstack.org/cgit/openstack/tempest/tree/tempest/common/glance_http.py#n309. An easy fix may be to retry with AF_INET6 if AF_INET fails.

no longer affects: glance
Revision history for this message
Clark Boylan (cboylan) wrote :

On further reading something socket.socket(socket.getaddrinfo('::1', 443)) is what you want to be doing.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/293195

Changed in tempest:
assignee: nobody → Emilien Macchi (emilienm)
status: New → In Progress
Changed in tempest:
assignee: Emilien Macchi (emilienm) → Jordan Pittier (jordan-pittier)
Changed in tempest:
assignee: Jordan Pittier (jordan-pittier) → Sofer Athlan-Guyot (sofer-athlan-guyot)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/293195
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=f61f1fcee018a613c323fa5babe08469474a8d37
Submitter: Jenkins
Branch: master

commit f61f1fcee018a613c323fa5babe08469474a8d37
Author: Emilien Macchi <email address hidden>
Date: Tue Mar 15 21:40:10 2016 -0400

    glance_http: add IPv6 support

    Add IPv6 support when opening a socket to Glance server.

    Co-Authored-By: Sofer Athlan-Guyot <email address hidden>
    Closes-Bug: #1557814
    Change-Id: Ice966f78f94196ba31e64939df4173a67943aa43

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tempest 11.0.0

This issue was fixed in the openstack/tempest 11.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers