Docker default bridge conflict with network address 172.17.0.0/16
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Jim Gauld |
Bug Description
Brief Description
If customer provisions a network with address 172.17.0.0/16 ( or similar network ) and it gateway address is 172.17.0.1, this IP address causes conflict with docker0 bridge.
controller-0:~$ ifconfig docker0
docker0: flags=4099<
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:
ether 02:42:14:25:07:3b txqueuelen 0 (Ethernet)
RX packets 499 bytes 40292 (39.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 502 bytes 47544 (46.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
controller-0:~$
As a result, packets from customer's GW will be lost, and it cease communication error between GW and applications application pods.
Severity
--------
Critical. Applications not usable due to the defect.
Steps to Reproduce
------------------
Write down the steps to reproduce the issue
1: Launch pod on any of controllers.
2: ping to 172.17.0.1
-> Then ping will be respose.
3: Packet capture on OAM.
-> no packet is captured which dest IP address is 172.17.0.1
Expected Behavior
------------------
ping to 172.17.0.1 then OAM interface can capture packet which dest address is 172.17.0.1.
Actual Behavior
----------------
docker0 response to 172.17.0.1 because this is default IP address set by docker.
Reproducibility
---------------
100% with this specific Network address.
System Configuration
-------
Any configuration. IPv4
Branch/Pull Time/Commit
-------
Day one issue.
Last Pass
---------
First time this specific network addressed being used.
Timestamp/Logs
--------------
-
Test Activity
-------------
Installation on commercial network.
Workaround
----------
On each node with docker.service active:
Manually modify: /etc/docker/
e.g,
{
"bridge": "none",
"insecure-
}
NOTE: this file is configured via puppet template:
stx-puppet/
Restart docker.service
sudo pmon-restart dockerd
Verify the "bridge" network no longer exists.
sudo docker network ls
Changed in starlingx: | |
assignee: | nobody → Jim Gauld (jgauld) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.8.0 stx.containers |
Fix proposed to branch: master /review. opendev. org/c/starlingx /stx-puppet/ +/864923
Review: https:/