Bug 1370558 - Pull using a proxy requiring basic authentication fails with http-407.
Summary: Pull using a proxy requiring basic authentication fails with http-407.
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ostree
Version: 7.3
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: 7.3
Assignee: Jonathan Lebon
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1186913 1350975 1366134 1376944 1417077
TreeView+ depends on / blocked
 
Reported: 2016-08-26 15:09 UTC by Jeff Ortel
Modified: 2020-04-15 14:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-10 18:05:11 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.