Bug 1096465 - virt-builder "proxy=off" setting doesn't turn off the proxy for downloads
Summary: virt-builder "proxy=off" setting doesn't turn off the proxy for downloads
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pino Toscano
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-10 17:45 UTC by Richard W.M. Jones
Modified: 2014-05-15 08:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-15 08:15:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2014-05-10 17:45:28 UTC
Description of problem:

The guest 'rhel-5.10' comes from a private repo which is not
accessible by my proxy.  Therefore my repo configuation is:

$ cat /etc/virt-builder/repos.d/rhel.conf 
[rhel]
uri=http://****.redhat.com/~rjones/builder/index.asc
proxy=off

However:

$ virt-builder rhel-5.10 --root-password password:123456
[   1.0] Downloading: http://file.rdu.redhat.com/~rjones/builder/rhel-5.10.xz
virt-builder: failed to download http://file.rdu.redhat.com/~rjones/builder/rhel-5.10.xz: HTTP status code 503

If I disable the proxy on the command line it works:

$ http_proxy= virt-builder rhel-5.10 --root-password password:123456
[   2.0] Downloading: http://file.rdu.redhat.com/~rjones/builder/rhel-5.10.xz
.....

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

libguestfs-tools-c-1.27.8-1.fc21.x86_64

How reproducible:

100%

Steps to Reproduce:
1. See above.

Comment 1 Richard W.M. Jones 2014-05-10 17:46:02 UTC
Note it works fine for just listing guests (ie. virt-builder -l).


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