Bug 1370558

Summary: Pull using a proxy requiring basic authentication fails with http-407.
Product: Red Hat Enterprise Linux 7 Reporter: Jeff Ortel <jortel>
Component: ostreeAssignee: Jonathan Lebon <jlebon>
Status: CLOSED NEXTRELEASE QA Contact: atomic-bugs <atomic-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: jamills, jlebon, miabbott, rrajaram
Target Milestone: rcKeywords: Extras
Target Release: 7.3   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-10 18:05:11 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: 1186913, 1350975, 1366134, 1376944, 1417077    

Description Jeff Ortel 2016-08-26 15:09:25 UTC
Description of problem:

Pull using a proxy requiring basic authentication fails with: "Server returned status 407: Proxy Authentication Required" even with the username and password specified in the 'proxy' setting for the remote.  Eg: http://user:password@host.com.  I tested this using squid.


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

ostree.x86_64 2016.7-1.fc23

The same issue has been reported on EL7.


How reproducible:  Always


Steps to Reproduce:
1. Create an OSTree repository.
2. Add a remote and configure to use a proxy requiring basic auth.
   Eg: http://user:password@host.com.
3. Pull the remote.

Actual results:

[jortel@f23d jeff]$ ostree --repo=. pull fedora


error: Server returned status 407: Proxy Authentication Required


Expected results:

Works.


Additional info:

Comment 2 Ranjith Rajaram 2016-09-02 03:35:57 UTC
Increasing the Prio's of the BZ. We have a customer who is using Satellite 6.2 for pulling atomic OSTREE contents from the portal.

This bug is a showstopper for the customer and will affect their go live schedule

Comment 3 Jonathan Lebon 2016-10-14 13:44:20 UTC
OSTree fix:
https://github.com/ostreedev/ostree/pull/529

Potential fix a little more upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=772932

Comment 5 Jonathan Lebon 2016-10-24 17:16:48 UTC
Sorry, I forgot to keep this bug updated. The fix is in the latest ostree release, which will be included in 7.3.1.

https://bugzilla.redhat.com/show_bug.cgi?id=1388187

Comment 8 Jonathan Lebon 2016-11-10 18:05:11 UTC
Will be fixed in 7.3.1.

Comment 9 Micah Abbott 2016-11-11 21:29:14 UTC
Verified this is fixed with ostree-2016.11-2.atomic.el7.x86_64