With fastpath-installer deb-line has duplicate slashes in URL

Bug #1346736 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas (Ubuntu)
New
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Nobuto Murata (nobuto) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.