[Bug 1346736] [NEW] With fastpath-installer deb-line has duplicate slashes in URL
Nobuto MURATA
nobuto at nobuto-murata.org
Tue Jul 22 03:57:38 UTC 2014
Public bug reported:
When installing a node with fastpath-installer, /etc/apt/sources.list of
the node will look like:
$ cat /etc/apt/sources.list
deb http://archive.ubuntu.com//ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com//ubuntu trusty-updates main restricted universe multiverse
deb http://archive.ubuntu.com//ubuntu trusty-security main restricted universe multiverse
(duplicate slashes just after archive.ubuntu.com)
As far as I understand, squid will have duplicate caches of d-i(one
slash) and fastpath-installer(two slash). Unifying the URLs would help
squid's efficiency.
I tested with multiple slashes below:
$ http_proxy="http://MAAS_IP:8000/" wget http://archive.ubuntu.com/ubuntu/pool/main/libr/librdmacm/librdmacm1_1.0.16-1_amd64.deb
$ http_proxy="http://MAAS_IP:8000/" wget http://archive.ubuntu.com//ubuntu/pool/main/libr/librdmacm/librdmacm1_1.0.16-1_amd64.deb
$ http_proxy="http://MAAS_IP:8000/" wget http://archive.ubuntu.com///ubuntu/pool/main/libr/librdmacm/librdmacm1_1.0.16-1_amd64.deb
...
/var/log/squid-deb-proxy/access.log
====
1406000633.089 0 10.0.7.1 TCP_MEM_HIT/200 37327 GET http://archive.ubuntu.com/ubuntu/pool/main/libr/librdmacm/librdmacm1_1.0.16-1_amd64.deb - HIER_NONE/- application/x-debian-package
1406000640.667 0 10.0.7.1 TCP_MEM_HIT/200 37225 GET http://archive.ubuntu.com//ubuntu/pool/main/libr/librdmacm/librdmacm1_1.0.16-1_amd64.deb - HIER_NONE/- application/x-debian-package
1406000649.841 2717 10.0.7.1 TCP_MISS/200 37217 GET http://archive.ubuntu.com///ubuntu/pool/main/libr/librdmacm/librdmacm1_1.0.16-1_amd64.deb - HIER_DIRECT/91.189.92.201 application/x-debian-package
1406000892.932 1110 10.0.7.1 TCP_MISS/200 37217 GET http://archive.ubuntu.com////ubuntu/pool/main/libr/librdmacm/librdmacm1_1.0.16-1_amd64.deb - HIER_DIRECT/91.189.91.13 application/x-debian-package
1406000898.384 976 10.0.7.1 TCP_MISS/200 37217 GET http://archive.ubuntu.com/////ubuntu/pool/main/libr/librdmacm/librdmacm1_1.0.16-1_amd64.deb - HIER_DIRECT/91.189.91.13 application/x-debian-package
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: maas 1.5.2+bzr2282-0ubuntu0.2
ProcVersionSignature: User Name 3.16.0-4.9-generic 3.16.0-rc5
Uname: Linux 3.16.0-4-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Tue Jul 22 12:44:45 2014
PackageArchitecture: all
ProcEnviron:
TERM=screen-bce
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: maas
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: maas (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty uec-images
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1346736
Title:
With fastpath-installer deb-line has duplicate slashes in URL
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1346736/+subscriptions
More information about the Ubuntu-server-bugs
mailing list