squid-deb-proxy vs lxd bridge

Bug #1572914 reported by Stuart Bishop
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxd (Ubuntu)
Invalid
Undecided
Unassigned
squid-deb-proxy (Ubuntu)
New
Undecided
Unassigned

Bug Description

With the old lxc network bridge, it was always up so squid-deb-proxy could bind to the bridges IP address and be available to lxc containers. The new bridge with lxd is unstable however, and brought up and down as required. I no longer have any fixed IP addresses accessible to my lxd containers that squid-deb-proxy can be bound to.

Would it be possible to have squid-deb-proxy restarted whenever the lxd bridge is brought up, allowing the old behaviour to work? Or for the lxd bridge to be pinned somehow, so it remains bound even when all the lxd containers are shut down?

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: squid-deb-proxy 0.8.14
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Apr 21 16:09:35 2016
InstallationDate: Installed on 2016-02-26 (54 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160224)
PackageArchitecture: all
SourcePackage: squid-deb-proxy
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.init.d.squid-deb-proxy: 2016-03-16T07:17:46.031444
mtime.conffile..etc.init.squid-deb-proxy.conf: 2016-03-16T07:37:46.487530
mtime.conffile..etc.logrotate.d.squid-deb-proxy: 2016-03-16T07:37:02.391804
upstart.squid-deb-proxy.override: manual

Revision history for this message
Stuart Bishop (stub) wrote :
Revision history for this message
Stuart Bishop (stub) wrote :

Adding lxd for input, as a common use case is for containers to be configured to use a local cache and this cache needs to be available when the containers are started up.

Revision history for this message
Stéphane Graber (stgraber) wrote :

There may be some systemd way to have the squid-deb-proxy unit restart whenever the lxd-bridge unit is started.

Changed in lxd (Ubuntu):
status: New → Invalid
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.