group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #06149
[Bug 1584092] Re: Docker misconfigured when using non-default overlay/underlay netmask size
This bug was fixed in the package ubuntu-fan - 0.9.1
---------------
ubuntu-fan (0.9.1) xenial; urgency=medium
[ Andy Whitcroft ]
* fanatic: fix legacy command line form syntax error (LP: #1584150)
* fanctl/fanatic: add help commands/options with initial pointers
(LP: #1535054)
[ Jay Vosburgh ]
* fanatic: fix underlay with calculation (LP: #1584092)
[ Andy Whitcroft ]
* fanctl/fanatic: remove invalid web reference from manual pages.
(LP: #1582956)
* fanatic: detect user specified underlay address without overlay
(LP: #1584692)
* fanatic: switch from lxd-images to using cached lxc images. (LP: #1584775)
* fanatic: test-host -- use the selected underlay width to calculate the remote addresses
(LP: #1584878)
* fanctl: fix net start/stop exit codes. (LP: #1551747)
* fanatic: install ping and nc when needed (LP: #1586176)
* fanatic: switch docker testing to lts images (LP: #1586169)
-- Andy Whitcroft <apw@xxxxxxxxxx> Mon, 04 Jul 2016 14:35:39 +0100
** Changed in: ubuntu-fan (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1584092
Title:
Docker misconfigured when using non-default overlay/underlay netmask
size
Status in ubuntu-fan package in Ubuntu:
Fix Released
Status in ubuntu-fan source package in Xenial:
Fix Released
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/docker, the --fixed-cidr
flag is defined incorrectly.
$ 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:192.168.1.0/24 overlay:250.99.0.0/16 [Yn]: Y
Profile fan-250-99 created
Create docker networking for underlay:192.168.1.0/24 overlay:250.99.0.0/16 [Yn]: Y
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:192.168.1.10/24 overlay:250.99.0.0/16
(NOTE: potentially triggers large image downloads) [Yn]: n
Test docker networking for underlay:192.168.1.10/24 overlay:250.99.0.0/16
(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-cidr=250.99.10.0/40"
May 20 05:15:30 macbook docker[27364]:
time="2016-05-20T05:15:30.411933688-07:00" level=fatal msg="Error
starting daemon: Error initializing network controller: invalid CIDR
address: 250.99.10.0/40"
===
[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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-fan/+bug/1584092/+subscriptions