Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be unavailable on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1411441 - Docker container Jenkins is not reachable from host. Network device that does not support carrier detection is created on container start.
Summary: Docker container Jenkins is not reachable from host. Network device that does...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: docker
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-09 17:50 UTC by uros
Modified: 2017-01-23 08:40 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-23 08:40:03 UTC
Type: Bug


Attachments (Terms of Use)

Description uros 2017-01-09 17:50:35 UTC
Description of problem:
Vhen starting 

Version-Release number of selected component (if applicable):
[root@localhost ~]# dnf info docker
Last metadata expiration check: 2:21:55 ago on Mon Jan  9 15:57:18 2017.
Installed Packages
Name        : docker
Arch        : x86_64
Epoch       : 2
Version     : 1.12.5
Release     : 4.git03508cc.fc25

[root@localhost ~]# uname -a
Linux localhost.localdomain 4.8.15-300.fc25.x86_64 #1 SMP Thu Dec 15 23:10:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:
every time

Steps to Reproduce:
1. 
Install into VMware:
* Fedora 25 server
* docker
* cockpit

2.
load docker image 'docker.io/jenkins:latest' from cockpit
Id: 	sha256:e11ceb27c34e3cb01f0ebb0b7e957cebbe03782242917b6fc582961feea21bfb


3.
run image (default)

Actual results:
Jenkins service is not accessible from the host on the port 49001 to which the jenkins 8080 port is mapped.

Expected results:


Additional info:
Observations in Cockpit:
1.
When container is started a new interface is created (vethe01cc9c) and shown in cockpit under Unmanaged interfaces.
2.
Under Interfaces the bridge0 interface has 'No carrier'

### ip table ###
[root@localhost ~]# ifconfig
bridge0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 0e:d2:63:25:55:30  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 0.0.0.0
        inet6 fe80::42:cfff:fe7d:e116  prefixlen 64  scopeid 0x20<link>
        ether 02:42:cf:7d:e1:16  txqueuelen 0  (Ethernet)
        RX packets 1143  bytes 60443 (59.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1105  bytes 11594582 (11.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.79.132  netmask 255.255.255.0  broadcast 192.168.79.255
        inet6 fe80::4a0f:e376:e94e:3d01  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:da:ee:c5  txqueuelen 1000  (Ethernet)
        RX packets 523651  bytes 670495909 (639.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 275526  bytes 62006152 (59.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 1640  bytes 2359303 (2.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1640  bytes 2359303 (2.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vethe01cc9c: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::983f:8eff:fe71:f39a  prefixlen 64  scopeid 0x20<link>
        ether 9a:3f:8e:71:f3:9a  txqueuelen 0  (Ethernet)
        RX packets 123  bytes 8096 (7.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 126  bytes 1202899 (1.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

### Networking logs after reboot ###
18:40
<info> [1483983623.1064] manager: startup complete NetworkManager
18:40
WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w2 -t filter -C FORWARD -o docker0 -j DOCKER' failed: firewalld
18:40
WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w2 -t filter -C FORWARD -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT' failed: firewalld
18:40
WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w2 -t filter -C FORWARD -i docker0 ! -o docker0 -j ACCEPT' failed: firewalld
18:40
WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w2 -t filter -C FORWARD -i docker0 -o docker0 -j ACCEPT' failed: firewalld
18:40
WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w2 -D FORWARD -i docker0 -o docker0 -j DROP' failed: firewalld
18:40
WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w2 -t nat -C DOCKER -i docker0 -j RETURN' failed: firewalld
18:40
WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w2 -t nat -C POSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE' failed: firewalld
18:40
<info> [1483983618.7850] device (docker0): Activation: successful, device activated. NetworkManager
18:40
<info> [1483983618.7704] device (docker0): state change: secondaries -> activated (reason 'none') [90 100 0] NetworkManager


### Networking logs after container start ###
18:13
<info> [1483982002.8236] device (docker0): link connected NetworkManager
18:13
<info> [1483982002.8233] device (vethe01cc9c): link connected NetworkManager
18:13
<info> [1483982002.8149] device (veth4dddbef): driver 'veth' does not support carrier detection. NetworkManager
18:13
<info> [1483982002.5895] manager: (vethe01cc9c): new Veth device (/org/freedesktop/NetworkManager/Devices/26) NetworkManager
18:13
<info> [1483982002.5879] manager: (veth4dddbef): new Veth device (/org/freedesktop/NetworkManager/Devices/25) NetworkManager
18:13
<info> [1483982002.5524] device (veth8474f9c): driver 'veth' does not support carrier detection. NetworkManager
18:13
<info> [1483982002.5438] device (veth3e09e94): driver 'veth' does not support carrier detection. NetworkManager
18:13
<info> [1483982002.5018] manager: (veth3e09e94): new Veth device (/org/freedesktop/NetworkManager/Devices/24) NetworkManager
18:01
bound to 192.168.79.132 -- renewal in 879 seconds.
18:01
<info> [1483981293.0375] dhcp4 (ens33): state changed bound -> bound

Comment 1 uros 2017-01-23 08:40:03 UTC
configuration failure


Note You need to log in before you can comment on or make changes to this bug.