forked from rancher/os
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
When configuring two or more network interfaces to use DHCP, the setup becomes very unstable:
rancher:
network:
interfaces:
eth0:
dhcp: true
eth1:
dhcp: trueLooking at the logs from sudo system-docker logs network, this appears to be caused by conflicts when multiple dhcpcd processes start simultaneously(by goroutine):
[ ] netconf:info: Apply Network Config
[ ] netconf:info: Running DHCP on eth1: dhcpcd -MA4 --timeout 10 -w --debug eth1
[ ] netconf:info: Running DHCP on eth0: dhcpcd -MA4 --timeout 10 -w --debug eth0
main: pidfile_lock: /var/run/dhcpcd/pid: Operation canceled
dhcpcd-10.0.1 starting
[ ] netconf:error: Failed to run dhcpcd for eth1: exit status 1
spawned manager process on PID 526This issue appears to be related to rancher#2986.
Metadata
Metadata
Assignees
Labels
No labels