Docker misconfigured when using non-default overlay/underlay netmask size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-fan (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Xenial |
Fix Released
|
Medium
|
Andy Whitcroft |
Bug Description
Fan allows for variable sized subnet map sizes. For example, if I want to map a /24 to a /16 instead of the default /16 to /8, Fan supports this. However, when configuring this via fanatic, I see that docker configuration fails. In /etc/default/
$ sudo fanatic
Welcome to the fanatic fan networking wizard. This will help you set
up an example fan network and optionally configure docker and/or LXD touse this network. See fanatic(1) for more details.
Configure fan underlay (hit return to accept, or specify alternative) [192.168.0.0/16]: 192.168.1.0/24
Configure fan overlay (hit return to accept, or specify alternative) [250.0.0.0/8]: 250.99.0.0/16
Create LXD networking for underlay:
Profile fan-250-99 created
Create docker networking for underlay:
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
Test LXD networking for underlay:
(NOTE: potentially triggers large image downloads) [Yn]: n
Test docker networking for underlay:
(NOTE: potentially triggers large image downloads) [Yn]: n
This host IP address: 192.168.1.10
Remote test host IP address (none to skip):
/usr/sbin/fanatic: Testing skipped
$ grep "DOCKER_OPTS" /etc/default/docker
# Use DOCKER_OPTS to modify the daemon startup options.
#DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
DOCKER_OPTS=" -b fan-250-99 --mtu=1450 --iptables=false --fixed-
May 20 05:15:30 macbook docker[27364]: time="2016-
===
[Impact]
Non default network splits are not honoured correctly.
[Test Case]
Setup fan with non /8 /16 split, as per reporter.
[Regression Potential]
Low, as these currently do not work correctly.
Changed in ubuntu-fan (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in ubuntu-fan (Ubuntu): | |
assignee: | nobody → Andy Whitcroft (apw) |
Changed in ubuntu-fan (Ubuntu Xenial): | |
assignee: | nobody → Andy Whitcroft (apw) |
description: | updated |
The attachment "fanatic patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]