Bug 880482 - --proxy option does not work for "url"
Summary: --proxy option does not work for "url"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-27 05:23 UTC by Ken Dreyer
Modified: 2013-06-13 20:36 UTC (History)
7 users (show)

Fixed In Version: anaconda-19.25-1.fc19
Clone Of:
Environment:
Last Closed: 2013-05-15 17:29:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
kickstart with --proxy (558 bytes, application/octet-stream)
2012-11-27 05:23 UTC, Ken Dreyer
no flags Details
log generated by sending USR2 signal to anaconda (61.36 KB, application/x-xz)
2013-02-06 02:51 UTC, smitna
no flags Details

Description Ken Dreyer 2012-11-27 05:23:43 UTC
Created attachment 652498 [details]
kickstart with --proxy

Description of problem:
Anaconda ignores the "--proxy" option when applied to a "url".

I can successfully set a global proxy by using the "proxy" parameter on the command-line. Also, --proxy appears to work for "repo" sections (at least anaconda loads the packages through the proxy).

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

How reproducible:
Every time

Steps to Reproduce:
1. Use a kickstart file with --proxy on the "url" option.
2. When the installer gets to the main screen, check the UI to see that there is no proxy set for the installation source.
3. Watch the proxy access logs, or sniff the traffic with Wireshark to see that Anaconda is not using the proxy for the main repository packages.

I'm attaching the kickstart file that I used to install F18.

Comment 1 Chris Lumens 2012-11-27 14:19:56 UTC
Can you also attach /tmp/anaconda.log and /tmp/packaging.log?  Thanks.

Comment 2 smitna 2013-02-06 02:08:03 UTC
(In reply to comment #1)
> Can you also attach /tmp/anaconda.log and /tmp/packaging.log?  Thanks.

I have encountered this bug independently of the original poster (Ken Dreyer).
At that time, I was using the Fedora 18 x86_64 release netinst iso image (anaconda version 18.37.11).

For this bug report, I am using Ken's kickstart but with a few minor modifications:

1.  Currently, all URLs from Ken's kickstart either do not resolve via DNS or return http code 404, so except for proxy server values, I have substituted with URLs that are publicly reachable.

2.  I have commented out all repo statements; otherwise, dependency errors are reported during installation, and I decided that they might obscure the issue at hand.  Note, however, that my observations regarding URLs from 'repo' statements are consistent with Ken's; in particular, unlike 'url' statements, proxy values are honored.

When the "Begin Installation" button was ready to accept input, I switched to vt2 and sent anaconda an USR2 signal.  Attached is the only resulting non-empty /tmp/anaconda-tb-* file.  It should contain all the information you require.

Comment 3 smitna 2013-02-06 02:51:32 UTC
Created attachment 693647 [details]
log generated by sending USR2 signal to anaconda

Comment 4 Chris Lumens 2013-05-01 17:57:13 UTC
This should be fixed post-F18.  There's been some work done around proxy support.  If you can retest with F19 alpha and let us know, it would be very helpful.  Thanks.

Comment 5 Fedora Update System 2013-05-10 00:52:12 UTC
anaconda-19.25-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/anaconda-19.25-1.fc19

Comment 6 Fedora Update System 2013-05-10 15:30:29 UTC
Package anaconda-19.25-1.fc19, python-blivet-0.13-1.fc19, pykickstart-1.99.30-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-19.25-1.fc19 python-blivet-0.13-1.fc19 pykickstart-1.99.30-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7834/python-blivet-0.13-1.fc19,pykickstart-1.99.30-1.fc19,anaconda-19.25-1.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-05-15 17:29:49 UTC
anaconda-19.25-1.fc19, python-blivet-0.13-1.fc19, pykickstart-1.99.30-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Ken Dreyer 2013-06-13 20:36:20 UTC
I can confirm that this is fixed in F19 final TC3. Thanks all.


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