DescriptionYurii Prokulevych
2017-03-08 15:22:11 UTC
Description of problem:
-----------------------
Docker installed on undercloud uses default(?) IP address range 172.17.0.0/16.
systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2017-03-08 04:00:02 EST; 5h 59min ago
Docs: http://docs.docker.com
Main PID: 15767 (dockerd-current)
CGroup: /system.slice/docker.service
├─15767 /usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --authorization-plugin=rhel-push-plugin --exec-opt native.cgroupdriv...
└─15775 /usr/bin/docker-containerd-current -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --shim docker-containerd-shim --metrics-interval=0 --start-timeout 2m --state-dir /var/run/...
Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.181039234-05:00" level=info msg="[graphdriver] using prior storage driver \"devicemapper\""
Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.182710112-05:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.183626954-05:00" level=info msg="Loading containers: start."
Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.197319629-05:00" level=info msg="Firewalld running: false"
Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.319463913-05:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. ... IP address"
Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.355351163-05:00" level=info msg="Loading containers: done."
Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.355471987-05:00" level=info msg="Daemon has completed initialization"
Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.355487205-05:00" level=info msg="Docker daemon" commit="96d83a5/1.12.6" graphdriver=devicemapper version=1.12.6
Mar 08 04:00:02 undercloud-0.redhat.local systemd[1]: Started Docker Application Container Engine.
Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.361225200-05:00" level=info msg="API listen on /var/run/docker.sock"
This might collide with IP ranges when deploying OC with network isolation.
It would be great to have a way to specify IP range to use within docker during undercloud installation.
Comment 1Red Hat Bugzilla Rules Engine
2017-03-08 15:22:16 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.
Comment 2Alexander Chuzhoy
2017-06-23 15:14:08 UTC
systemctl status docker in OSP12/rhel7.4 didn't list the assigned IP.
sudo ip address show docker0
Maybe this can be closed as a duplicate of bug #1503021 where I implemented the feature to workaround the IP address conflict.
Comment 6Yurii Prokulevych
2017-10-25 07:49:07 UTC
BZ #1503021 is about configuring docker on overcloud. And this one was for undercloud.
If you say that one of them duplicates another - feel free to close one.
Thanks!
Description of problem: ----------------------- Docker installed on undercloud uses default(?) IP address range 172.17.0.0/16. systemctl status docker ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2017-03-08 04:00:02 EST; 5h 59min ago Docs: http://docs.docker.com Main PID: 15767 (dockerd-current) CGroup: /system.slice/docker.service ├─15767 /usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --authorization-plugin=rhel-push-plugin --exec-opt native.cgroupdriv... └─15775 /usr/bin/docker-containerd-current -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --shim docker-containerd-shim --metrics-interval=0 --start-timeout 2m --state-dir /var/run/... Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.181039234-05:00" level=info msg="[graphdriver] using prior storage driver \"devicemapper\"" Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.182710112-05:00" level=info msg="Graph migration to content-addressability took 0.00 seconds" Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.183626954-05:00" level=info msg="Loading containers: start." Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.197319629-05:00" level=info msg="Firewalld running: false" Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.319463913-05:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. ... IP address" Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.355351163-05:00" level=info msg="Loading containers: done." Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.355471987-05:00" level=info msg="Daemon has completed initialization" Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.355487205-05:00" level=info msg="Docker daemon" commit="96d83a5/1.12.6" graphdriver=devicemapper version=1.12.6 Mar 08 04:00:02 undercloud-0.redhat.local systemd[1]: Started Docker Application Container Engine. Mar 08 04:00:02 undercloud-0.redhat.local dockerd-current[15767]: time="2017-03-08T04:00:02.361225200-05:00" level=info msg="API listen on /var/run/docker.sock" This might collide with IP ranges when deploying OC with network isolation. It would be great to have a way to specify IP range to use within docker during undercloud installation.