[xen-tools-discuss] Bug? use of apt proxy with xen-create-image
Kevin FAUCHON
kevin.fauchon at gmail.com
Tue Jul 9 13:53:31 CEST 2013
Hello,
I think there is a bug with the new option --apt_proxy :
OS: Debian GNU/Linux 7.1 (wheezy)
xen-tools version: 4.3.1-1
xen-tools paquage: xen-tools_4.3.1-1_all.deb
I'm currently trying to use apt-cacher-ng during DomU images creation.
(apt-cacher is correctly running and working on my dom0)
The actual manpage of debian wheezy say:
"--apt_proxy=url Specify a proxy to be used by debootstrap, and within
the guest."
So i launch this command:
xen-create-image --apt_proxy=88.191.190.70:3142 --hostname=test2
--size=2048Mb \
--memory=128Mb --swap=32Mb --ip=192.168.254.98 --role=udev
This command end with an error message as follow:
Role: udev
File: /etc/xen-tools/role.d/udev
Running command '/etc/xen-tools/role.d/udev /tmp/wqPhE_y4Ll 2>&1' failed
with exit code 25600.
Aborting
See /var/log/xen-tools/test2.log for details
And near the end of the logfile, these errors:
W: Failed to fetch
http://ftp.fr.debian.org/debian/dists/wheezy/main/binary-amd64/Packages
Cannot initiate the connection to 3142:80 (0.0.12.70). - connect (22:
Invalid argument)
It's trying to connect to 3142:80, it's not the good mirror nor the good
proxy.
I think it should connect to 88.191.190.70:3142 instead of 3142:80 ?
I don't know if it's related to this bug (already closed)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560011
It's a testing server, so i can reinstall/test/patch if needed, and of
course give file conf of my installation if needed.
Regards, Kevin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20130709/b6e4b635/attachment.html>
More information about the xen-tools-discuss
mailing list