Bug 1312070

Summary: IPv6 broken due to urllib3 duplicating brackets in request header
Product: Red Hat OpenStack Reporter: Lukas Bezdicka <lbezdick>
Component: python-urllib3Assignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: apevec, lhh, rbean, srevivo, yeylon
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-urllib3-1.13.1-3.fc23 python-urllib3-1.13.1-3.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1312347 (view as bug list) Environment:
Last Closed: 2016-03-02 01:51:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1312347    

Description Lukas Bezdicka 2016-02-25 16:36:24 UTC
Description of problem:
During ipv6 deploy puppet fails with error:
 Error: Could not prefetch keystone_role provider 'openstack': Execution of '/usr/bin/openstack role list --quiet --format csv' returned 1: Bad Request (HTTP 400)

This is caused by python-urllib3 setting Host header to [[ipv6addr]]. The issue is fixed in upstream https://github.com/shazow/urllib3/pull/801

Comment 2 Alan Pevec 2016-02-25 21:49:45 UTC
Broken is python-urllib3-1.13.1-2.el7 which is rebuild of latest Fedora version.
We need it b/c it goes together with latest python-requests, required by openstack/global-reqs.

Comment 4 Lukas Bezdicka 2016-02-26 13:06:52 UTC
The issue can be resolved by applying https://patch-diff.githubusercontent.com/raw/shazow/urllib3/pull/801.patch

Comment 5 Fedora Update System 2016-02-26 16:24:19 UTC
python-urllib3-1.13.1-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5a4bd1bc58

Comment 6 Fedora Update System 2016-02-26 16:24:20 UTC
python-urllib3-1.13.1-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-bab9431ffb

Comment 7 Fedora Update System 2016-02-28 13:53:40 UTC
python-urllib3-1.13.1-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5a4bd1bc58

Comment 8 Fedora Update System 2016-02-28 13:55:46 UTC
python-urllib3-1.13.1-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-bab9431ffb

Comment 9 Fedora Update System 2016-03-02 01:50:54 UTC
python-urllib3-1.13.1-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-03-09 16:22:16 UTC
python-urllib3-1.13.1-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2016-03-09 20:12:09 UTC
python-urllib3-1.13.1-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.