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.
Note it works fine for just listing guests (ie. virt-builder -l).
Fixed with https://github.com/libguestfs/libguestfs/commit/b6c8afaee63e26de42695244eacbeb81b06171a9 https://github.com/libguestfs/libguestfs/commit/d2bfe2cb24a53f6968b1a4b54cfc7299e33cfeaf which are in libguestfs >= 1.27.10.